08-21-2008 02:28 AM
<model name="custom:customModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Custom Model</description>
<author></author>
<version>1.0</version>
<imports>
<!– Import Alfresco Dictionary Definitions –>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<!– Import Alfresco Content Domain Model Definitions –>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
</imports>
<!– Introduction of new namespaces defined by this model –>
<!– NOTE: The following namespace custom.model should be changed to reflect your own namespace –>
<namespaces>
<namespace uri="custom.model" prefix="custom"/>
</namespaces>
<aspects>
<aspect name="custom:client">
<title>The client</title>
<properties>
<property name="custom:clientID">
<type>d:text</type>
</property>
</properties>
<associations>
<association name="custom:providedby">
<title>Provided by association</title>
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>custom:provider</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
</aspect>
<aspect name="custom:provider">
<title>The provider</title>
<properties>
<property name="custom:providerID">
<type>d:text</type>
</property>
</properties>
</aspect>
</aspects>
</model>
<alfresco-config>
<config evaluator="aspect-name" condition="custom:client">
<property-sheet>
<show-property name="custom:clientID"/>
<show-association name="custom:providedby"/>
</property-sheet>
</config>
<config evaluator="aspect-name" condition="custom:provider">
<property-sheet>
<show-property name="custom:providerID"/>
</property-sheet>
</config>
<config evaluator="string-compare" condition="Action Wizards">
<aspects>
<aspect name="custom:client"/>
<aspect name="custom:provider"/>
</aspects>
</config>
</alfresco-config>
08-21-2008 02:58 AM
08-21-2008 05:30 AM
03-02-2009 06:01 AM
03-02-2009 06:17 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.