06-06-2013 12:12 PM
<namespaces>
<namespace uri="http://www.mymodel.com/model/content/1.0" prefix="myCustom" />
</namespaces>
<types>
<!– Enterprise-wide generic document type –>
<type name="myCustom:docContentType">
<parent>cm:content</parent>
<mandatory-aspects>
<aspect>myCustom:productContentAspect</aspect>
</mandatory-aspects>
</type>
</types>
<aspects>
<!– Generic Aspect –>
<aspect name="myCustom:aspect">
</aspect>
<!– Product Content Aspect –>
<aspect name="myCustom:productContentAspect">
<parent>myCustom:aspect</parent>
<properties>
<property name="myCustom:annoEsercizio">
<type>d:int</type>
<mandatory>false</mandatory>
</property>
</properties>
</aspect>
</aspects>
<share-config>
<config evaluator="string-compare" condition="DocumentLibrary">
<aspects>
<visible>
<aspect name="myCustom:productContentAspect"/>
</visible>
</aspects>
<types>
<type name="cm:content">
<subtype name="myCustom:productContentType"/>
</type>
</types>
</config>
<config evaluator="aspect" condition="myCustom:productContentAspect">
<forms>
<form>
<field-visibility>
<show id="myCustom:annoEsercizio"/>
</field-visibility>
<appearance>
<set id="myCustom_productContentPropertySet" appearance="bordered-panel" label-id="aspect.myCustom_productContentAspect"/>
<field id="myCustom:annoEsercizio" set="myCustom_productContentPropertySet" label-id="prop.myCustom_annoEsercizio">
<control template="/org/alfresco/components/form/controls/number.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
</share-config>
06-07-2013 05:09 AM
<aspects>
<aspect name="???????">
<title>Description you want to display here</title>
<properties>
…….
</properties>
</aspect>
</aspects>
03-27-2014 08:35 AM
03-28-2014 04:18 AM
06-07-2013 06:20 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.