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.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.8K Visualize
- 2.5K Charting
- 731 Beast Mode
- 55 App Studio
- 40 Variables
- 683 Automate
- 175 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 122 Manage
- 119 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 107 Community Announcements
- 4.8K Archive