Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

eazyBI reports and dashboards can be embedded in other HTML pages as <iframe>element.

...

An alternative solution for embedding eazyBI reports is embedded iframes with access tokens or eazyBI gadgets in Atlassian Jira and Confluence.

Embedded iframes with access tokens are available in eazyBI flex.bi Cloud PLUSBusiness plan , eazyBI Private Unlimited Users plan, eazyBI for Jira and eazyBI for Confluence appsand flex.bi Enterprise plan.


On this page:

...

Table of Contents

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:

...

<iframe width="900" height="482" src="https://eazybiflex.combi/accounts/1/embed/report/1?disable_actions" frameborder="0"></iframe>

...

And now embedded eazyBI dashboard will automatically resize it's <iframe> element to match the current dashboard height:


 

This text is right after <iframe> to illustrate automatic resizing.

...

If your embedded reports contain page filters or your dashboards contain common page filters you can dynamically set value for those filters by passing the value in URL. You should add parameter selected_pages and value should be comma separated full member names for page dimensions. Full member name contains also dimension name and eazyBI will automatically match members to page dimension. Please see below example URL and the report with pre-set time and measures page filter 

<iframe width="100%" height="482" src="https://eazybiflex.combi/accounts/1/embed/report/1?selected_pages=[Time].[1997].[Q1%201997],[Time].[1997].[Q2%201997],[Measures].[Unit%20sales]" frameborder="0"></iframe>

 

Adding parameters to URL

You can provide several parameters to the URL of the shared report or dashboard, in that case, use an ampersand & to separate several parameters. To assign a value to the parameter user an equal sign =. To provide several values for one parameter, separate those values by a comma , .

...

<iframe width="100%" height="482" src="https://eazybiflex.combi/accounts/1/embed/report/1&disable_actions&allowed_actions=drill_across,page_selection&selected_pages=[Time].[1997].[Q1%201997],[Time].[1997].[Q2%201997],[Measures].[Unit%20sales]" frameborder="0"></iframe>