How to pass a variable value into a chart?



I have a question about passing variables across Web Application.

- On PAGE1 I have declared a variable, brand_name.

- On PAGE2, a basic HTML-element prints out the variable when using syntax <%= ctx.vars.brand_name %>, so context works fine.

- But, when trying to use the same variable in a CHART-element (also on PAGE2 on page), the webapp preview debug mode says "XTK-170018 Parameter of query 'ctx/vars/brand_name' is not defined in current context."

- The variable would be used in a filter with condition "something" [equals] $(ctx/vars/brand_value)

Does anyone know how should I pass variable values into the chart-element?

Accepted Solutions (0)