AnsweredAssumed Answered

Extending contentModel.xml

Question asked by pitt1 on Nov 3, 2006
Latest reply on Feb 21, 2013 by alejandro
Is there a way to extend contentModel.xml without editing it?  Let me clarify what I'm trying to do:

I have some aspects that I want to ALWAYS be added for every cm:folder and cm:content node.  I realize that I can modify the definitions of these types by adding a list of mandatory aspects in the $TOMCAT_HOME/webapps/alfresco/WEB-INF/classes/alfresco/model/contentModel.xml file, but this is part of the alfresco core.  I'd rather define something in extensions (i.e. in $TOMCAT_HOME/shared/classes/alfresco/extension) as an extension/override to what's in the base contentModel.xml file.  Can I do this in a custom model by referencing the cm:content type, for example, and adding a list of mandatory aspects?

Outcomes