Hi all,
I am using Alfresco 5.0 Enterprise, I created new 'Task List Advanced' in one site. In new item, I can see many fields like Title, Description,Start Date, End Date,Assignee, Priority, % Complete, etc… But I want to remove some fields like Priority, % Complete, etc.. I have added the following code in share-config-custom.xml. here I did not use whatever i want to remove, Anyway, it is not working, Is it the way? Or How to remove those fields????
<config evaluator="model-type" condition="dl:task">
<forms>
<!– Create item form –>
<form>
<field-visibility>
<show id="cm:title" />
<show id="cm:description" />
<show id="dl:ganttStartDate" />
<show id="dl:ganttEndDate" />
<show id="dl:taskAssignee" />
<show id="dl:taskComments" />
<show id="cm:attachments" />
</field-visibility>
<create-form template="../data-lists/forms/dl_task.ftl" />
<appearance>
<set id="taskAssignee" appearance="title" label-id="audit.assignee" />
<field id="cm:title" label-id="audit.title">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
<field id="dl:taskComments">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
<field id="cm:attachments">
<control>
<control-param name="startLocation">{doclib}</control-param>
</control>
</field>
</appearance>
</form>
</forms>
</config>
<!– dl:task (advanced) type edit form config–>
<config evaluator="node-type" condition="dl:task" replace="true">
<forms>
<!– Data List pop-up edit form –>
<form>
<field-visibility>
<show id="cm:title" />
<show id="cm:description" />
<show id="dl:ganttStartDate" />
<show id="dl:ganttEndDate" />
<show id="dl:taskAssignee" />
<show id="dl:taskComments" />
<show id="cm:attachments" />
</field-visibility>
<edit-form template="../data-lists/forms/dl_task.ftl" />
<appearance>
<field id="cm:title">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
<field id="dl:taskComments">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
<field id="cm:attachments">
<control>
<control-param name="startLocation">{doclib}</control-param>
</control>
</field>
</appearance>
</form>
</forms>
</config>
Someone please help.
Thank you,
Naveen