- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Hello, I created a new catalog item and one of the fields is, "Is there a different Ship To Location?" If "Yes" I need a new field to populate that reads, "Enter shipping address". I am not sure if this should be a UI Action or UI Policy and the steps to achieve. Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
It is use case of UI policy, where you want to show a hidden field.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
UI action is not for catalog item.
If you want to show/hide another variable based on value of previous variable then -> UI policy or onChange catalog client script
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Hi @DeIvory Gordon,
Use Catalog UI Policy - If you want to show/hide a field based on conditions.
Use onChange Catalog Client Script - If you want to show/hide a field based on the population of another field.
You cannot use UI Action for Catalog Items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago - last edited 6 hours ago
It is catalog UI policy.
try this:
1: Create the Catalog UI Policy
- Scroll to the Catalog UI Policies > New.
- Name: Different Shipping Address Visibility
- Applies to: A Catalog Item
- Catalog Item: (Select your created item)
- Conditions: "Is there a different Ship To Location?" is Yes
- Check the Reverse if false box.
- Applies on Catalog Tasks/Requested Items boxes if you want this visibility maintained after submission.
- Click Submit
2: Add UI Policy Action
- Open the UI Policy record you just created.
- Scroll to the Catalog UI Policy Actions related list and click New.
- Variable name: Enter shipping address
- Visible: True
- Mandatory: True (Optional) - Set to True so they cannot submit without filling it out.
- Click Submit
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
It is use case of UI policy, where you want to show a hidden field.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
UI action is not for catalog item.
If you want to show/hide another variable based on value of previous variable then -> UI policy or onChange catalog client script
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Hi @DeIvory Gordon,
Use Catalog UI Policy - If you want to show/hide a field based on conditions.
Use onChange Catalog Client Script - If you want to show/hide a field based on the population of another field.
You cannot use UI Action for Catalog Items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago - last edited 6 hours ago
It is catalog UI policy.
try this:
1: Create the Catalog UI Policy
- Scroll to the Catalog UI Policies > New.
- Name: Different Shipping Address Visibility
- Applies to: A Catalog Item
- Catalog Item: (Select your created item)
- Conditions: "Is there a different Ship To Location?" is Yes
- Check the Reverse if false box.
- Applies on Catalog Tasks/Requested Items boxes if you want this visibility maintained after submission.
- Click Submit
2: Add UI Policy Action
- Open the UI Policy record you just created.
- Scroll to the Catalog UI Policy Actions related list and click New.
- Variable name: Enter shipping address
- Visible: True
- Mandatory: True (Optional) - Set to True so they cannot submit without filling it out.
- Click Submit
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti