Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

I would like to display the current domain when a user opens a Catalog Item.

Kento Sanekata
Tera Contributor

Is there a way to retrieve and display the domain currently selected in the Domain Picker on a Catalog Item form? What I want to display is not the user's assigned domain, but the domain currently selected in the Domain Picker.

1 REPLY 1

Hemanth M
Tera Sage

Hi @Kento Sanekata ;

 

Have you tried this ?- you can try this as default variable value or call from a script include through onload catalog client script

gs.getUser().getDomainID();

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026