- 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-23-2018 01:31 PM
Yes. Thats odd. Is it the same for other dashboards as well?
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 02:26 PM
I figured out what it's going, it's linking to whatever page I have set as my "homepage"...my Home link (see screenshot)
but when I try to set my homepage to my desired dashboard, it's not a selection I can make...is there a way to set my dashboard as my "home" page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 03:22 PM
ok I figured something out. In my personal settings (see below), I had my "Home" set to Homepages. After I changed it to "Dashboards", this script worked!
gs.setRedirect('/nav_to_do?uri=/$pa_dashboard.do?sysparm_dashboard=00701c67db6c1b803c6873e1ba9619ac');
I wonder though if you know a way to override the user's setting here so that it always goes to the specified dashboard?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2018 09:18 AM
Hi Sanjiv,
wanted to follow up that this solution worked for this requirement...if you want to copy and paste, and then reply again I'll mark your answer correct.
Script was
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.
thanks as always for your help! Patrick

- 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.