--- title: Create a UI macro for a formatter description: Create a UI macro to define the content that the formatter displays. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-administration/t\_CreateAUIMacro.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Formatters, Administer, Form administration, Forms, fields, and lists, Configure core features, Administer the ServiceNow AI Platform] --- # 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 knowledge of Jelly script. Role required: ui\_macro\_admin ## Procedure 1. Navigate to **All** > **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 `