Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to use UI macro in UI formatter

AJAY BIRADAR
Tera Contributor

Step 1: create a UI macro

AJAYBIRADAR_0-1707157249663.png

Step 2: create a UI formatter

In formatter field value should be : ui macro name + .xml
for example : formatter_one.xml

AJAYBIRADAR_1-1707157266371.png

Step 3: open incident form layout and add formatter

In My case I created a new section in incident form and added that formatter to it(formatter will be acting like a field you can access in form layout)

 

AJAYBIRADAR_2-1707157279712.png

 

Step 4: This is how looks like

 

AJAYBIRADAR_3-1707157292099.png

 

0 REPLIES 0