- 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
This is exactly what I am looking for. However, when I tried to implement the solution it did not work for me. It is not redirecting the user to the correct dashboard.
- 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
the above link uses UI page which I don't think can be embedded in landing pages
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
I have a dashboard on the landing page of SOW. This dashboard is developed in PA. Based on the role I want different dashboards to be visible for different users.
Easiest solution is to have different landing pages for different users. But I am wondering is it possible to have the same landing page but have different dashboards (dynamically) based on roles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
that's not possible to swap the dashboard dynamically based on logged in user
Why not create separate landing pages in SOW and each landing page will have respective PA dashboard?
Check this link
how to set landing page differently for different users based on audience in SOW
💡 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Create the landing page as the dashboards you want to land them on and add the audiences you need/want for that. Dashboards will always be tricky, because they can also be set to 'load where I left off' or 'load this dashboard'. Those are all user preferences. Audiences through landing pages will always land them on the data you want to show.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark