Skip to main content

2 docs tagged with "UiMacro"

View all tags

UI Macros

Guide for creating ServiceNow UI Macros (sysuimacro) with the Fluent UiMacro API. UI Macros are reusable Jelly components that render HTML and can run server-side script; in Fluent they are used to back custom form formatters (via a sysuiformatter Record() and a Form() formatter element referencing it) and to power custom Service Catalog variable types via CustomVariable and CustomWithLabelVariable.

UiMacro

Creates a UI Macro — a reusable Jelly component that accepts parameters, renders HTML, and can run server-side script (sysuimacro). UI Macros are invoked by name from Jelly UI Pages, form formatters, Service Catalog variable types, and other UI Macros.