Example of Modifying the Display Name of Groups

You have a customizable product that has three groups: Group A, Group B, and Collection C. You want to change the name of Collection C to Group C in the selection pages.

Use the User Interface view to create the Web pages for configuring the customizable product. Validate the customizable product, and verify that the pages display correctly.

To create a new product theme template and assign it to the customizable product

  1. Navigate to the Administration - Product screen, then the Product Definitions view.

  2. In the Products list, select and lock the desired product.

  3. In the Structure menu, select User Interface.

  4. In Base Theme, click the magnifying icon.

    The Pick User Interface Style dialog opens.

  5. In the Pick User Interface Style dialog, locate the required product theme template.

    Make a note of this template name, it is required in Step 7.

  6. In Oracle Web Tools, create a new workspace.

  7. Open the Web Templates view, and query for the product theme template name from Step 5.

  8. Copy this template, and rename it.

  9. From the Type menu, assign the required template type to your Web template.

  10. Click the new Web template and make the following modifications:

    • Locate the od-type="control" element. Set CfgFieldName=".NewProductName". The first character in the variable name must be a period (.). The variable name must be surrounded by quotes. Save the file.

    • In the customizable product Work Space record, click the select button in the Base Theme field and open the dialog box.

    • Click Add and add the new template. Then, select it as the product theme template.

  11. Deliver the workspace.

To define a UI property for each of the groups

  1. Click the Properties view tab and select Collection C in the Group section.

  2. Define a UI property for it as follows:

    • Name. NewGroupName. Do not put a period before the name. This is the variable name you inserted in the template file.

    • Value. Group C.

  3. Select Group A.

  4. Define the UI property for it as follows:

    • Name. NewGroupName. Do not put a period before the name.

    • Value. Group A.

  5. Select Group B.

  6. Define the UI property for it as follows:

    • Name. NewGroupName. Do not put a period before the name.

    • Value. Group B.

  7. Open the Item Display Properties menu and click Validate.

    This starts a configuration session. Verify that the group names display correctly.