Knowledge Drop

Naming Fields as Liquid Variables can give incorrect results when referenced.


Userlevel 4

Last tested: Jul 9, 2019
 

If you name a field with the same name as a liquid variable reference such as,

 

dimension: value {}

 

Then reference the liquid variable {{ value }} somewhere like the html parameter of another field,

 

html: {% if value == "&#8377" %} ₹ {% else %} {{value}} {% endif %};;

 

Liquid will try to pull through the dimension named value rather than the field {{ value }}. This will cause incorrect grouping to occur and probably some odd results.

 

This content is subject to limited support.                

 

 


0 replies

Be the first to reply!

Reply