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
- Navigate to Site Map > SmartScript Administration > Scripts.
- Click New, and in the Name field, enter a name for the script.
- Click in the Type field, and from the drop-down list, select the script type.
For example, scripts used in eService must be type Instructions or Troubleshooting.
- Click in the First Page field, and click the select button.
The Pick Page pop-up window appears.
- Use one of the following methods to select the first page to be displayed in the script:
- Select a page from the list and click OK.
- Click New to add a new first page, and an empty row will be added to the list.
- Select a Save Session setting for the script.
- Create translations for the script title, as described in Translating Pages.
- Set the other values for the script. See the following table for parameter descriptions.
The script will be automatically saved.
|
|
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. |
- Attach other pages to the script. See Adding Pages and Branches to Scripts for details.
|