Siebel Product Administration Guide > Siebel Configurator Scripts >

Creating Siebel Configurator Event Scripts


Event scripts run when defined events are called during a configuration session. You create an event script by selecting an event method and writing the script within it.

Event scripts can call methods and objects defined in the Siebel API. They can also call methods assigned to the declarations area.

To create an event script

  1. Navigate to the Administration - Product screen.
  2. Select and lock the desired product or product class.
  3. Navigate to the Scripts view for the Work Space version.
  4. In the Scripts list, add a new record and complete the necessary fields, described in the following table.
    Field
    Comments

    Name

    Select the desired event.

    If this is not the first script for this event, overwrite the event name with a script name. All scripts for a customizable product must have a unique script name.

    Program Language

    If this is the first script you are creating for this product, select Visual Basic or eScript.

    If this is not the first script, and select the same programming language used for previous scripts.

    Root Product

    Select the current customizable product.

  5. Enter the script in the area in the Script Definition form.

    The Script Definition form is located below the Scripts list.

  6. When you have finished entering the script, click Check Syntax.

    If there are errors, they will display at the top of the Customizable Product Scripts form. Correct any errors before saving the script.

  7. In the Script Definition form, click Save.
Siebel Product Administration Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.