Create a pfilter to filter a Report Inventory on a different page
Hello,
Our company has created a Report Inventory Card, Data Catalog Card, and Data Glossary Card. These cards are together on 1 dashboard (dashboard ID: 1212036684) and we have a filter on the dashboard to filter based on any dashboard ID which will then show all reports on the desired dashboard and all the definitions for the metrics. See the image below.
We're trying to create a pfilter that can be added to all our production dashboards in Domo which will redirect the user to our Report Inventory dashboard (dashboard ID: 1212036684) and prefilter it to the dashboard ID from the dashboard the user clicks the link from. Does this make sense and is this possible?
Current Beast Mode
CONCAT('<a href="https://MYCOMPANY.domo.com/page/1212036684?pfilters=[',
'{%22column%22:%22Dashboard%20ID%22,%22operand%22:%22IN%22,%22values%22:[%22',
`Dashboard ID`,
'%22]}',
']" target="_blank">',
'Data Glossary',
'</a>')
The bolded/italicized section is where I think I need to fix this Beast Mode. But I'm unsure where to get the current dashboard ID from.
Thanks!
Best Answer
-
You can’t get access to the current page URL within a beast mode so there isn’t an easy way to dynamically pull it
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Answers
-
You can’t get access to the current page URL within a beast mode so there isn’t an easy way to dynamically pull it
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
@GrantSmith Understood. Thanks for letting me know.
Can pfilters only be used in a beast mode or is there another way they can be used?
Is there a way you can get access to the current page URL within a dataset?
We have an admin dataset that lists all the dashboard IDs. Is there a way to have a card built from that dataset and when we add it to a dashboard, it gets filtered to that dashboard's ID?
What about building something custom in Code Engine? Would this be a viable option to explore?
Thanks!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 622 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 744 Beast Mode
- 58 App Studio
- 41 Variables
- 686 Automate
- 176 Apps
- 453 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 395 Distribute
- 113 Domo Everywhere
- 276 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive