GitHub user j7282978-ops edited a comment on the discussion: Jinja Template -
url_param not working
@dosu
I tried to pass it like this through SDK
dashboardUiConfig: {
hideTitle: true,
hideChartControls: true,
hideTab: true,
filters: { expanded: false, visible: false },
urlParams: { id: 8 }
}
This is the query
sq2.survey_id in ({{ url_param('survey_id') | default(8) | int }})
This shows an error in the chart - "Error: Columns missing in dataset: "
I can see the survey_id in the payload in network requests.
Getting same error with filter_values.
GitHub link:
https://github.com/apache/superset/discussions/35480#discussioncomment-14614811
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]