- 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 05:11 PM
ahh..wait, let me try again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018 05:15 PM
this one did not work...nothing happens when I click the form button:
gs.setRedirect('/$pa_dashboard.do?//embedded=true&dashboard=00701c67db6c1b803c6873e1ba9619ac&tab=8eb09c67db6c1b803c6873e1ba9619c2%26sysparm_list_mode%3Dgrid');
this one did not work either...nothing happens when I click the form button:
gs.setRedirect('/$pa_dashboard.do?//embedded=true&dashboard=00701c67db6c1b803c6873e1ba9619ac&tab=8eb09c67db6c1b803c6873e1ba9619c2&sysparm_list_mode=grid');

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018 05:28 PM
Can you post me the link when you open the dashboard in a Full view mode?
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 06:09 PM
https://company.service-now.com/$pa_dashboard.do?embedded=true&dashboard=00701c67db6c1b803c6873e1ba9619ac&tab=8eb09c67db6c1b803c6873e1ba9619c2

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018 06:55 PM
Can you try this?
gs.setRedirect('?uri=$pa_dashboard.do&sysparm_dashboard=00701c67db6c1b803c6873e1ba9619ac');
Please mark this response as correct or helpful if it assisted you with your question.