<namespace uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
Le namespace est composé d'une uri et d'un prefix, et permet de garantir l'unicité d'une definition de modele. Il faut s'assurer que ce couple est unique dans ton alfresco.
uri et prefix sont libre et ne correspondent techniquement à rien (pas de fichier, l'uri peut etre n'importe quel chaine genre "contrat.model".
Après inspire toi des modèles definies par alfresco :
contentModel.xml<namespace uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
<?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.xml</value>
<value>alfresco/extension/model2.xml</value>
</list>
</property>
<property name="labels">
<list>
<value>alfresco/extension/model</value>
</list>
</property>
</bean>
</beans>
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.