Using Siebel Tools > Siebel Script Editors >

The Siebel Script Editors


The Siebel Script Editor is a window-based editor designed to create and maintain Siebel VB, Siebel eScript, and Browser Script programs. Scripting is used to implement functionality that cannot be achieved declaratively (that is, by changing object properties in the Siebel repository). The Server Script Editor and the Browser Script Editor are used to add scripts to Siebel objects. The Server Script Editor allows you to create and modify Siebel eScripts and Siebel VB. The Browser Script Editor allows you to write and edit Browser Scripts that run within the client. For more detailed information, including a list of scriptable events and callable methods on browser objects, see Siebel Object Interfaces Reference.

NOTE:  There are two versions of the eScript scripting engine available to you. The T eScript engine is the traditional, previously available engine. The ST eScript engine, made available with Oracle's Siebel Business Applications, Release 7.8, provides enhancements, including strong typing of variables and the Script Assist utility. Except for a few key differences, the ST eScript engine is backward-compatible with eScript created with the T eScript engine. In this document, the engines are referred to by name only in contexts requiring differentiation.

For a list of enhancements contained in the ST eScript engine, and well as instructions on how to enable the ST eScript engine, see About the ST eScript Engine.

When creating Siebel custom programs, note the following:

  • Check out or lock the project containing the object definitions being modified. If the project is not locked, you will not be able to add any text in the Editor window.
  • Choose Debug > Check Syntax to verify the syntax of your VB or eScript program. The Siebel Compiler reports any syntax errors and indicates the lines where they occur.
  • Choose File > Save when you have finished entering and editing the custom statements to save your work. Closing the Siebel Script Editor without saving your work discards the changes.
  • Before you run the application, you must compile the projects that you have modified and generate a new SRF file. For information on the Object Compiler, read Siebel Developer's Reference.
  • Run the application with the new application extensions by choosing Debug > Start or clicking the Start button in the Debug toolbar. The Siebel application executes with the new modifications incorporated.
  • You may inadvertently create programming errors that, when encountered, halt the execution of the extension routine. If you started Siebel applications in debug mode (/H option on the command start-up line), a message box opens indicating the nature of the error. You can then return to the Script Editor and choose Debug > Check Syntax. For further details, read Checking Syntax.
  • When a script error is encountered by an end user, or when the Siebel application is not running in Debug mode, the application displays an appropriate error message and returns control back to the point in the standard Siebel code just prior to the error.
Using Siebel Tools