Service Portal - Report Widget to open in new tab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2019 05:26 AM
Hey Guys,
Do you have any idea how to customize the report widget to open in a new tab on click?
I have some reports of different types - Single Score, list, bar, donut and I have requirements to open them in a new tab on click. It was easily doable with a list or icon widget but cannot find any possibility regarding a report widget...
- Labels:
-
Reporting

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 06:47 AM
I'm having the same issue... reports on a Portal Dashboard replace the portal page with a list view of records in the Platform UI...navigation and all. I have tried the suggestions in the knowledge article, which was last updated a few months ago, but it still does not work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2019 05:33 AM
Hi there,
Not sure if this is what you mean, though give it a go. To open the dashboard in a new window:
You can just add _blank to the window name (= tested).
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 03:53 AM
Add the below code in your Link function inside setTimeout, it will work on on Load of the widget
Code:
setTimeout(function () {
angular.element(".chart-container a").attr('target','_blank');
angular.element(".chart-container a").attr('onclick', "event.stopPropagation();");
}, 3000);
Seconds should be specified till the report loads
Same code can used for dynamic in Client Controller.