Dmx.parse how to

I am sending data from a frontend flow to a custom JS function:

{runJS:{function:‘setinnerHtml’,args:[‘editjamdescription’,’getclass.data.query.jamdescription’]}}

Screenshot 2021-04-22 at 18.03.56

and then in the function if run

var inprocessed = dmx.parse(val);

and the result is in double curly brackets unstead of the value:
inprocessed {{getclass.data.query.jamdescription}}

How do I get the value?

A tutorial on how to use dmx.parse on JS code would be most useful! +1 vote

1 Like

This looks like a bug that was reported a couple months ago, where single quotes are wrapped around the back ticks. Seems to be happening on your second argument – try removing the single quotes and leave the back ticks.