Jelly
Guide to writing ServiceNow Jelly templates — the XML-based server-side templating language behind UI Macros (sysuimacro), custom form formatters, and Service Catalog custom variables. Covers the template preamble and namespaces, the two-phase evaluation model and its caching, keeping inline JavaScript XML-safe across passes, server-side g2:evaluate script, and conditional rendering.