|Bookshelf Home | Contents | Index | PDF|
The example NewMakeCall script, whether Siebel VB or Siebel eScript, can be invoked when the user clicks the Make Call button in the communications toolbar. To specify this behavior, you attach the script to a particular command you define in the Administration - Communications screen.
You specify the script name (NewMakeCall in this example) as the value for the parameter called Script in the command entry. Then you define parameters for the script in the associated command data entry, using the form ScriptParam followed by a period (.) and the parameter name (PhoneNumber in this example).
In this example, when an agent clicks the Make Call button in the communications toolbar, the command MakeCalltoPhone is executed, which in turn invokes the script NewMakeCall. A value is passed to the script for its PhoneNumber parameter, based on the value yielded by macro expansion. Each script parameter is passed to the script as a key/value pair.
The example script displays a message box indicating that a script is being invoked and that a call is being initiated to a particular number; it then dials the number in the edit field in the communications toolbar.
|Siebel Communications Server Administration Guide|