Hello,
I have created the process with three task. In ADF i'm trying to parse the form like
after parsing my page looks like
I have referred the following documentation
https://github.com/Alfresco/alfresco-ng2-components/blob/master/docs/core/form.component.md
I want to update the fields information, so I tried doing this.
Please anyone help me to resolve this.
Thanks & Regards
Amruta Wandakar
Hello,
Here you can see an example of the definition you need to use to parse a form from a json:
alfresco-ng2-components/demo-form.json at development · Alfresco/alfresco-ng2-components · GitHub
Anyway, ¿is your workflow deployed on APS/Activity 7 or in ACS?. FormService only works with APS workflows.
Regards
Thanks i just found the above link one hour ago, i'm trying to update the field definitions in the form, for example if field.type == readonly make that field as text, like field.type = text. Do you have any idea regarding this.
Thanks & Regards
Amruta W
Hello,
I usually use custom classes to implement my form definition model . You could pass in the constructor the info you have and from that apply the necesary logic to generate the structure you need to parse the form
Of course, you can implement methods to update the fields once the definition is generated but i never have found a situation that required it.
Regards
Discussions, help and advice about the Alfresco Development Framework.
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.