Hide portal pages for specific user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 07:13 AM
Hi experts,
can we hide portals pages/widgets for specific users or roles?
We need to show only Requests page to users and hide everything else. How can we achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 07:18 AM
You can hide and show Portal Widgets and Pages using User Criteria. But it will be time consuming as you may have to do it for all Pages or Widgets or collection of both.
Please refer below links:
Please refer below links:
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 07:22 AM
Hi Rajasekar reddy,
if you want to hide menu items,
Navigate to Service portal => menus.
And open the portal page you are using.
For every widget you want to hide add the Condition gs.getUser().hasRole('itil') for every menu item except for Requests.
And check for the requests if there are any conditions defined and remove that.
I hope this will helpful for your requirement to analyze and fix the issue, if so please
Mark this solution as helpful or correct answer.
Thank you,
Balaram.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 07:23 AM
@rajasekar reddy
1. Search Menus in the left navigation under Service Portal (Open SP Header Menu record ).
2. Deactivate records form the menu item-related list which you want to hide from the portal.
Please Mark Helpful, if it helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 07:27 AM
Hello,
You can use the role field on widget and pages to hide it from all user apart from roles:-
Please mark my answer as correct based on Impact.