This documentation supports the 18.08 version of Remedy Action Request System.

To view the latest version, select the version from the Product version menu.

Configuring right-to-left format in a data visualization field

A data visualization field (DVF) can be a part of more than one view, and because text direction is associated with a view, the text direction for a DVF is not known until the DVF is initialized. This initialization takes place when the browser renders the view of the BMC Remedy AR System form. At that time, a request with text direction is sent to the DVF.

If you create a DVF and you want to create different contents based on text direction, extract the text direction from the PluginContext. (Because the DVF cannot determine your intent about text direction, you must add the text direction to your HTML content for the DVF [for example, by using the <html dir='rtl'> option].)

Extracting the text direction

To extract the text direction, use the com.remedy.arsys.plugincontainer.ARLocaleServiceProperties interface through the public String getProperty(String key, String defvalue); method.

Extracting the text direction scenario

Following is a scenario for extracting the text direction from the PluginContext object given com.remedy.arsys.plugincontainer.PluginContext pc;

ARLocaleServiceProperties p = (ARLocaleServiceProperties)pc.getLocaleService();
   boolean isRTL = false;
   String val = p.getProperty("rtl", "false");
   if (val.equalsIgnoreCase("true"))
      isRTL = true;
Was this page helpful? Yes No Submitting... Thank you