UI pages and macros

concept australia Updated Sep 10, 2026 1 min read create-custom-ui-pages.md
Raw file servicenow.com

Use UI pages to create custom pages for an application and UI macros for custom controls or interfaces.

Every UI Page is a Jelly template. Jelly turns XML into executable code. A UI Page works similar to how an index.html file is used in an AngularJS application. Jelly tags in the HTML field of the UI Page form contain AngularJS logic.

Creating UI macros requires knowledge of Jelly script. Review the existing UI macros for examples and suggested approaches. Those who want to build custom interfaces with JavaScript technologies should consider Service Portal as an alternative.

  • UI pages
    UI pages can be used to create and display forms, dialogs, lists, and other UI components.
  • UI macros
    UI macros are discrete scripted components administrators can add to the user interface.
  • Jelly tags
    Use Jelly to turn XML into HTML.
  • HTML syntax editor
    The HTML syntax editor provides support for editing HTML and Jelly scripts and defines what's rendered when the page is displayed. The HTML syntax editor can contain either static XHTML or dynamically generated content defined as Jelly, and can call script includes and UI Macros.

Parent Topic:Writing client-side scripts

Search documentation
Search document titles and file paths on the australia branch