03-26-2018 09:30 AM
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
05-24-2018 08:04 AM
can you explain in detail where you're looking for datatable?
12-04-2018 06:02 AM
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
12-05-2018 12:10 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.