I'm trying to develop a model that has a custom type and some aspects. Now I have defined a base type called my:document and I want to add an aspect to that type, called my:aspect. I want to have this aspect show up in all the nodes that are from the my:document type and it's children also.
I have tried to add this in the model I downloaded from the model manager. I changed the my_model.xml and inserted the mandatory aspect into the mandatory-aspects element as per the developer guide.
I zipped the model folder and during upload I get an error. The error is "The custom model doesn't support the 'mandatory-aspects' element.".
I run Alfresco Community Edition 201707.
The question is the rationale on why the custom model is not accepting the mandatory-aspect.
Please add your content model xml.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.