How to show a Performance Analytics Dashboard on the Service Portal Landing page

shraddha_agrawa
Tera Expert

Hi All,

I have created one interactive Dashboard through Performance Analytics, and now I want that Dashboard to be visible on my Service Portal landing page as is.

Request you all to please suggest some ideas how can I achieve this.

Thanks

6 REPLIES 6

Kishor kumar1
Mega Expert

Activate the performance analyst plugins. The new widget will open with name of "Performance Analyst "



Thanks,


Kishor


sndangibbard
Mega Guru
  1. Open the dashboard you want to display in the platform UI
  2. Open dashboard menu in top left and choose Copy Dashboard URL
  3. Add a HTML Widget to your Service Portal Page
  4. Hover over the Widget Instance and click the Edit icon
  5. Switch to source code view
  6. Add code:
<iframe style="overflow: hidden; height: 1000px; width: 100%;" src="URLFromStep2Here" width="100%" height="100%" frameborder="0"></iframe>


Make sure you use a relative url in the iframe src attribute, so:


"/$pa_dashboard.do?sysparm_dashboard=a64b7031d7201100b96d45a3ce610335"


rather than:


"https://yourinstance.service-now.com/$pa_dashboard.do?sysparm_dashboard=a64b7031d7201100b96d45a3ce61..."



Play around with the height CSS property, the longer your Dashboard, the higher the height value will need to be to avoid the iframe scrolling


This did exactly what I needed. Thanks Dan!


Hi, can we also disable the drill downs in portal dashboard?

I tried, below in page CSS field and in the widget too with no luck.

 .report_content {
pointer-events:none;
}

Please let me know how can I disable the drill downs and enable the scrolling on the dashboard if it has more reports.

 

Thank you in advance.