Adding or changing a widget label within a properties view

You can include various widgets within a Management Center properties view, such as a field, a rich text editor, a radio button, and more. You can also customize a properties view to change the text labels for existing widgets. For example, you can change the label to rename the Name field to be Description.

Procedure

  1. Open HCL Commerce Developer and switch to the Enterprise Explorer view.
  2. Expand LOBTools > WebContent > WEB-INF > src > xml > commerce > component > propertiesViews, where component is the name of the Management Center component.
  3. Open the object properties file that includes the Management Center widget text that you want to change.
  4. Locate and edit the definition for the widget that you want to change. Change the promptText attribute for the widget to identify the resource bundle and key that is to be used for the widget text.
    For example, the following code snippet shows a property input text widget for a field in the Catalogs tool.
    
    <PropertyInputText extendedHelpText="${catalogResources.extendedHelpText_Code}" promptText="${catalogResources.codePrompt}" 
     propertyName="partnumber" required="true"/>
    
  5. If you use a resource bundle for your Management Center widget text, update the appropriate properties file and resource bundle file to reflect your new widget text.
    For more information about updating properties files and resource bundles, see Defining user interface text in Management Center.
  6. Save and publish your changes.