Hello,
I would like to know how can I display a datatable with several columns in a form?
This will be used in a workflow. The table will be filled with values where the user can add lines
Thank you in advance
can you explain in detail where you're looking for datatable?
Hi Cyrine,
I think you need to create custom form field,
Here is a document for custom form field this may solve your problem
Developer Series - Custom Form Fields | Alfresco Communityhttps://community.alfresco.com/community/bpm/blog/2016/11/23/activiti-enterprise-developer-series-cu...
OR
You can use custom ftl to display your table in workflow
It should be present in the <field-visibility> section and ensure, you've the set also exists in the section.
<form>
<field-visibility>
......
......
<show id="mswf:userDetails" />
........
........
</field-visibility>
<appearance>
............
<set id="userDetails" appearance="title" label="User Details" />
.............
<field id="mswf:userDetails" set="userDetails" label="User Details" read-only="true">
<control template="/org/alfresco/components/form/controls/workflow/userdetails.ftl" />
</field>
</appearance>
</form>
Thanks,
prachi shah
I think the better appproach is to use alfresco ADF with custom stencil where your custom datable can be one of the componenet present in the ADF itself.
For ADF data table you can refer
For custom component you can refer
I think custom form fields here Developer Series - Custom Form Fields will be referring to angular js where as ADF framework is built on latest Angular.
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.