AnsweredAssumed Answered

How to Read Form variable in javascript (Angular)

Question asked by vijay_73 on Aug 19, 2016
Latest reply on Sep 25, 2016 by eramesh
creating custom sentils, I want to read variables inside my custom HTML/angular script.

I tried passing variable as properties, and access using something like this
{{field.params.customProperties.myPropertyName}}
// myPropertyName is property name in stencil

Say if the variable that i added in the property is ${newid}
The output above angular expression is  like this, which is cool but does not the vaule of the variable
{"field":{"id":"newid","name":"newid","type":"integer"}}

Can anyone help me in understanding how to read activiti form variables from custom script.

Outcomes