Basic Customization > User Interface Customization > Presenting Information in the UI > Attribute Customization > Windchill Attribute Customization Overview > Common Attribute Customization Procedures > Defining Custom Labels
  
Defining Custom Labels
You want to customize the label displayed for an attribute.
Solution Elements
Element
Description
Label property
A property defined in the Type and Attribute Management utility. See “Label” in Configuration Points for more information.
Display Name property
A property defined in the Type and Attribute Management utility Attribute Definition. See the Type and Attribute Management utility help topic Attribute Information Page for more information.
rbInfo files
componentRB.rbInfo
tableRB.rbInfo
com.ptc.core.htmlcomp.jstable.jstableResource
com.ptc.core.ui.tableRB
wt.enterprise.enterpriseResource (this is also used as the default)
wt.identity.identityResource
wt.templateutil.table.tableResource
com.ptc.windchill.cadx.ws.wsResource
Intended Outcome
Solution
The combinations of the solution elements required to achieve the different kinds of behavior are listed below:
If you want to…..
Configuration
Use a custom label on one specific attribute panel only
Use the Label property
Use a custom column header for an attribute on a specific table only
If the table is defined using a Java builder class, set the custom label using the setLabel() method when defining the com.ptc.mvc.components.ComponentConfig for the column representing the attribute. See the JavaDoc for more information.
Use the same custom label in all the attribute panels in which this attribute will be displayed
For attributes of TypeManaged objects, use the Display Name property.
Use the same custom column header for an attribute, on all tables in which this attribute will be displayed.
If the attribute has an entry on one of the following rbInfo files, modify the rbInfo file entry
com.ptc.core.htmlcomp.jstable.jstableResource
com.ptc.core.ui.tableRB
wt.enterprise.enterpriseResource (this is also used as the default)
wt.identity.identityResource
wt.templateutil.table.tableResource
com.ptc.windchill.cadx.ws.wsResource
For all other attributes, set the Display Name property of the attribute to the custom label using the Type and Attribute Management utilities Attribute Information Page.
For all other attributes, set the Display Name property of the attribute to the custom label using the Type and Attribute Management utilities attribute information page
Determine the source of the label of an attribute
Enable the logger com.ptc.core.components.labels