Dashboard URL parameters sysparm_header not Working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2018 05:11 AM
Hi All,
I am trying to hide add a dashboard to a portal page as a widget.
I want to hide the Dashboard header. I am using the below header parameters but it does not seem to work.
- hidden — The header is hidden on the application page.
- embedded — The dashboard header appears but only has limited options. Options to refresh, reset filters, and export to PDF are available on the context menu.
Something like https://<your instance>/$pa_dashboard.do?_____________________________&sysparm_ignore_default_filter=false&sysparm_header=hidden
Am I missing anything here like roles, sharing? How to get this working.
Thanks in Advance.
- Labels:
-
Dashboard
-
Performance Analytics
-
Reporting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2018 07:55 AM
How are you trying to add this dashboard? Any custom plugin? Or custom widget?
Basically, you can add widgets to pages. And the only way of adding dashboard to a page is to use HTML widget with proper URL given as an argument.
See more of my content here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2018 10:46 PM
i,
Thanks for your response. I have not used any custom plugin or custom widget.
The widget I have created looks something like below. Even otherwise, if I copy the dashboard url and try to paste in a different browser or tab with the additional url parameters like hidden, embedded, there is no change at all. Dashboard url is same in all cases. I am following the below documentation. Am I doing something incorrect here.
https://docs.servicenow.com/bundle/london-performance-analytics-and-reporting/page/use/dashboards/reference/dashboard-url-parameters.html
<div>
<!-- your widget template -->
<iframe style="overflow: hidden; height: 1000px; width: 100%;" src="$pa_dashboard.do?sysparm_dashboard=fc131c88dbe12300b52034da7c9619e4&sysparm_tab=4c239888dbe12300b52034da7c961956&sysparm_cancelable=true&sysparm_editable=undefined&sysparm_active_panel=false&sysparm_ignore_default_filter=false&embedded=true" width="100%" height="100%" frameborder="0"></iframe>
</div>
Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 05:27 AM
i was able to hide my header bar using your information. my HTML is:
<p><iframe style="overflow: hidden; height: 1000px; width: 100%;" src="$pa_dashboard.do?sysparm_dashboard=f78f4b77876c7d104a7764683cbb3581&sysparm_header=hidden&sysparm_editable=false&sysparm_active_panel=false&sysparm_ignore_default_filter=false&embedded=true" width="100%" height="100%" frameborder="0"></iframe></p>