UI formatters

Once we have created a UI macro, we can create a UI formatter. An existing UI macro is required in order to create a UI macro. This is because the UI macro provides the Jelly (XML) code to be used by the formatter.

To create a UI formatter, open Studio, select Forms & UI | UI Formatter in the Create Application File wizard, as shown in the following screenshot, and click on the Create button:

Fill in the new record form for the UI formatter with the values mentioned here:

  • Name: International Notice
  • Formatter: international_notice.xml (the name of the UI macro appended with .xml)
  • Table: Booking Request
  • Type: Formatter

Click ...

Get ServiceNow Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.