Product Administration Guide > Customizable Product Web Templates >

Modifying the Display Name of Items


This section explains how to modify the display name of an item, such as an attribute, relationship, linked item, or resource. A common reason for doing this is that you want the item name that the customer sees to be different than the name you have in the product table for a specific version of the customizable product.

For example, a computer component is called 256 MB disk drive in the product table. However, in an upcoming offering, you want to call this item the Standard 256 MB Disk. Rather than change the item name in the product table, you can change it using the User Interface Property Designer. This change is specific to the customizable product and is stored with it when you release the product. You can use the User Interface Property Designer to change item names with each release of a customizable product, without having to change the item name in the product table.

To change the display name of an item, you insert a variable in the UI control Web template that governs display of the item. This variable tells the Web Engine to get the item name from a defined UI property.

Here is the process for changing the display name of a relationship item in the form:

  1. Create a new UI control template. You do this by saving a copy of the UI control template you selected in the Product UI Designer. Then you insert a variable name in the new template.
  2. Assign the new template to the item.
  3. Define a UI Property for the item.

Create a New UI Control Template

You must create a new UI control template to customize the display of an item. You do this by copying an existing template. Then you insert a UI property name variable into the copy. Finally, you assign the new template as the UI control template for the item.

To insert a UI property variable into a Web template, you must locate the swe.control element that governs the display of the item. The UI control Web templates all have the same basic layout:

To create a new UI control template

  1. Navigate to Product Administration.
  2. Select and lock the desired customizable product.
  3. From the Customizable Product Show menu, choose Product UI Designer.
  4. The Product UI Designer view appears.

  5. In the Group List, click the group name containing the item whose display you want to modify.
  6. The items belonging to the group you select display in the Group Item List.

  7. In the Group Item List, select the item you want to modify, for example a relationship.
  8. In the record you selected, click the select button in the UI control field.
  9. The Pick UI Style dialog box displays. The control you have selected for the group member is highlighted.

  10. Write down the filename of the Web template that governs the display of this control.
  11. The filename is shown in the Template field. The filename ends in .swt.

  12. Open the Web template in a text editor and save it to a new filename.
  13. The Web templates are located in <install-dir>\webtempl (NT path syntax) where <install-dir> is the path to the Siebel installation directory. The filename should begin with eCfg and end with .swt. For example: eCfgport_modifiedcheckbox.swt

  14. In the new template, locate the correct swe.control element containing the CfgFieldName= "CxObjName" attribute.
  15. Replace "CxObjName" with a UI property variable name and save the file.
  16. The variable name must begin with a period (.). For example: ".NewName". Verify the variable name is enclosed in quotes.

Assign the New UI Control Template

To assign the new Web template to a group item, you first add the template to the Pick UI Style dialog box. Then you select it as the template for an item in the group.

To assign the new UI control template

  1. In the Product UI Designer Group List, click the group name containing the item whose display you want to modify.
  2. The items belonging to the group you select display in the Group Item List.

  3. In the Group Item List, click the item you want to modify.
  4. This selects the record.

  5. In the record you selected, click the select button in the UI control field.
  6. The Pick UI Style dialog box appears.

  7. In the dialog box, click New and fill out the form for adding a new template and click OK.
  8. In the Pick UI Style dialog box, click the template you added and click OK.
  9. This assigns the new template to the item and closes the dialog box.

  10. In Group Item List, save the revised record.

Define a UI Property for the Item

The last step is to assign the variable in the new Web template to the item. Then you enter a value for the variable. The value you enter is what displays in a configuration session.

For example, if you assigned the template to a relationship, you must define a UI property for each item in the relationship.

To define a UI Property for the item

  1. From the Customizable Product Show menu, choose User Interface Property Designer.
  2. The User Interface Property Designer view appears.

  3. In the box displaying the contents of the customizable product, select the item on which you want to define the UI property.
  4. In Item Display Properties, click New.
  5. A new record appears.

  6. Fill out the record.
  7. Save the new record.
  8. Open the Item Display Properties menu and click Validate.
  9. This starts a configuration session. Verify that the item names display correctly.


 Product Administration Guide 
 Published: 23 June 2003