Is it possible to link a dashboard to a separate dashboard via a widget?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2022 01:48 AM
Hi,
I have a requirement to link a dashboard to another dashboard via a widget. Does anyone know if this is possible as I can't find anything in the docs.
For example, if I click on one of the widgets below it takes me to another dashboard rather than a single report/data source?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2022 02:23 AM
Hello
Please refer to this article:
https://community.servicenow.com/community?id=community_question&sys_id=0ca5cdcedb046bc0feb1a851ca9619bc
You can't link directly to the other dashboards, but you can copy tabs from THAT dashboard to your new Tabbed dashboard.
Now if you want EXACTLY what you've asked for, without regard to complexity and time spent, try something like this:
Build a homepage, and add a new dynamic content block.
Within the dynamic content block, you can build things however you want using HTML
Also you can merge the tabs of the dashboard.
so the pa_dashboard table holds the dashbaords
the pa_tabs table holds the dashboard tabs
and the relation is maintain in pa_m2m_dashboard_tabs table
for each Dashboards you need to create an entry to the same tab
you may need to use a script similar to this ( dont copy& paste 🙂 here I am just replacing a test tab, you may want to have a script creating the whole pa_m2m_dashboard_tabs record.
var gr = new GlideRecord('pa_m2m_dashboard_tabs');
gr.addEncodedQuery('dashboard=10d123f0eb0002004d7763fba206fe4c');
gr.query();
if(gr.next()){
gr.tab='bad123f0eb0002004d7763fba206fef0';
gr.update();
}
Thanks
Please mark my response as helpful and correct as applicable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2022 02:02 AM
Hello,
Any update on this?