Bookshelf Home | Contents | Index | PDF |
Siebel SmartScript Administration Guide > Verifying, Testing, and Invoking SmartScripts > Invoking Scripts Through Siebel VB or Siebel eScript > RunSmartScriptThis function invokes a SmartScript programmatically. SyntaxRunSmartScript callScriptName, pathId, language, currency, viewName
ReturnsUsageFor consistency, the arguments to RunSmartScript are identical to those of RunCallScript, except for the additional viewName parameter. This parameter allows a view other than the default agent's SmartScript view to be accessed. This is useful if an alternative view is configured for a specific purpose. The view specified must contain an instance of the SmartScript Player Applet to present the SmartScript interface to the agent. ExamplesSiebel VB and eScript ExampleInvokeMethod "RunSmartScript", "Pentium II Script", "", "ENU", "USD Siebel Applet Button ExampleSub ButtonScript_Click OLE ExampleDim errCode as Integer |
Siebel SmartScript Administration Guide |