Unable to hide one field on Catalog item form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2025 07:05 AM
Hi All,
There is one field with multiple options , It should not visible by default when form loads, It should only visible when someone selects "yes" as an option on another field.
I have tried creating Catalog UI policy and catalog Client script but still still it is showing by default on the form.
Thank you in advance for your help!
Thank you
Deepika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2025 09:15 PM
I believe I have answered your question.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2025 09:49 PM
Hi @deepikagang ,
Please follow the below:
- Create a Catalog UI Policy and provide this condition: "is_the_person_a_manager" is "Yes"
- From the Related list of the Catalog UI Policy create a Catalog UI Policy Action as below:
Variable name: "What Line Manager is Valid?"
Mandatory: True
Visible: True - Save the UI Policy Action and test if it's working perfectly or not.
If this solution helps you then, mark it as accepted solution ✔️ and give thumbs up 👍!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2025 02:08 AM
It is solved now, I made some changes in condition of UI policy .
Thank you all for your responses and help.