Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > SmartScript Methods >

SetUserParameter


SetUserParameter assigns a value to a specified user parameter.

Syntax

SetUserParameter ParameterName, value

Argument
Description

ParameterName

The name of a user parameter as a string

value

The value to be assigned to ParameterName as a string

Returns

Not applicable

Usage

Use SetUserParameter to assign the value returned by GetParameter to a user parameter. SetUserParameter is declared as a string.

Siebel VB Example

If ContactExists then

SetUserParameter "ContactExists", "Y"

else

SetUserParameter "ContactExists", "N"

ContactBC.NewRecord NewBefore

end if

See Also

GetParameter.

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