How to replicate existing dashboard in Portal ?

Virendra K
Kilo Sage

Hi All,

 

The requirement is, there is existing dashboard created and client want that same dashboard to be created or displayed in the portal.

Is it possible ? can we show the same dashboard in the portal ?

OR do we need to create in the portal ? if so then do we have such facility or widgets to replicate it ?

 

Please help me.

Thanks in advance. 

1 ACCEPTED SOLUTION

Bhavya11
Kilo Patron

Hi @Virendra K 

 

Is it possible ? yes we can show Dashboard in portal 

can we show the same dashboard in the portal ? yes we can 

 

Try below way

  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="URLFromStep2" 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=07a7d550eb102200f6f44d3df106fef7"

 

rather than:"https://yourinstance.service-now.com/$pa_dashboard.do?sysparm_dashboard=07a7d550eb102200f6f44d3df10... 

 

Mark Correct and Helpful if it helps!!!

 

Thanks,

BK

View solution in original post

1 REPLY 1

Bhavya11
Kilo Patron

Hi @Virendra K 

 

Is it possible ? yes we can show Dashboard in portal 

can we show the same dashboard in the portal ? yes we can 

 

Try below way

  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="URLFromStep2" 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=07a7d550eb102200f6f44d3df106fef7"

 

rather than:"https://yourinstance.service-now.com/$pa_dashboard.do?sysparm_dashboard=07a7d550eb102200f6f44d3df10... 

 

Mark Correct and Helpful if it helps!!!

 

Thanks,

BK