mikysetiawan opened a new issue, #35884:
URL: https://github.com/apache/superset/issues/35884
### Bug description
I want to make preselect_filter to my embedded dashboard using this script
```
id: DASHBOARD_ID, // given by the Superset embedding UI
supersetDomain: SUPERSET_HOST,
mountPoint: document.getElementById("superset-container"),
fetchGuestToken: () => GUEST_TOKEN,
dashboardUiConfig: {
hideTitle: true,
hideTab: true,
hideChartControls: true,
filters: {
visible: true,
expanded: true,
},
urlParams: {
preselect_filters: JSON.stringify({
"NATIVE_FILTER-b6BM3PULf": [11]
})
}
},
iframeSandboxExtras: ['allow-top-navigation',
'allow-popups-to-escape-sandbox'],
referrerPolicy: "same-origin"
});
```
but It can't work, when I try the RLS when creating the token, it's working
well, but still I need the preselect_filter
### Screenshots/recordings
_No response_
### Superset version
5.0.0
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [x] 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]