2-way communication between Superset Embedded dashboard and the host application #35310
Replies: 1 comment
-
Hi @pranavkumar389! I'm Dosu and I’m helping the superset team. Yes, the Superset Embedded SDK does support 2-way event-based communication between the embedded dashboard and the host application. It uses a MessageChannel and an abstraction called Switchboard to enable both the host and the embedded iframe to send and receive events and method calls. For example, you can use methods like observeDataMask to listen for filter changes from the dashboard, or setThemeConfig to send theme updates from the host to the dashboard. This allows for flexible, bi-directional integration between your application and the embedded Superset dashboard. You can see the technical details in the SDK implementation here and the communication utility here. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Does Superset Embedded SDK has support for event communication between the embedded dashboard and the host application?
Beta Was this translation helpful? Give feedback.
All reactions