I am using stencil in form . So i created UI to replace stencil in ADF Form.
FormService.formFieldValueChanged method caling when form input value changed .But Its not calling when custom Stencil value changed . How can i get event when Value of custom Stencil changed in ADF Form ?
hey Ciju Joseph, is there any workaround available?
I think what you are looking at is Field property of the custom stencil.This will give you all the attributes of a stencil.
alfresco-ng2-components/form-field.model.md at master · Alfresco/alfresco-ng2-components · GitHub
If you are looking at the custom stencil events then it is just another componenet in angular 2, It has its own dom elements associated with it so you can call the events in the same way.
Assuming that your stencil is an extension of WidgetComponent & if you are updating the stencil's field value correctly it should trigger an event! If that is not happening, please raise a bug with the ADF team with a sample snippet to reproduce this issue!
Ciju
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.