We’re using @superset-ui/embedded-sdk to embed a single dashboard with 2 preconfigured filters on an external site. We recently upgraded to the v4.0.1 (to take advantage of urlParams for dynamic filtering):
However, we cannot get our dashboard to apply our 2 filters at runtime.
We’ve tried several variations on the urlParams but the result is always a loaded dashboard with no filters applied (users must manually set these filter values). Here is our code:
dashboardUiConfig: {
hideTitle: true,
hideTab: true,
hideChartControls: true,
filters: {
visible: false,
expanded: false
},
iframeTitle: false,
urlParams: { level: 5, ou2: "Boston" }
}
Our embedded result is always loaded with none of the above filters applied: