Add URL Parameters When Viewing A Dashboard
Is it possible to have a dashboard dynamically filter reports when opened through an external link?
Comments
-
This can be achieved by using a Flow Run Part in the Dashboard to filter the report by a page variable. The attached sample project includes a Dashboard that uses a Flow Run Part to filter an example Report showing all accounts within the environment. Decisions will check the URL for an emailAddress variable using the Get Page Variable step each time the page loads. If the page variable exists, the report will filter automatically by that value, and set it as the default form input.
You can verify this by appending &emailAddress=example@email.com to the end of the URL.
Please see links to our documentation:
- Set Dashboard Report Parameters: https://documentation.decisions.com/step-library/docs/set-dashboard-report-parameters
- Get Page Variable: https://documentation.decisions.com/v8/docs/en/get-page-variable
- Filtering Reports via Page Control: https://documentation.decisions.com/docs/filtering-reports-via-page-controls
Please Note: The examples attached were developed to be instructional, and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact: services@decisions.com.
Howdy, Stranger!
Categories
- 4.3K All Categories
- 69 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 108 Rules
- 266 Administration
- 212 Portal
- 495 General Q & A
- 704 Forms
- 335 Reports
- 3 Designer Extensions
- 47 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 181 Datastructures
- 69 Repository
- 227 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 112 Lunch And Learn Questions