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.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 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