Siebel Advisor Administration Guide > Advanced Modeling for Advisor > Dynamic Defaults in Advisor Applications >

Example of Dynamic Defaults in Advisor Applications

In this example, a needs analysis page is used to recommend a particular computer, including the model, processor, and memory.

The following procedure requires a bit more definition.

To create the dynamic defaults example

  1. Add a drop-down list UI control to the needs analysis page.
  2. For more information, see Creating Input UI Controls with Advisor.
  3. Create a Feature table to populate the drop-down list with the values:
  4. In a Configuration table that references the Feature table you created in Step 3, add an output column named REC_PROD to store the pageset ID of the recommended product.
  5. In the same Configuration table, add an output column named DYNDEFS to store the defaults to change on the linked-to display page.
  6. Fill the REC_PROD and DYNDEFS columns as shown in the following table.

    The REC_PROD column stores the pageset IDs of the recommended products.

    The DYNDEFS column includes references to the Feature table names used by the UI controls and the new CODE value to serve as the default value. The equal sign (=) separates Feature table names and CODE values. A comma (,) separates multiple dynamic defaults.

    For example, for the laptops pageset ID, the first value under DYNDEFS references the MODEL Feature table in the next pageset that is going to be displayed, and sets the new default value to XR50.










  7. Create a Link Output target on the display page of the Needs Analysis pageset that links to the recommended Inputs page.

    The Output UI tab does not generate the DYNDEFS variable. For this reason, you need to edit the code in the Pageset_2.htm file to add it. Use the syntax:

    Click here to further configure your computer.

    This overrides the default settings for the pageset being loaded by referencing the DYNDEFS column.

    For more information on using the BuildTarget function to create Link Output targets, see the Pageset Functions chapter in Siebel Interactive Designer API Reference.

The Result of the Example

If the user's selections match the recommended solution described in the Configuration table, a link appears to further configure the computer. When a shopper clicks the link, a display page for the pageset recommended in the REC_PROD column appears. Also, the MODEL UI control is set to the CODE value indicated in the DYNDEFS column. For example, the default MODEL description is XR50, but if the user is recommended the XR80, the UI control displays XR80.

Siebel Advisor Administration Guide