- 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 03:38 PM
Yes. I think it should be possible,
Try gs.setRedirect('dashboard link');
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 04:33 PM
Hi Sanjiv,
yes I've tried that...only issue is that I'm using the "split" list view for a specific set of users...and when you hit the form button it does link to the dashboard with that script, but it puts it in the frame where the form view is and keeps the split view of records on the left...what I'd like is for the dashboard to take up the whole window...not show in the list view frame.
Is it possible to have the link leave the split view so it just shows like the bottom screen shot?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018 05:00 PM
Can you also append the link with %26sysparm_list_mode%3Dgrid or &sysparm_list_mode=grid and try
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
so like this?
gs.setRedirect('/$pa_dashboard.do?//embedded=true&dashboard=00701c67db6c1b803c6873e1ba9619ac&tab=8eb09c67db6c1b803c6873e1ba9619c2%26sysparm_list_mode%3Dgrid or &sysparm_list_mode=grid');
do I need an edit? this doesn't link to anything