Siebel Interactive Designer Administration Guide > Advanced Modeling > Creating Trigger and Target Feature Tables >

Trigger and Target Example


In this example, you will add Trigger and Target Feature tables that populate a drop-down list with appropriate year values, based on whether a user wants to purchase a new or used car.

At runtime, if the user selects New for Class of Car, they have one option in the Car Year drop-down list.

Click for full size image

If the user selects Used, they can choose from a list of year values.

Click for full size image

To create the Trigger and Target example:

Each of these steps is explained in the following section.

Creating the YEAR Target Table

Creating the YEAR target table requires three steps:

Each of these steps is explained in the following procedures.

To create the YEAR target table

  1. In the Pagesets screen, select the Feature Tables tab.
  2. Choose New Record from the applet menu.
  3. A new Feature Table window appears.

  4. Enter a name, without spaces, for the Feature table.
  5. From the Table Type drop-down list, select Target.
  6. Click Save.

To create the row types for the YEAR Target table

  1. In the Feature Tables tab, select the YEAR Target table.
  2. Select the Editor tab.
  3. In the Editor, click New.
  4. A new row appears in the editor.

  5. Click the Row Type picklist icon to open the Feature Table Rowset picklist.
  6. Click New.
  7. The New Rowset dialog appears.

  8. In the Name text box, enter YEAR_NEW.
  9. Click Save.
  10. Repeat this procedure and create a second new rowset named YEAR_USED.

To populate the YEAR target table

  1. In the Feature table editor, create a row with values for the YEAR_NEW rowset.
  2. In the Feature table editor, create a row with values for the YEAR_USED rowset.

Creating the CLASS Trigger Table

Use the following procedure to create the CLASS Trigger Table.

To create the CLASS Trigger Table

  1. In the Pagesets screen, select the Feature Tables tab.
  2. From the Feature Table applet menu, choose New Record.
  3. A new Feature Table window appears.

  4. In the Name text box, enter CLASS.
  5. From the Type drop-down list, select Trigger.

  6. Click Save.
  7. Select the Designer tab.
  8. From the applet menu, choose New Record.
  9. In the Column Name text box, enter YEAR.
  10. In the Designer tab, the Target Table button is enabled.

  11. Click the Target Table button to open the Target Table picklist.
  12. Select the YEAR target table and click OK.
  13. NOTE:  In the column tied to the Target table, you can only enter row types.

Creating UI Controls to Display the Trigger and Target Values

Use the following procedure to create UI controls to display the Trigger and Target values.

To tie the Trigger and Target Feature tables to UI controls

  1. In the Input UI tab, click New.
  2. Enter values in the new row.
  3. Click Save.
  4. Click New again.
  5. Enter the following values for the second row.
  6. Click Save.

 Siebel Interactive Designer Administration Guide 
 Published: 18 April 2003