04-22-2012 08:00 AM
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="sc:somecomodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Someco Model</description>
<author>Jeff Potts</author>
<version>1.0</version>
<!– Imports are required to allow references to definitions in other models –>
<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 –>
<namespaces>
<namespace uri="http://www.someco.com/model/content/1.0" prefix="sc" />
<namespace uri="http://www.somec.com/model/content/1.0" prefix="lg" />
</namespaces>
<types>
<!– Enterprise-wide generic document type –>
<type name="lg:doc">
<title>NDA Document</title>
<parent>cm:content</parent>
<properties>
<property name="lg:nameofparty">
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
<type name="lg:whitepaper">
<title>Legal department Whitepaper</title>
<parent>cm:content</parent>
</type>
<type name="sc:whitepaper">
<title>Someco Whitepaper</title>
<parent>cm:content</parent>
</type>
</types>
</model>
<alfresco-config>
<!– Document Library config section –>
<config evaluator="string-compare" condition="DocumentLibrary">
<aspects>
</aspects>
<types>
<type name="cm:content">
<subtype name="lg:doc" />
<subtype name="lg:whitepaper" />
</type>
<type name="lg:doc">
</type>
</types>
</config>
</alfresco-config>
04-22-2012 04:56 PM
04-22-2012 10:47 PM
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.