We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Custom UI Macro on Catalog Variables

dalton1
Giga Expert

Hi,

I cannot seem to make my custom UI Macro work in my catalog variable with reference field type. I have already placed 'ref_contributions=mySampleMacro' in variable attributes field of my reference variable. When I go to my catalog item. Nothing happens. Care to enlighten me on this?

1 ACCEPTED SOLUTION

Hi Dalton,



That's correct. You have to create a client script to make this work for catalog items. Please go through the below link for more info.


» How to Add a UI Macro to a Non-reference Field in ServiceNow



I hope this answers your question.


View solution in original post

7 REPLIES 7

Please refer the section Catalog client script example in the same link for more info.


Hi, The above link is not operational.