Hi.I'm a beginner with Alfresco and i just begin to play with custom models. I managed to see the sop model example, and also to creat my own custom model exaple which work fine also.My problem is that i havn't managed to see both at the same time… So i must have misunderstood something. If someone could give me a hint.Here is what i do :v1.2RC2 Tomcatin rep alfresco\extensionfile custom-model-context.xml<?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/exampleModel.xml</value>
<value>alfresco/extension/FactureModel.xml</value>
</list>
</property>
</bean>
</beans>
(files exampleModel.xml and FactureModel.xml work fine separetly… type name are my:sop and my:fact)file web-client-config-custom.xml<alfresco-config>
<config evaluator="string-compare" condition="Custom Content Types">
<content-types>
<type name="my:sop" />
<type name="my:fact" />
</content-types>
</config>
<config evaluator="node-type" condition="my:sop">
<property-sheet>
<show-property name="name" showInEditMode="false" />
<show-property name="mimetype" displayLabelId="mimetype" converter="org.alfresco.faces.MimeTypeConverter" showInEditMode="false" />
<show-property name="title" showInEditMode="false" />
<show-property name="description" showInEditMode="false" />
<show-property name="size" displayLabelId="size" converter="org.alfresco.faces.ByteSizeConverter" showInEditMode="false" />
<show-property name="my:publishedDate" />
<show-association name="my:signOff" />
<show-property name="my:authorisedBy" />
<show-child-association name="my:processSteps" />
</property-sheet>
</config>
<config evaluator="node-type" condition="my:fact">
<property-sheet>
<show-property name="name" showInEditMode="false" />
<show-property name="mimetype" displayLabelId="mimetype" converter="org.alfresco.faces.MimeTypeConverter" showInEditMode="false" />
<show-property name="title" showInEditMode="false" />
<show-property name="description" showInEditMode="false" />
<show-property name="my:client" />
<show-property name="my:consultant" />
</property-sheet>
</config>
<config evaluator="aspect-name" condition="my:imageClassification">
<property-sheet>
<show-property name="my:width"/>
<show-property name="my:height"/>
<show-property name="my:resolution"/>
</property-sheet>
</config>
<config evaluator="string-compare" condition="Action Wizards">
<aspects>
<aspect name="my:imageClassification"/>
</aspects>
</config>
<config evaluator="string-compare" condition="Advanced Search">
<advanced-search>
<content-types>
<type name="my:fact" />
<type name="my:sop" />
</content-types>
<custom-properties>
<meta-data type="my:fact" property="my:client" />
</custom-properties>
</advanced-search>
</config>
</alfresco-config>
I m just able to see the type my:fact in Alfresco after this. Thanks you for your timeNicolas