04-22-2010 07:05 AM
<alfresco-config>
<config evaluator="node-type" condition="my:doc">
<forms>
<form>
<field-visibility>
<!– inherited from cm:content –>
<show id="cm:name" />
<show id="cm:title" force="true" />
<show id="cm:description" force="true" />
<show id="mimetype" />
<show id="cm:author" force="true" />
<show id="size" for-mode="view" />
<show id="cm:creator" for-mode="view" />
<show id="cm:created" for-mode="view" />
<show id="cm:modifier" for-mode="view" />
<show id="cm:modified" for-mode="view" />
<!– specific for my:doc –>
<show id="my:client" label="Client"/>
<show id="my:projet" label="Projet"/>
<!– aspect my:typageDocument –>
<show id="my:typageDocument" />
<!– aspect my:etatDocument –>
<show id="my:etatDocument" />
</field-visibility> –>
<appearance>
<field id="my:client" label="Client"/>
<field id="my:projet" label="Projet"/>
<field id="my:typ" label="TYP">
<control template="controls/selectone.ftl">
<control-param name="options">TYP,GPD</control-param>
</control>
</field>
<field id="my:nChrono" label="N° Chrono"/>
<field id="my:etat" label="Etat">
<control template="controls/selectone.ftl">
<control-param name="options">En cours de rédaction,En cours de validation,Publié</control-param>
</control>
</field>
</appearance>
</form>
</forms>
</config>
</alfresco-config>
<alfresco-config>
<!– Document Library config section –>
<config evaluator="string-compare" condition="DocumentLibrary" replace="true">
<tree>
<evaluate-child-folders>false</evaluate-child-folders>
</tree>
<!–
Used by the "Manage Aspects" action
For custom aspects, remember to also add the relevant i18n string(s)
cm_myaspect=My Aspect
–>
<aspects>
<!– Aspects that a user can see –>
<visible>
<aspect name="cm:generalclassifiable" />
<aspect name="cm:complianceable" />
<aspect name="cm:dublincore" />
<aspect name="cm:effectivity" />
<aspect name="cm:summarizable" />
<aspect name="cm:versionable" />
<aspect name="cm:templatable" />
<aspect name="cm:emailed" />
<aspect name="emailserver:aliasable" />
<aspect name="cm:taggable" />
<aspect name="app:inlineeditable" />
[b] <aspect name="my:typageDocument" />
<aspect name="my:etatDocument" />[/b]
</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>
<!–
Used by the "Change Type" action
Remember to also add the relevant i18n string(s):
cm_mysubtype=My SubType
–>
<types>
<type name="cm:content">
[b] <subtype name="my:doc" />[/b]
</type>
<type name="cm:folder">
<subtype name="cm:myfoldersubtype" />
</type>
</types>
</config>
</alfresco-config>
04-22-2010 07:16 AM
05-26-2010 09:27 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.