Flex.bi Support Center
Breadcrumbs

Use public access token

Please consider data safety first and do not enable public access with a token to highly sensitive data. Access tokens can be seen by any user accessing the public page and can be used to embed the report also in other pages. Public users can also use drill into the details of the reports and see more data in the same flex.bi account.

Generate URL with public token

If you would like to share a report (or a dashboard) then select Embed report or Embed dashboard from the top right toolbar:

Embed_report.png



Then select Enable public access with a token [1]. An additional parameter embed_token is added to the iframe URL [2]. This token is unique for this report (or dashboard) and will be used to authenticate that anonymous users can see report results for this specific report. Note the report data won't be visible to users without this public access token.

If you need to disable sharing of this report then unselect checkbox "Enable public access with token" [1] and save it. Or you can also regenerate the access token to invalidate the previous one [3]. In both cases, no one will see the data in the published report. 

URL_with_token.png

Options for reports and dashboards embedded in iframe

You can change the options of how the report or dashboard will be displayed in the iframe [1]:

  • with or without header and borders (only for reports)

  • disable all or enable only some actions that can or cannot be performed by end users in the embedded report or dashboard (expand/drill into, drill through issues, drill across issues, change page selection)

  • enable results export

  • enable the automatic refresh option: it could be used, for example, if a report or dashboard is displayed on a large screen in a hallway and should be automatically refreshed to show the latest report results.

Please save the changes before embedding an iframe on another page [2].

Embeded_report_options.png

Dynamic page filter selection

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

HTML
<iframe width="1044" height="497" src="https://flex.bi/bi/accounts/47/embed/report/1949?selected_pages=[Time].[2025].[Q1%202025],[Time].[2025].[Q2%202025]" 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 , .

For example, you can provide a parameter disable_actions , allowed_actions and selected_pagesfor a report like this:

HTML
<iframe width="100%" height="497" src="https://flex.bi/bi/accounts/47/embed/report/1949?disable_actions&allowed_actions=drill_across,page_selection&selected_pages=[Time].[2025].[Q1%202025],[Time].[2025].[Q2%202025]" frameborder="0"></iframe>

Disable possibility to share reports or dashboards with public token 

You can completely disable this feature in the whole flex.bi instance by adding these lines to advanced settings.

[general]
embed_reports_with_token = false

Search for reports and dashboards published with a public token

To find all reports published with a public access token, open the Analyze tab and use the Has embed token icon (</>[1] to display them in the report list [2].

Search_reports_with_token.png

To find all dashboards published with a public access token, open the Dashboard tab, click the Open dashboard [1], and use the Has embed token icon (</>[2] to display them in the dashboard list [3].

Search_dashboard_with_token.png