Condition script to restrict the visibility of a menu item
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
hi I'm looking for the best condition script to restrict the visibility of a menu item on the service portal- either to those who meet a certain user criteria or those who have a specific field on their user record set to true
would anyone please be willing to share what they have used? thankyou
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
you can use gs object in condition field
How to hide a submenu in a Portal based on a user condition
Write a Condition that Hides Items in SP Menu
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Regards,
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader

