I am having a content model and workflow model xml in bootstrap-model.xml by default. And I created a content model inside of content-model.xml file. Now I added a new value of another one xml file in bootstrap-model xml namely as exampleModel.xml. I have created a file called exampleModel.xml in a path : alfresco/module/alf-repo-amp/model/exampleModel.xml.
But it throws error and its saying namespace defined in exampleModel.xml is already defined here.I have given a unique namespace for that,but still its showing a same error. Please see the below codings related to this issue and anyone can help me to know why its not taking. Thank you.
<!-- Introduction of new namespaces defined by this model --> <!-- NOTE: The following namespace myc.new.model should be changed to reflect your own namespace --> <namespaces> <namespace uri="my.model.search.content" prefix="myc"/> </namespaces>