Share feedback, ideas and get community help

Updated 2 months ago

Client Side {{variables}}!!!!

If I have a client side script and I set a variable, lets call it {{id}} when I pass that variable like this in an APP client side.

On the client I run the script

Plain Text
window.progress.add({
  id: "{{TestId}}"
});

The results is: vl6402idq2k63zn3q99rhp2ho ( what is that? It looks like the variable id or sometyhing.)

Also if I just use text and no variable it works fine and the results are as they should be. Like...

Plain Text
window.progress.add({
  id: "ABC123"
});


Can I not pass a variable to the client browser? Is this a bug? I figure I should be able to pass that when the page loads just fine but I keep getting this odd string.
C
2 comments
I solved this by setting the proper escape.

Set thge var outside the block then set the var like this

Plain Text
window.progressier.add({
  id: {{TestId}}
});
make sure you are setting the "execute on client" for both the var and the script.
Add a reply
Sign up and join the conversation on Discord