Can you use dmx.app.set to define a parameter in Query Manager?

Hey,

Usually when I’m setting a value from a JS function into my app i simply use dmx.app.set('var_name', value)

Then in app connect i usually use dmx-bind:value="var_name" to bind that value to an actual app connect variable to easily use it queries, flows etc.

I’m trying to use Query Manager to better manage the growing number of variables used on a particular page, but you can’t bind a value like you can with a AC Variable component. You need to use something like query1.set('var_name', value)

Now, i can’t quite get this to work from a JS function using dmx.app.set. What would be the right way to go about this?

I’ve tried running a flow in app connect to set the values based on the variable names set in the JS function, but that hasn’t seemed to work. Any ideas?

Community Page
Last updated: