Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Platform Analytics Dashboard in the Portal

Wybren1
Tera Guru

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 pageExample 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.

29 REPLIES 29

Can you be more specific -- using the Share link, there is no option for Workspace.  But on the Dashboard visibility, I can choose multiple workspaces -- which should I use?  SOW, Agent Workspace, etc?  I do have it set for Platform Analytics.

Share it with the workspace: Platform Analytics Experience 

 

You can always check the other dashboard 🙂

Boom!  That’s the piece I was missing- works like a charm now.

Yingbo Wang
Tera Contributor

Thank you for providing this solution. We are currently upgrading to the Zurich Family Release, and Platform Analytics. We are utilizing this solution to display dashboards within the Employee Center. 

 

However, when opening an incident link from a dashboard in the Employee Center, the URL appears as /esc?id=form&table=sc_req_item&sys_id=undefined due to event.data.recordId being null. Could you please advise on how to retrieve the value for event.data.recordId?

 

Additionally, would it be possible to adjust the script so that the Incident link opens the record within the iframe as it does in the legacy dashboards,  rather than as /esc?id=form&table=sc_req_item&sys_id=undefined? Thank you. 

The iframe URL for the legacy dashboards is: /$pa_dashboards_overview.do;

The iframe URL for the dashboards in this solution is: "/now/platform-analytics-portal/dashboard/" + c.data.dashboard;

AntonioK
Tera Contributor

Thast a really nice feature. Unfortennatly for snc_externals the visualization is stuck in "Loading visuakization data".  The user has access to the Case table an the dashboard is shared with the role. Can you Provide us information what ACL, roles are need.