|Bookshelf Home | Contents | Index | PDF|
Siebel eScript scripts are generally supported only for the Object Manager layer, not for the browser layer. For Siebel Web Client, the Object Manager is on the Siebel Server (Application Object Manager, such as SCCObjMgr_enu for Siebel Call Center in an ENU environment).
However, Siebel eScript scripts defined on the browser layer can be supported indirectly by using both server scripts and the @InvokeSWECommand special command. See the example below for creating a communications command, a command for the Siebel Web Engine (SWE), and related server and browser scripts.
For more information about the @InvokeSWECommand special command, see Special Commands for Device Commands.
In Siebel Tools, create a command named AlertTest with the properties shown in Table 55. This SWE command is executed by the communications command shown above, and in turn invokes the CTI_Test.Alert business service method.
Define the following server script in the CTI_Test business service. The PreCanInvokeMethod server script in the CTI_Test business service allows the SWE command to be enabled that in turn will invoke the browser-layer scripting business service method Alert:
function Service_PreInvokeMethod (methodName, inputPropSet, outputPropSet)
In the previous steps, you have successfully created a new communications command named Alert. This command can be executed, for example, from the Communications submenu of the Tools menu, or from a keyboard shortcut. Another option is to further integrate this command with a server script, as illustrated in the following server script example:
|Siebel Communications Server Administration Guide|