How to add UI macro icon on Service Catalog variable of reference type?

Afsar2
Tera Contributor

Hi,

 

I need to add a UI macro on catalog variable (Reference).

 

UI macro works fine for Caller field on Incident form with the help of ref_contributions attributes in dictionary entry.

Same does not work for Service Catalog variables as the ref_contributions attribute is not available as per the docs.

https://docs.servicenow.com/bundle/tokyo-servicenow-platform/page/product/service-catalog-management...

 

 

Any suggestion to achieve this?

 

Thank you,

Afsar Sheikh

3 REPLIES 3

dmi95
Tera Expert

Afsar2
Tera Contributor

Thanks @dmi95 ,

 

Article is based on Macro variable and widgets for Service Portal.

 

I need to just add UI macro next to reference variable (Service Catalog variable).

I am not really sure if I need to create a Macro catalog variable and if that can be linked to the reference variable.

 

Afsar2
Tera Contributor

Hi @Chuck Tomasi ,

 

Link suggested on following thread is not accessible.

https://www.servicenow.com/community/developer-forum/custom-ui-macro-on-catalog-variables/m-p/191019...

 

Any suggestion's to achieve  above requirement will be helpful.

 

Thanks,

Afsar Sheikh