You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/04/19 14:47:12 UTC

[GitHub] [superset] NikosSpanos commented on issue #15283: jinja templating not working (1.2.0-rc2) requires undocumented config

NikosSpanos commented on issue #15283:
URL: https://github.com/apache/superset/issues/15283#issuecomment-1102746711

   > for the records, this works in `superset_config.py`
   > 
   > It should really be added here : https://superset.apache.org/docs/installation/sql-templating
   > 
   > ```
   > FEATURE_FLAGS = {
   >     "ENABLE_TEMPLATE_PROCESSING": True
   > }
   > ```
   > 
   > _BUT_ it _still doesn't_ work in SQL LAB. It works when used elsewhere
   
   Thanks a lot for this post @squalou ...Firstly, I added the _ENABLE_TEMPLATE_PROCESSING_ in the ```config.py```  file which didn't help at all. Then I saw your post and added the same property on the ```superset_config.py``` and made the Jinja templating available through Virtual SQL. You may want to check [this](https://www.youtube.com/watch?v=dE1QlhunWMs) video on YouTube and see how you can use the templating and dunamic filtering with Filter Boxes.
   
   Hope it helps. Kudos!!


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org