- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
We have a requirement and I want to check with you about what is the best way of doing it. We have different users who have access to different dashboards. Everything is associated with SOW.
Agent 1 has access to Dashboard 1
Agent 2 has access to Dashboard 2
They both have different roles.
The default dashboard in SOW is lets say Dashboard 1.
So when Agent 2 opens SOW they see Access Denied.
Instead I was to set Dashboard 2 as default for agent 2.
Is this possible to do without creating separate landing pages for each role?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Managed to do this.
I had to do it through UI Builder.
Created a client script that will fetch the sys id of the dashboard based on the role.
Added this client script as event handler on page load.
Then set this to the Dashboard Controller.
Also I set up the audiences for the landing page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Users with any role can restrict access by role to any dashboard that they have created. The user also needs whatever roles are necessary to access the specific data on the dashboards.
refer ServiceNow Documentation: Dashboard permissions
Check this post as well : What is that Restrict to roles in a Dashboad Panel?
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
3 weeks ago
User has specific role and the dashboard has been shared. The requirement is, when they loginto SOW, based on their role different dashboards should be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
are you talking about platform analytics dashboard or landing pages in SOW?
share some screenshots
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
see if this helps
Set Dashboards on User Landing Page based on roles
💡 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