11-26-2015 10:58 AM
11-26-2015 12:56 PM
11-27-2015 07:07 AM
<config evaluator="string-compare" condition="DocumentLibrary">
<aspects>
<!– Aspects that a user can see –>
<visible>
<aspect name="abc:abcMetaData" />
</visible>
<!– Aspects that a user can add. Same as "visible" if left empty –>
<addable>
</addable>
<!– Aspects that a user can remove. Same as "visible" if left empty –>
<removeable>
</removeable>
</aspects>
</config>
<!– cm:content type (existing nodes) –>
<config evaluator="node-type" condition="cm:content">
<forms>
<!– Default form configuabcion used on the document details and edit metadata pages –>
<form>
<field-visibility>
<!– Title verbergen –>
<hide id="cm:title" />
<!– Custom Metadata toevoegen –>
<show id="abc:dateDocument" />
</field-visibility>
<appearance>
<field id="abc:dateDocument" label-id="label.abc_dateDocument" />
</appearance>
</form>
<!– Document Library pop-up Edit Metadata form –>
<form id="doclib-simple-metadata">
<field-visibility>
<!– Title verbergen –>
<hide id="cm:title" />
<!– Custom Metadata toevoegen –>
<show id="abc:dateDocument" />
</field-visibility>
<edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
<appearance>
<field id="abc:dateDocument" label-id="label.abc_dateDocument" />
</appearance>
</form>
</forms>
</config>
<!– cm:content type (creating nodes) –>
<config evaluator="model-type" condition="cm:content" replace="true">
<forms>
<!– Default Create Content form –>
<!–
<form>
<field-visibility>
<show id="cm:name" />
<show id="cm:content" force="true" />
<show id="cm:title" force="true" />
<show id="cm:description" force="true" />
<show id="mimetype" />
<show id="app:editInline" force="true" />
</field-visibility>
<appearance>
<field id="cm:name">
<control>
<control-param name="maxLength">255</control-param>
</control>
</field>
<field id="cm:title">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
<field id="cm:content" label-id="">
<control>
<control-param name="editorAppearance">explorer</control-param>
</control>
</field>
<field id="mimetype">
<control template="/org/alfresco/components/form/controls/hidden.ftl">
<control-param name="contextProperty">mimeType</control-param>
</control>
</field>
<field id="app:editInline">
<control template="/org/alfresco/components/form/controls/hidden.ftl">
<control-param name="contextProperty">editInline</control-param>
</control>
</field>
</appearance>
</form>
–>
<!– Search form –>
<form id="search">
<field-visibility>
<show id="cm:name" />
<!– Titel verbergen –>
<hide id="cm:title" />
<show id="cm:description" force="true" />
<show id="mimetype" />
<show id="abc:dateDocument" />
<show id="cm:modified" />
<show id="cm:modifier" />
</field-visibility>
<appearance>
<field id="mimetype">
<control template="/org/alfresco/components/form/controls/mimetype.ftl" />
</field>
<field id="abc:dateDocument" label-id="label.abc_dateDocument">
<control template="/org/alfresco/components/form/controls/daterange.ftl" />
</field>
<field id="cm:modifier">
<control>
<control-param name="forceEditable">true</control-param>
</control>
</field>
<field id="cm:modified">
<control template="/org/alfresco/components/form/controls/daterange.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
12-01-2015 11:16 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.