09-09-2013 10:01 AM
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="publication:publicationdatamodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Publication Content</description>
<author></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="publication.data.model" prefix="publication"/>
</namespaces>
<types>
<!– Definition of new Content Type –>
<type name="publication:publication">
<title>Publication</title>
<parent>cm:content</parent>
<properties>
<property name="publication:pub_number">
<type>d:text</type>
</property>
<property name="publication:pub_title">
<type>d:text</type>
</property>
<property name="publication:pub_type">
<type>d:text</type>
</property>
<property name="publication:file_path">
<type>d:text</type>
</property>
<property name="publication:seq_file_path">
<type>d:text</type>
</property>
</properties>
</type>
</types>
</model>
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Registration of new models –>
<bean id="NGA_pub.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/NGA_pub.xml</value>
</list>
</property>
</bean>
</beans>
<alfresco-config>
<!– Document Library config section –>
<config evaluator="string-compare" condition="DocumentLibrary">
<types>
<type name="cm:content">
<subtype name="publication:publication" />
</type>
<type name="publication:publication" />
</types>
</config>
</alfresco-config>
09-09-2013 10:41 AM
09-09-2013 10:55 AM
09-09-2013 11:06 AM
09-09-2013 10:42 AM
09-09-2013 10:54 AM
09-21-2013 01:57 PM
<namespaces>
<namespace uri="http://www.yourcompanyurl.com/model/content/1.0 prefix="publication"/>
</namespaces>
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.