Hi All I am focusing on creating content Types, I am following the document by "Fef Potts" (http://ecmarchitect.com/images/articles/alfresco-content/content-article-2ed.pdf). My intention is to create ContentTypes only I have create my own "aggModel.xml" ,"agg-model-context.xml" and "share-agg-config-custom.xml", I have restarted the alfresco a couple of times and I have not got any error, which makes me think that my configuration files are correct.After restating the service I cannot see the types which I defined in "Change Type" or in rule configuration with custom type or in specialize type action with in rule config.I am posting my code here, for getting more advice and feedbackMy aggModel.xml is
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="sc:somecomodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Someco Model</description>
<author>Jeff Potts</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="http://www.someco.com/model/content/1.0" prefix="sc" />
<namespace uri="http://www.somec.com/model/content/1.0" prefix="lg" />
</namespaces>
<types>
<!– Enterprise-wide generic document type –>
<type name="lg:doc">
<title>NDA Document</title>
<parent>cm:content</parent>
<properties>
<property name="lg:nameofparty">
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
<type name="lg:whitepaper">
<title>Legal department Whitepaper</title>
<parent>cm:content</parent>
</type>
<type name="sc:whitepaper">
<title>Someco Whitepaper</title>
<parent>cm:content</parent>
</type>
</types>
</model>
My "share-agg-config-custom.xml" is
<alfresco-config>
<!– Document Library config section –>
<config evaluator="string-compare" condition="DocumentLibrary">
<aspects>
</aspects>
<types>
<type name="cm:content">
<subtype name="lg:doc" />
<subtype name="lg:whitepaper" />
</type>
<type name="lg:doc">
</type>
</types>
</config>
</alfresco-config>
I have followed the documentation, cross checked, but not able to know what my documentTypes are not reflected in "cangetype "Advice and guidance requestedThanksJoseph John