GitHub user Crystal701 edited a discussion: How to retrieve filter dataMask 
when applying filter on embedded dashboard

Hi all,
I'm working on embedding Superset dashboards into an application, and I'd like 
to allow users to apply persistent filters directly from the embedded dashboard.

Currently, the applied filter works, but:
- The filter state is not persisted
- The updated dataMask is not accessible from outside the iframe, which makes 
it difficult to generate a new permalink

I’m currently using CSS and JS injection to customize UI interactions, and 
would like to know:
- Is it possible to retrieve the current dataMask or filter key via postMessage 
from the embedded iframe?
- Is there a configuration flag I need to enable in `superset_config.py` to 
allow this kind of access?

GitHub link: https://github.com/apache/superset/discussions/34277

----
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