cancel
Showing results for 
Search instead for 
Did you mean: 

How to Read Form variable in javascript (Angular)

vijay_73
Champ in-the-making
Champ in-the-making
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.
1 REPLY 1

eramesh
Champ on-the-rise
Champ on-the-rise
Hi Vijay,

Did you find solution for this? I also wanted to set variable value to the custom stencil property and facing the same.

Please let me know.

Thanks!