Configuring Siebel eBusiness Applications > Overview of Configuring Siebel Applications > About Scripting and Object Interfaces >

Server-Side Scripting


You can use Siebel VB and Siebel eScript to write event procedures, known as scripts, which are attached to object definitions of specific object types. (These object types include Application, Business Component, Business Service, and Web Applet.) For example, these custom event procedures can be used to attach additional validation logic to a business component.

The Script Editor, Debugger, and Compiler are used to create and test Siebel VB, eScript scripts, or browser scripts to extend and further configure Siebel applications. This capability is integrated with the Siebel Web Applet Editor, so you can attach scripts to user interface element controls like fields and ActiveX controls.

  • Siebel VB. Siebel VB is a language provided in Siebel Tools that is similar to Microsoft Visual Basic. You can write event procedures to attach to certain object types. For example, these custom event procedures can be used to attach additional validation logic to a business component.

    NOTE:  Siebel VB is available on Windows platforms only.

  • Siebel eScript. Siebel eScript is a JavaScript-compatible language provided in Siebel Tools that is used to write event procedures. Siebel eScript supports scripting in Windows as well as non-Windows environments such as UNIX.
  • Simultaneous Use of eScript and VB Script. You can write scripts that respond to various client-side events using Siebel VB and Siebel eScript simultaneously in the same environment. VB and eScript can be used concurrently (but not within the same object). It is recommended that you use eScript alone because it works on UNIX as well as Windows servers. When you initially add script to an object, you are prompted to choose the scripting type.

    Siebel VB and Siebel eScript can be used to program the following kinds of enhancements:

    • Data validation routines. These routines enforce specific business rules before or after performing record manipulation operations. Validation routines are performed before the user performs an update or an insert. The intent is to make sure that illogical or incomplete data is not entered into the database.
    • Data manipulation and computational routines. These routines can be used to modify or analyze data.
    • Data transport routines. These routines import and export small volumes of data between Siebel applications and other applications.
    • Application launching routines. These routines launch external applications on the server side in response to Siebel events, and pass start-up parameters. Valid for browser scripting only.

The Siebel VB and Siebel eScript development environments provide you with a programming platform to:

  • Integrate Siebel applications with third-party cooperative applications
  • Extend the base functionality of the Siebel application screens and business components

For more information about Siebel eScript and Siebel VB, see Siebel eScript Language Reference and Siebel VB Language Reference.

NOTE:  Scripts already written for prior releases of Siebel eBusiness Applications can be redeployed in the Siebel Web Client. However, some modifications may be required. For more information, see the Upgrade Guide for the operating system you are using.

Configuring Siebel eBusiness Applications