AnsweredAssumed Answered

How to show/hide fields in simple edit metadata form

Question asked by shazada on Oct 13, 2011
Latest reply on Oct 13, 2011 by mikeh
In the share-config-custom.xml i've defined the following:

<config evaluator="node-type" condition="zk:document">
<show id="cm:name" />
<show id="cm:description" force="true" />
<show id="zk:nummer" />
<show id="zk:registratieDatum" />
<show id="zk:zaakType" />
<show id="zk:documentType" />
<show id="zk:vertrouwelijkheid" />
<show id="zk:richting" />
<show id="zk:subject" />
<show id="zk:object" />
<show id="zk:perceel" />
<show id="cm:taggable" for-mode="edit" force="true" />

The form shows fine in View and Edit(full metadata edit), but in simple edit mode (on docLibrary –> edit metadata) I'm getting too many fields. I want only to show a couple of fields in simple mode and the full stack in full mode.

How can I achieve this? e.g. like the cm:content in simple mode only name, title & description and in Full mode the full stack.

Very simple to reproduce this: - Start Alfresco - Add a content - click on edit-metadata (in docLib), you will see a simple edit form - click on the upper-right corner, you will see a full edit form

My question: - How can I configure the simple edit form?