How to Read Form variable in javascript (Angular)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2016 10:57 AM
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.
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.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2016 02:02 PM
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!
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!
