- 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 03:34 PM
Ar'nt, you looking for Inform analytics?
(actually, this creates a UI Action, you could edit if you want)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 04:00 PM
thanks for input Arnoud,
no I hadn't looked at that. And actually in myscenario I'm building a very specific view of risk records and a dashboard for an executive level of our employees, so the interface has to be very easy to navigate and show a very specific set of metrics (my widgets on the dashboard). This is why I needed to be able to direct the user directly to the dashboard from an obvious link button (my UI Action form button). These users are not daily ServiceNow users at all, so I just needed to be able to present a couple custom views of the records.
I can't get too complex...but that looks very interesting!