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

Dynamically Showing and Hiding Siebel Configurator Controls


To dynamically show and hide Siebel Configurator controls, perform the following high-level steps:

  1. On the root product create a UI property with the name CfgUIStateModel and with the value Y.
  2. On the root product, create a UI property with some given name, such as MyExpression, and with a value that is an expression that evaluates as Y or N. Define this expression using the CfgEval() function. For more information, see About Using CfgEval().
  3. On UI controls for this product (such as relationships, groups, products, tabs, attributes, linked items or resources) create UI properties with the name DynamicHide plus the name you gave to the expression. For example, the name might be DynamicHide MyExpression. These controls are hidden when the expression evaluates to Y and shown when the expression evaluates to N.

NOTE:  Dynamic show and hide is not supported for inline attributes.

To dynamically show and hide Siebel Configurator controls

  1. On the root product, create a UI property with the name CfgUIStateModel and with the value Y:
    1. Navigate to the Administration - Product screen, Product Definitions view.
    2. Lock the Product you want to change.
    3. Drill down on the Work Space version of the Product you want to change.
    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 root product, create a UI property with some given name, such as MyExpression, and with a value that is an expression that evaluates as Y or N:
    • In the Properties list, add a new record and complete the necessary fields, as described in the following table.
      Field
      Description

      Name

      Enter a name for the expression, such as MyExpression.

      Value

      Enter some expression that evaluates to Y or N, using the CfgEval() function to reference session values or procedural conditional variables.

  3. On UI controls for this product (such as relationships, groups, products, tabs, attributes, linked items or resources) create UI properties with the name DynamicHide plus the name you gave to the expression in Step 2, and with a value that is Y or N.
    1. Select the relationship, group, product, tab, attribute, linked item or resource.
    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 plus the name you gave to the expression.

      For example, you might enter DynamicHide MyExpression.

      Value

      Enter Y or N.

      The control is hidden when the value of the expression matches the value you gave to this property (Y or N).

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