Siebel Product Administration Guide > Siebel Configurator UI Properties > Creating Dynamic Siebel Configurator User Interface Controls >

Example of Dynamically Showing and Hiding Siebel Configurator Controls


This topic gives one example of dynamic show and hide. You might use this feature differently, depending on your business model.

This topic shows how to create the example described earlier. A business sells tee-shirts that can be personalized with the name and business name of the purchaser or that can be bought without personalization. The root product is a tee-shirt with attributes including the following: Personalize and Name. If the user selects the Personalize checkbox (which sets the Personalize attribute to Y), then an additional Siebel Configurator tab is displayed that allows the user to enter the customer's name and the business name.

This example assumes that you have defined the product and have defined the Siebel Configurator UI, including the tab used for personalization. The requirement is that you use the dynamic show and hide feature to hide the Name attribute when the Personalize checkbox is not selected (so the Personalize attribute is N).

To dynamically show and hide a Siebel Configurator control

  1. On the Tee-Shirt product create the CfgUIStateModel UI property:
    1. Navigate to the Administration - Product screen, Product Definitions view.
    2. Lock the Tee-Shirt product.
    3. Drill down on the Work Space version of the Tee-Shirt Product.
    4. Click the Properties view tab.
    5. In the Properties list, add a new record and complete the necessary fields, as described in the following table.
      Field
      Description

      Name

      Enter CfgUIStateModel.

      Value

      Enter Y.

  2. On the Tee-Shirt product, create the second UI property:
    • In the Properties list, add a new record and complete the necessary fields, as described in the following table.
      Field
      Description

      Name

      Enter Expr1.

      Value

      Enter CfgEval($.[Teeshirt]#1.xa[Personalize].xf[Value])='No'

  3. On the Name attribute of the product, create the UI property:
    1. Select the Name attribute.
    2. Click the Properties tab.
    3. In the Properties list, add a new record and complete the necessary fields, as described in the following table.
      Field
      Description

      Name

      Enter DynamicHide Expr1

      Value

      Enter Y

  4. Release the root product.
Siebel Product Administration Guide Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices.