Displaying Dynamic Reports
Comments
-
I have a Dashboard where I am looking to display a Report depending on the information passed by the user on a Flow Run Part on the same page. How can I do this?
0 -
We can achieve this by setting a Page Variable as the ReportID using the [url=https://documentation.decisions.com/docs/using-the-end-form-session-step-to-navigate]End Form Session[/url] step. On the Report Viewer component, select the Get Report ID From Selection Bus property and define the Selection Bus Name to be the same as your Page Variable. When the user submits the Form on the Flow Run Part, the Report Viewer Component will listen to the SelectionBusName and display the appropriate Report.
[img]att1[/img]
I have also attached a Project which achieves this.
[i]edited by kshitij@decisions.com on 10/3/2019[/i]0 -
Is there a way to do this in v5.16? Update Url Parameters is not a selection in the End Form Session step in that version. I tried using a Set Dashboard ReportParameters step, a Set Page Parameters step and a Send Folder Change Event step to no avail.
0 -
[font=Roboto]Is there a way to do this in v5.16? Update Url Parameters is not a selection in the End Form Session step in that version. I tried using a Set Dashboard ReportParameters step, a Set Page Parameters step and a Send Folder Change Event step to no avail.[/font]
0 -
In the latest Decisions versions, the following approach can be used to dynamically load a report on a page.
How this works on the page:- Add a Flow Run Part to the page.
- In the Flow Run Part, determine which report should be displayed and store the selected Report ID using a Set Page Variable step.
- Add a Report Viewer component to the page.
- Configure the Report Viewer to use the page variable as its Report ID source using the Get Report ID From Selection Bus property.
At runtime, the Flow Run Part runs first, sets the Report ID, and the Report Viewer loads the corresponding report automatically.
Adding the documentation here for reference:
https://documentation.decisions.com/docs/flow-run-part
https://documentation.decisions.com/step-library/docs/set-page-variable-step0
Howdy, Stranger!