Using Siebel Tools > Siebel Script Editors >

Using Script Assist


Script Assist, a component of the ST eScript Engine, aids in the development of scripts by introspecting object definitions and making that information available to the user.

Script Assist provides the following functionality:

  • Method Listing. All methods and properties available for a particular object are listed in the Method List window. To display the Method List window, see Accessing the Script Assist Window.
  • Auto Complete. After typing a minimum number of unique characters within the Method List window, for instance, "Bus" for "BusComp", Siebel Tools automatically completes the word if a match is found.
  • Auto-Indent. With the Indent property set to Auto, which is the default setting, Siebel Tools maintains a running indent. When you press the Return or Enter key, spaces and tabs are inserted to line up the insert point under the start of the previous line.
  • Tool Tips. Within the Script Assist windows, tool tips allow you to see the arguments descriptions of methods chosen by a developer. They are particularly helpful as you do not need to cross reference a customer function and its required arguments, or the Siebel Bookshelf for included methods.
  • Application Object scripts included for parsing. Scripts written on the Application object can be included for parsing by Script Assist. If in the Application drop-down you select the application to which this child script (business component, applet, business service) belongs, the scripts written on that application object will be available in the Script Assist window.
  • Custom scripts written in the general section. Scripts written in the general section of the script explorer window are available in the Script Assist window. For example, if you were to write a helper function called Helper() in the general section of a current script, invoking Script Assist will cause Helper() to be included and available in the pop-up window.

Figure 21 displays the Script Assist window which provides a list of methods and properties associated with a selected object. To access the Script Assist window, see Accessing the Script Assist Window. For a description of icons in the Script Assist window, see Table 37.

Figure 21. Script Assist Window
Click for full size image

Table 37 lists the icons in the Script Assist.

Table 37. Script Assist Buttons
Button
Description
  • Lock icon denotes a read-only property.
  • Blue square denotes a property.

Denotes a method.

Accessing the Script Assist Window

To access the Script Assist window

  1. In Script Editor Explorer window, select the desired object.
  2. Type CONTROL + SPACE.

    The Method List, shown in Figure 22, appears displaying a list of all methods and properties available for the selected object.

    Figure 22. Method List
    Click for full size image
Using Siebel Tools