Create a UI macro for a formatter

Create a UI macro to define the content that the formatter displays.

Before you begin

This functionality requires a knowledge of Jelly script.

Role required: ui_macro_admin

Procedure

  1. Navigate to System UI > UI Macros.
  2. Click New.
  3. Complete the form.
  4. In the XML script field, enter Jelly script to define the content to be displayed by the formatter.
    Note: The UI Macro for the formatter represents a row in the UI. It must begin and end with <TR></TR> tags.
    Formatter UI macro

    This Jelly script is reproduced below in plain text that you can copy into the Macro form as a basis for your macro script.

    <?xml version = "1.0" encoding = "utf-8" ?> 
     <j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null"> 
     <tr> 
        <td colspan="2">
           Here  is some descriptive text  for the Priority field.
        </td> 
     </tr> 
     </j:jelly>
  5. Click Submit.