Print

Defining labels for features in the new menu item

About this task

The display feature.properties file specifies the labels that the EPM displays to the end user on the Roles page.

Procedure

  1. In an ASCII text editor, open the display feature.properties file in the TomcatHome/lib/extensions/UniqueDirectoryName/messages directory, where TomcatHome is the directory in which the Tomcat servlet engine software is installed and UniqueDirectoryName is the directory defined as described in Defining a unique extensions directory. The default is /opt/Tomcat/tomcat.
  2. Create the basic template for the menu.xml by adding the following tags:
    #{{START:FEATURES:EXTENSIONS:UniqueDirectoryName
    #}}END:FEATURES:EXTENSIONS:UniqueDirectoryName
    
  3. Add a section for each menu item that you added to the configuration menu.xml file, as shown below:

    myMenuItem=itemDisplayText

    where:

    • myMenuItem is the menu item identifier specified in the menu.xml configuration file.

    • itemDisplayText is the item label that Avaya Experience Portal displays in the EPM main menu.

    noteNote:

    Ensure that the display text specified for the menu group and menu items in feature.properties file match the display text specified for the same in menu.properties file.

  4. Save and close the file.
  5. Insert the contents of this file within the #{{START:FEATURES:EXTENSIONS and #}}END:FEATURES:EXTENSIONS tags, in the display features.properties file under TomcatHome/lib/messages directory, where TomcatHome is the directory in which the Tomcat servlet engine software is installed. The default is /opt/Tomcat/tomcat.

Example

For example:

#{{START:FEATURES:EXTENSIONS 
#{{START:FEATURES:EXTENSIONS:UniqueDirectoryName 
menuItemMyStandardReport=My Standard Report
menuItemMyCustomReport=My Custom Report
#}}END:FEATURES:EXTENSIONS:UniqueDirectoryName
#}}END:FEATURES:EXTENSIONS