Category / Section
How to Hide the Menu Option in an IFrame embedded dashboard?
Published:
When performing IFrame embedding, it is possible to hide the dashboard menu options as well as the menu options for all widgets. This can be achieved by utilizing specific query parameters in the IFrame source URL.
Query Parameters
- Hide Dashboard Menu: Use the parameter
hide_tool=om
to hide the dashboard menu options. - Hide Widget Menu: Use the parameter
hide_widget_tool=om
to hide the menu options for all widgets.
Example
Before hiding the More option
in dashboard as well as in widget:
<iframe src='http://localhost:53623/bi/site/site1/dashboards/b1c1d38a-4fac-41c5-a38a-95fa3e2cc767/Sales/Sales%20Analysis%20Dashboard?isembed=true&export=true' id='dashboard-frame' width='100%' height='600px' allowfullscreen frameborder='0'></iframe>
After hiding the Menu Option
in dashboard as well as in widgets of an IFrame embedded dashboard:
<iframe src='http://localhost:53623/bi/site/site1/dashboards/b1c1d38a-4fac-41c5-a38a-95fa3e2cc767/Sales/Sales%20Analysis%20Dashboard?isembed=true&hide_tool=om&hide_widget_tool=om' id='dashboard-frame' width='100%' height='600px' allowfullscreen frameborder='0'></iframe>
Important Notes
- The above parameters are applicable only to IFrame embedding of dashboards.
- They do not apply to IFrame full server embedding.