Platform Analytics Dashboard in the Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2024 05:22 AM - edited ‎06-16-2025 07:32 AM
I wanted to share a small build I did to get the platform analytics in the Portal.
Inspired by the Playbooks within the Portal. I really wanted the new powerful Platform Analytics dashboards within the portal, including "clicking" that will stay within the portal itself and redirects to the page you want including parameters.
Example page
I've given some instruction text with a platform analytics dashboard, and also including an embedded widget option.
Available here:
https://developer.servicenow.com/connect.do#!/share/contents/8949624_platform_analytics_experience_i...
Some notes
- I have NOT tested this with a custom UI Builder page within a dashboard
- When installing new version and you still have 1.0 just accept all updates (You can iqnore the meta data)
Updates to version 1.1, where I fixed the component.
- Labels:
-
Platform Analytics
-
Service Portal
- 5,702 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2024 11:07 AM - edited ‎11-13-2024 12:56 AM
Thanks for sharing your approach. This is really great and has been something I have ben trying to do for a quite a while as well. The only problem now is that this only works for users that relevant Platform UI roles and not for portal only users e.g. snc_external.
I have even tried to to share the dashboards with certain roles but it appears the iframe is blocking the the access to the dashboard url - /now/platform-analytics-portal/dashboard/...
We also changed the Can View setting of the widget to external users but still not luck. All we get is this
Doing some further testing with roles I found that the only way for this to be visible on the Service Portal to end user is to assign the admin role, which is probably due to fact that the iframe is trying to load a Platform UI page.
I also tried changing the role settings on the menu item for now /platform-analytics-workspace/dashboard-library, which appears to be the path used in the iframe, but that also didn't make any difference.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2024 03:59 AM
Update - for anybody running into similar issues
I was able to make it work by making the following change:
1. To get rid of the 403 error message, I had to a read - ux_route ACL for nom.platform-analytics-portal.*
- Following that I then got a message saying within the iframe - You do not have permission to access this
2. To get rid of the second access error, I had to UI builder and Dashboard page variant to add an audience, where I added all my users with the role snc_external
- This resulted in the users having access to the iframe content but then they only saw the "loading of doom"
3. To finally resolve this, it turned out that, even though you don't need a role to see dashboard shared with you, technically you. And this is where my problem kicks in. I needed this to be visible on the Service Portal for external users but in order to be able to access Platform Analytics dashboards you need to have the snc_internal role 😞
- As soon as I added the role to my users the were able to access the dashboard, but as this also brings other things with it, we need to find a better solution that work for snc_external users as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2024 07:49 AM
Good day,
I am currently facing the same issue mentioned in point number 3. I have searched and tried different approaches, but I still cannot make it visible to external users. Have you found a solution for this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2024 12:27 PM
Sorry just seen your question. No we have not figured out a way yet. It appears that the Platform Analytics reports in conjunction with the SP are still a bit flaky. We even had issue showing data visualisations through the normal Reports widget.
So for now we have reverted back to creating the old report, via a little backdoor, to be able to show them on the SP and then just build a dashboard on a page using multiple widgets and report.