Bookshelf Home | Contents | Index | Search | PDF |
Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > Other Preprogrammed SmartScript Methods >
GetParameter
GetParameter retrieves a value that has been assigned to a specified user parameter, a CTI switch parameter or a system parameter.
Syntax
GetParameter(ParameterName)
Returns
The value of the specified parameter, as a string.
Usage
GetParameter can be used to retrieve a value assigned to a user parameter. The parameter name in this case must be prefixed with User. Usually a value is stored by using the SetUserParameter function.
GetParameter can be used to retrieve the current setting of a Siebel CTI switch parameter. The parameter name in this case must be prefixed with CTI. CTI switch parameters are set when SmartScript is invoked through Siebel Communications Server. For more information, see Siebel Communications Server Administration Guide.
This parameter can be used to retrieve the value of a system parameter. Table 10 lists the system parameters.
Siebel VB Example
Dim ContactId as String
ContactId = GetParameter("ContactId")
SetUserParameter "ContactId", ContactIdGetParameter("CTI.ANI")
See Also
Bookshelf Home | Contents | Index | Search | PDF |
Siebel SmartScript Administration Guide Published: 23 June 2003 |