parag2131 opened a new issue, #40522:
URL: https://github.com/apache/superset/issues/40522
### 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:
1. href link with target="_top" → works but loads public permalink
URL, bypassing guest token and RLS
2. urlParams: { anchor: 'TAB-xxxx' } in embedDashboard config →
dashboard always opens on Home tab, anchor is ignored
3. 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
- [ ] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [ ] I have checked Superset's logs for errors and if I found a relevant
Python stacktrace, I included it here as text in the "additional context"
section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]