How to hide variable set on portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 12:52 AM
Requirement is we have four variable sets and two variable sets should hide on portal but should visible on catalog task.
How can we achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 01:33 AM - edited 07-10-2025 01:34 AM
@Shraddha Kadam Tried this way still not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 01:35 AM
Try with Catalog client script
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 02:01 AM
Hello @Pratiksha KC ,
Is your variable set and catalog item in the same scope? If it is the same scope, then it should work.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 01:47 AM
Hello @Pratiksha KC, Please verify whether there is any mandatory variable inside VS. It will not be hidden if there is any such.
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 02:05 AM
Any other UI policy is making those 2 variables as mandatory?
If yes then your UI policy can't hide it.
make it mandatory false and then hide it
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