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

Methods Used with Scripts


The SmartScript object type represents the entire state of the SmartScript or SmartScript being executed. Only one script can execute at any one time.

To access the VB or eScript scripting area

  1. Navigate to Site Map > SmartScript Administration > Scripts.
  2. Click the Programs view tab.

    The scripting area appears.

To add script VB or eScript to a standard script event

  1. Navigate to Site Map > SmartScript Administration.
  2. Select the script and then click the Programs view tab.
  3. Click in the Name field and select the event from the drop-down list.
  4. Click in the Program Language field and chose the program language, then choose Save Record from the Programs menu.
  5. In the Scripts applet below, enter your required code, then select Save Record from the Scripts menu.

NOTE:  Each script has the option of using Siebel VB or Siebel eScript (JS). However, every script method for a given script has to use the same language.

To add a new event

  1. Navigate to Site Map > SmartScript Administration.
  2. Select the script, then click the Programs view tab.
  3. Click New, then click in the Name field and select the type of event from the drop-down list.
  4. Click in the Program Language field and chose the program language, then choose Save Record from the Programs menu.
  5. In the Scripts applet below, enter your required code, then select Save Record from the Scripts menu.
Siebel SmartScript Administration Guide