Siebel Product Administration Guide > Siebel Configurator API Reference > Instance APIs to Select the Siebel Configurator User Interface >

SelectCfgUIService Method


Syntax

SelectCfgUIService (inputArgs as Property Set, outputArgs as Property Set)

Input Arguments
  • CxVersion. The version of the product that you are validating or customizing. Empty means latest version.
  • ComplexProductId. The product id (in S_PROD_INT) for the product that you are validating or customizing.
Output Arguments
  • Cfg UI Option Id. Optional. If empty, Siebel Configurator will use the default templates.
  • High Interactivity. Required. The value is either Y or N.
Usage

For any method you call on the UI service, you can call SelectCfgUIService to determine which UI Service to load.

You must specify the name of your business service in the User Property of the UI Service (Cfg Web UI Service (JS) and Cfg Web UI Service) as follows:

Loader Service Name = <your business service name>

You must also modify all the related workflows (such as Validate and Customize) to first call this customized method in your business service.

Example

For example, you can use the LoadInstance method to call SelectCfgUIService as follows:

function LoadInstance (inputArgs, outputArgs)

{

var oUIService;

var oService = TheApplication().GetService("Cfg Web UI Service Loader");

var oOutputs = TheApplication().NewPropertySet();

oService.InvokeMethod("SelectCfgUIService", inputArgs, oOutputs);

var optionId = oOutputs.GetProperty ("Cfg UI Option Id");

var strSupportJS = oOutputs.GetProperty ("High Interactivity");

with(inputArgs)

{

SetProperty ("Cfg UI Option Id", optionId);

SetProperty ("High Interactivity", strSupportJS);

}

[if (strSupportJS == "Yes")]

{

oUIService = TheApplication().GetService ("Cfg Web UI Service (JS)");

}

else

{

oUIService = TheApplication().GetService ("Cfg Web UI Service");

}

oUIService.InvokeMethod("LoadInstance", inputArgs, outputArgs);

}

Siebel Product Administration Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.