- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018 03:24 PM
hi community,
is it possible to use a UI Action form button to link the user to a dashboard, and in the same window?
thanks!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2018 10:00 AM
Sure.
Please use below script
gs.setRedirect('/nav_to_do?uri=/$pa_dashboard.do?sysparm_dashboard=00701c67db6c1b803c6873e1ba9619ac');
and
personal preference for the user had to be set to "Dashboards" for their home page preference.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018 11:06 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018 11:32 PM
WHat is embedded? Just removed it. Can we try with this. Sorry but I get a different link on address barso not able to reproduce
gs.setRedirect('uri=/$pa_dashboard.do?//dashboard=00701c67db6c1b803c6873e1ba9619ac&tab=8eb09c67db6c1b803c6873e1ba9619c2');
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 08:20 AM
thanks Sanjiv, but it again links to the dashboard, but inside the split view frame like last screen shot.
Here's many a clue I'm working on...when I just go to the dashboard in my normal view, the URL in the browser is "https://xxxx.service-now.com/nav_to.do?uri=%2F$pa_dashboard.do"
anything we can pull from here to use?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 10:58 AM
Thats how it is for me.
Then when I open one of the dashboards, the link changes to
https://xxx.service-now.com/nav_to.do?uri=%2F$pa_dashboard.do%3Fsysparm_dashboard%3D02874c6d3b400300b90c4bb534efc4f1
So I wanted to check, if you add this, what happens, assuming your dashboard id is 00701c67db6c1b803c6873e1ba9619ac
gs.setRedirect('uri=/$pa_dashboard.do?sysparm_dashboard=00701c67db6c1b803c6873e1ba9619ac');
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 12:51 PM
ok, found something interesting:
your last one:
gs.setRedirect('uri=/$pa_dashboard.do?sysparm_dashboard=00701c67db6c1b803c6873e1ba9619ac'); //opens the correct dashboard, but in the frame as we've seen
but this one:
gs.setRedirect('/nav_to_do?uri=/$pa_dashboard.do?sysparm_dashboard=00701c67db6c1b803c6873e1ba9619ac'); //opens correctly to full screen, but opens the wrong dashboard??
odd right? it's opening properly, but aiming at wrong dashboard, but that second one is opening to the full screen