Saving filters
We are embedding our dashboards within our products via an iFrame. The issue we are having is saving the filters that a user has applied to their dashboard. Is there a way to save this in some sort of json string so that we can reapply it when that user logs back in? Programmatic filtering seems to limit the overall dataset. Any help would be greatly appreciated.
Answers
-
Currently there isn't a way to do it with embedded dashboards to have the filters persist across sessions. It's not currently possible in Domo proper. Programmatic filtering would be the closest you could get. My javascript/web development is limited but you might be able to track their filter options in the iframe and then save it off as a cookie and read the cookie when you first visit the page to pass those in as pfilters. This is completely theoretical. But as you stated pfilters will limit the overall dataset
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Thanks! Your idea is a good one. I will give this a try.
0 -
I have a page embed working in an iframe, but we need to track the filters the user is applying. How can I track the user's filtering options from within the iframe? Is there a way to access the payload being sent to public.domo.com/embed/pages/:id? I see 'queryOverrides' which contain the filters being sent. But I don't know how I can get that from outside of the iframe. I have seen that there is a postmessage that the iframe passes out, but this looks like it only handles 'notifyFrameSize'.
1 -
Were you (or anyone here) ever able to get this to work? I have the same issue — and after many hours of investigating, it looks like I went down all the same rabbit holes you did. 😅
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