Embed report as iframe
When you have opened report in Analyze tab then there is the ...
button in the toolbar. Press the button to see the dropdown list of options, choose the </> Embed report
. When you are in Dashboard tab then each report has </>
icon in report header. When pressing this icon you will see similar dialog to this:
You can include generated <iframe ...></iframe>
code in another HTML page and as a result you will see flex.bi report rendered inside this web page:
Iframe | ||||||
---|---|---|---|---|---|---|
|
Disable report actions or enable results export
If you would like to publish report which cannot be modified (disable all report modification popups) then add ?disable_actions
to iframe
element src
URL. Please see below the same report with all report actions disabled:
Code Block | ||
---|---|---|
| ||
<iframe width="1128" height="481" src="https://flex.bi/bi/accounts/47/embed/report/795?disable_actions" frameborder="0"></iframe> |
Iframe | ||||||
---|---|---|---|---|---|---|
|
In similar way you can add the enable_export
parameter to URL to enable results export.
If you have added the disable_actions
parameter then you can still allow individual actions with allowed_actions=...
parameter where you list one or several comma separated actions – expand_drill_into
, drill_across
, drill_through
, page_selection
, or report_dashboard_title
.
Embed dashboard as iframe
You can also embed flex.bi dashboard page in other HTML page. If you have dashboard edit permission then click edit button in top right corner of Dashboards tab page and then click Embed dashboard button and you will see similar Embed dashboard in another HTML page dialog as for report. Include generated <iframe>
code in another page to see embedded dashboard:
Iframe | ||||||
---|---|---|---|---|---|---|
|