access page embed applied filters in brick to pre-select filters
Hi,
We have an invisible brick inside a page embed. It's only job so far is to notify the host through a postMessage when a filter has been applied ( using domo.onFiltersUpdate() ). The host then listens for this postMessage and stores the chosen filters in session storage. This is all working well.
When the modal is opened that contains the page embed, I grab the filter saved in session storage and pass it along as programmatic filters when getting the page from domo. This works.
The problem is that the filters in the filter bar are not being pre-populated with the applied filters. I know I can use domo.filterContainer() to apply filters to the page and this will select the filters passed. How can I access the filters that are being applied to the page embed inside of the brick that is there? Or is there a better way to pre-select the applied filters?
Answers
-
To provide a little more context, I have attached an image of what we have. A popup modal contains a page embed, and then an invisible brick with the above code. The user filters the page embed. I store those filters. They close the modal. When they reopen the modal, I send the stored filters and make the api call to domo to get the page embed with the provided programmatic filters. The page embed opens with the correct filters applied, but I don't know how I can access what those filters are within the brick to ensure the filter bar has those filters checked by default.
0 -
Hey trodick,
Sorry you haven't had any replies. It looks like this question might be outside the knowledge of the community. If you're still having problems with this, I'd recommend contacting your Customer Success Manager and sending in a support ticket.
Thanks,
-Grant
0 -
Troddick, did you ever figure this out? I have the same requirement and would save me a lot of time if you shared your solution. Thanks!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive