Embedded SDK: How to navigate to specific tab using button click in Markdown chart? #40726
Replies: 1 comment
-
|
This is a known limitation of the embedded SDK — there's currently no programmatic API to switch dashboard tabs after the iframe loads. The communication between the parent and embedded iframe uses a MessageChannel/MessagePort protocol (not raw Here's why each approach fails and what you can try: Why Why Possible workarounds:
None of these are ideal. Extending the Switchboard protocol to include a To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug description
Hi everyone,
I have a Superset dashboard embedded in an external app using the
embedded SDK and guest tokens (with RLS).
On the Home tab, I have buttons inside Markdown charts. When a user
clicks a button, I want to open a specific tab directly.
What I tried:
href link with target="_top" → works but loads public permalink
URL, bypassing guest token and RLS
urlParams: { anchor: 'TAB-xxxx' } in embedDashboard config →
dashboard always opens on Home tab, anchor is ignored
postMessage from iframe to parent → message never received
Has anyone successfully navigated to a specific tab from a Markdown
button click inside an embedded dashboard while keeping the guest
token and RLS active?
Any solution or workaround is appreciated. Thank you!
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions