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

Knowledge Drop

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.                

Version history
Last update:
‎07-07-2021 12:38 PM
Updated by: