cancel
Showing results for 
Search instead for 
Did you mean: 

Datalist Form customisations in share

lule75
Champ in-the-making
Champ in-the-making
Hello Every one, I am a bit new to alfresco, but I am trying to have my costume datalist use a two column form but I have been unsuccessful on all counts I have attempted. Has any one one been success full with either. I attempted to re-follow the steps outlined here # https://wiki.alfresco.com/wiki/Forms_Examples # but no success. can I pull this same functionality off with angular-js too.

I am using alfresco community 4.2f.

any help or Pointer Is greatly appreciated. Thank you
3 REPLIES 3

mitpatoliya
Star Collaborator
Star Collaborator
You just need to configure new form for your custom dataItem type in share-config-custom.xml
For data list config will look like this



<form id="datagrid">
<field-visibility>
<show id="cm:name" />
<show id="custom:trainName" />
</field-visibility>
</form>

lule75
Champ in-the-making
Champ in-the-making
My intention is to have the generated form widgets display in two columns as referenced in forms development guide. I am actually using the form development kit. but even then i can not get the forms to display still..

mitpatoliya
Star Collaborator
Star Collaborator
Ohhh, okey I get it it now. You want to show fields in two column in the create item or edit item form right?
You need to use following tag in your share-config-custom.xml


  <set id="twocolumnset" appearance="title" label="Two Columns" template="/org/alfresco/components/form/2-column-set.ftl" />


Then mention this set id in all properties entry of your config file.