Customizing Viewpoint > Customizing Viewpoint to specific markets or customers

3.1 Customizing Viewpoint to specific markets or customers

Some nomenclature within Viewpoint is configurable. Marketization is the process of defining objects, or in most cases, words, that can be tailored to meet specific market or customer needs.

The market.properties and message.properties files contain a dictionary of keys that map to market, or customer-specific, values. The files map to the typical Java properties standard. A sample of a portion of the market.properties file follows:

1Node = Node

2Reservation = Reservation

3Your\ Current\ Request = Your Current Request

Content on the left of the equal sign (=) represents current Viewpoint code for content that appears in the user interface. Content on the right replaces content on the left and becomes visible in the user interface.

To tailor semantics to specific markets or customers

  1. Open the market.properties file located in the Viewpoint home directory.
  2. In the dictionary list, identify the content you want to modify and replace the content on the right of the equation with the new content. For example:
  3. Node = Server

    All instances of "Node" are replaced with "Server" in the user interface.

  4. Save the file.
  5. Open the message.properties file, typically located in the tomcat/webapps/moab/WEB-INF/grails-app/i18n directory. Repeat steps 2-3.
  6. Restart the application to allow changes to the files to take effect.

When using keys, spaces must be escaped using the backslash (\) character. Also case-sensitivity must be considered; content in the files appears in the user interface exactly as it appears in the dictionary list.

Related topics