Siebel SmartScript Administration Guide > Fundamentals of SmartScript Creation > Best Practices For SmartScript Construction >

Creating Scripts


Scripts are the highest-order elements that are used in SmartScript. They are assembled from pages containing questions. Questions, in turn, comprise question translations and answers. Branches between elements create the structure of the script, within which the elements are displayed. You can define scripts in the SmartScript Administration view.

To create a script definition

  1. Navigate to Site Map > SmartScript Administration > Scripts.
  2. Click New, and in the Name field, enter a name for the script.
  3. Click in the Type field, and from the drop-down list, select the script type.
  4. For example, scripts used in eService must be type Instructions or Troubleshooting.

  5. Click in the First Page field, and click the select button.
  6. The Pick Page pop-up window appears.

  7. Use one of the following methods to select the first page to be displayed in the script:
  8. Select a Save Session setting for the script.
  9. Create translations for the script title, as described in Translating Pages.
  10. Set the other values for the script. See the following table for parameter descriptions.
  11. The script will be automatically saved.

    Parameter
    Description
    Type
    Reference field for the application of the SmartScript. Type is used to limit the SmartScripts that display in particular applications, in particular list applets, or are available for searching.
    Jumping allowed
    Checking this option allows users of a SmartScript to move in a non-sequential way through the script using the Previous button or using the SmartScript explorer.
    BusComp
    SmartScripts that will be invoked from the Script button on the Account, Contact, or Opportunity screens should have this field set to one of those business components. When the Script button is selected, the SmartScript which has the BusComp value equal to the business component of the current view will invoke automatically.
    Description
    An explanation for how the SmartScript will be used or its purpose. Used for building indices for searching in SmartScripts.
    Estimated duration
    Reference field for how long a script is expected to take to complete.
    Duration In
    Units for the estimated duration.
    Organization
    Organization in whose members should have access to the script.
    OnCancel Gotoview
    View to go to when the Cancel button is selected.
    OnFinish Gotoview
    View to go to when the Finish button is selected.

  12. Attach other pages to the script. See Adding Pages and Branches to Scripts for details.

 Siebel SmartScript Administration Guide 
 Published: 23 June 2003