<?xml version="1.0" encoding="UTF-8"?>
<model name="my:Model" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<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/system/1.0" prefix="sys"/>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
</imports>
<namespaces>
<namespace uri="my.model" prefix="my"/>
</namespaces>
<types>
<type name="my:customEspace">
<title>Dossier test</title>
<parent>cm:folder</parent>
<properties>
<property name="my:numero">
<title>Numero</title>
<type>d:int</type>
</property>
<property name="my:adresse">
<title>Adresse</title>
<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="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/customModel.xml</value>
</list>
</property>
</bean>
</beans>
<alfresco-config>
<config evaluator="string-compare" condition="Space Wizards">
<folder-types>
<type name="my:customEspace"/>
</folder-types>
</config>
<config evaluator="node-type" condition="my:customEspace">
<property-sheet>
<show-property name="my:numero" />
<show-property name="my:adresse />
</property-sheet>
</config>
</alfresco-config>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.