GitHub user LiamTorrelli added a comment to the discussion: Get current filter 
state/applied filter values in embedded Superset dashboard

I burned a week on postMessage hooks and switchboard listeners trying to pull 
filter state out of an embedded dashboard (#34277 is the thread that sent me 
there). Sometimes it works. Usually you're racing the handshake — call too 
early and it throws, call late and you've already lost the user's selection.

Two problems get lumped together in threads like this:

**Host app sync** — your app can't read what's selected inside the iframe. 
Deep-linking "EMEA + last 30 days" from your own routes means Rison-encoded 
native filter IDs or fragile dataMask timing, not a clean callback. I wrote up 
all six embed limits I keep hitting: 
https://drafted.work/blog/superset-iframe-embedding-problems

**Saved combinations inside the dashboard** — if what you need is "land on this 
filter combo every visit without re-clicking," that's different. Upstream 
removed Filter Sets in 4.0. We rebuilt named presets with per-user defaults and 
drift sync when someone edits the dashboard: 
https://drafted.work/superset/dashboard-filter-presets

GitHub link: 
https://github.com/apache/superset/discussions/28196#discussioncomment-17393157

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to