How to hide the header from the Platform Analytics Dashboard within the Portal iframe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago - last edited 4 hours ago
Hi,
We use an iframe to add Dashboard within the Portal. With our system upgrade to Zurich, Platform Analytics, and Employee Center, the Employee Center Dashboard now displays the header and menu from the console.
Could you please advise on how to hide the sn-polaris-header and sn-polaris-menu from the Platform Analytics Dashboard embedded within the Portal iframe? Thank you.
Portal URL: https://...servicenow....com/esc?id=my_dashboards
<iframe src="/now/platform-analytics-workspace/dashboard-library"></iframe>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago - last edited 3 hours ago
There are a couple of things to check:
1) Make sure the URL for the iframe src attribute doesn't contain the New Experience path. The path to the dashboard should be directly after the .com. For example:
/$pa_dashboards_overview.do
2) Make sure in your preferences that the "Always show top navigation" is off. If this preference is on that top bar is always going to show which keep in mind that's a user preference.
Working example on Zurich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago - last edited an hour ago
Hi Chris, Thank you for your prompt response.
My Preference has the "Always show top navigation" turned off.
Our Dashboard in the Employee Center on Zurich appears the same as shown in your photo. The current issue is that the dashboard displays the message: "If you can't find the dashboard you're looking for, try the Platform Analytics library. Visit Platform Analytics experience". When non-fulfillers click the link, the iframe loads a Platform Analytics Dashboard with Console headers and menu, as shown in my previous photo.
Our team would prefer that non-fulfillers do not have access to the console header and menu. How to hide or remove the message from the Portal Dashboard? "If you can't find the dashboard you're looking for, try the Platform Analytics library. Visit Platform Analytics experience." UI Script can hide the message from reports, but cannot hide the message from Dashboard.
