- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-17-2024 10:56 PM
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.
Solved! Go to Solution.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-17-2024 11:04 PM
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
- Open the dashboard you want to display in the platform UI
 - Open dashboard menu in top left and choose Copy Dashboard URL
 - Add a HTML Widget to your Service Portal Page
 - Hover over the Widget Instance and click the Edit icon
 - Switch to source code view
 - 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
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-17-2024 11:04 PM
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
- Open the dashboard you want to display in the platform UI
 - Open dashboard menu in top left and choose Copy Dashboard URL
 - Add a HTML Widget to your Service Portal Page
 - Hover over the Widget Instance and click the Edit icon
 - Switch to source code view
 - 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
