I would like to display the current domain when a user opens a Catalog Item.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5m ago - last edited 5m ago
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
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026