Displaying the Attributes in the UI

Administrators can customize the attributes to display in the Compare page without the need of the Customization SDK.

This task shows you how to:

Display options

Users can choose how to display each attribute in the compare configuration:

Context:

  • Do not display
  • Do not display empty values
  • Always display
By default all EDMs are displayed as "Do not display empty values". Administrators can overwrite the default configuration for other attributes.

Choose the attributes in the Compare panel

How to choose the attributes displayed in the Compare page.

  1. Go to the <ONEPART_INSTALLDIR>.
  2. Open the file datadir\config\CustomConfigs.xml
  3. Edit the CompareConfiguration section:
    • hiddenMetas : do not display attributes. For example, set the value="2" to hide the Source attribute with the data-line-id="2"
      Note: Use your browser's Inspect function to determine the id.
    • mandatoryMetas : attributes are displayed even if it's empty; by default all EDMs are set as mandatory.
    • defaultOrder : reorder the list, for example, line 52 will be displayed in the first line; EDM attribute ids start at line 40.
    <master:CustomConfig name="CompareConfiguration">
    	<bee:KeyValue key="hiddenMetas" value="2"/> 
    	<bee:KeyValue key="mandatoryMetas" value="0,1,52"/> 
    	<bee:KeyValue key="defaultOrder" value="52"/> 
    </master:CustomConfig>
  4. Save the file.
  5. Run datadir\bin\buildgct.exe to rebuild the product configuration.
    Note: For details on manually applying the configuration, see the Exalead CloudView Configuration Guide
  6. In the Administration Console home page, click Restart host.