Unable to Use Jinja Context for "url_param" #13315
Labels
!deprecated-label:bug
Deprecated label - Use #bug instead
global:jinja
Related to Jinja templating
sqllab
Namespace | Anything related to the SQL Lab
A clear and concise description of what the bug is.
Expected results
It gives 'rangga' as the parameter of username in url
Actual results
It returns None
Screenshots
How to reproduce the bug
Activate your jinja context in superset/docker/pythonpath_dev/superset_config.py by adding "ENABLE_TEMPLATE_PROCESSING" : True in dictionary of FEATURE_FLAGS
Go to sqllab
Edit your url and add '?username' argument
Reload the page
Write the query using jinja context of url_param and run the query
Environment
(please complete the following information):
Checklist
Make sure to follow these steps before submitting your issue - thank you!
The text was updated successfully, but these errors were encountered: