10-12-2012 10:02 AM
10-15-2012 03:41 AM
<?xml version="1.0" encoding="UTF-8"?>
<model name="test:testModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Modèle Test</description>
<author>me</author>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
</imports>
<namespaces>
<namespace uri="http://www.example.com/model/test/1.0" prefix="test" />
</namespaces>
<types>
<type name="test:category">
<title>Titree</title>
<parent>cm:classifiable</parent>
<mandatory-aspects>
<aspect>test:MaCategory1</aspect>
</mandatory-aspects>
</type>
</types>
<aspects>
<aspect name="test:MaCategory1">
<properties>
<property name="test:Value1">
<title>Catégorie Test</title>
<type>d:category</type>
<multiple>true</multiple>
<index enabled="true">
<atomic>true</atomic>
<stored>true</stored>
<tokenised>false</tokenised>
</index>
</property>
</properties>
</aspect>
</aspects>
<?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="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap"
depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/model/testModel.xml</value>
</list>
</property>
</bean>
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.