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

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

Formatting tooltips

You can enhance the appearance of tooltips by using templates. For example, you can use a template to set the color and appearance of the tooltip's text and background.

You can apply a template to a tooltip by using the TEMPLATE function. A Set Field action sets the template result into a field. The field is referenced in the tooltip message.

You can also format tooltips manually by using HTML. However, the HTML is not validated.

For example:

To use the tooltip option in the message action with a HTML template file, perform the following steps:

  1. Create a template HTML file (for example: file.html) with required placeholder fields (for example: Field1, Field2).
    Sample HTML file:

    <table style="margin: 10px" border="0" valign="top" align="center" width="200"> 
    	<td class="label">Field 1:</td>                 
    	<td class="data">${Field1}</td> 
    	<td class="label">Field 2:</td> 
    	<td class="data">${Field2}</td> 
  2. Create an entry in the AR System Resource Definitions form and in the attachment field, attach the HTML file.
  3. To test the tooltip, create a sample form with required data fields.
  4. On the sample form, create an active link.
    1. To use the template function which points the HTML file, write a set field action. This displays the available placeholder parameters. Map the placeholder fields to the actual fields.
      For example: Short Description = TEMPLATE("file.html", "Field2", $Field2$, "Field1", $Field1$)
    2. Write a message action and select Tooltip type and use the field as the message text.
      For example: Message text: $Short Description$

  5. To check the tooltip, open the form and perform the action required to trigger the active link.                                                     
Was this page helpful? Yes No Submitting... Thank you