04-09-2018 10:28 AM
Hello, I'm sorry if this has been asked before but I couldn't find any clear information about my problem. I've created a few custom models using the model manager, I read in a few tutorials that in order to add associations between types, I need to do it manually in the XML, the problem is I can't find any XML generated by the model manager.
Is it even possible to add associations to a model that was created using the model manager? Should I just ditch the model manager and implement my models directly?
Thanks in advance.
04-09-2018 10:36 AM
If your models require associations, then you have to switch to XML approach, as Model Manager tool does not support this feature.
You can export all your models to XML (Model Manager tool generates a ZIP with the XML inside) and start working by your own. Probably this is the best tutorial to understand how to work with Alfresco Content Models: https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html
04-09-2018 10:36 AM
If your models require associations, then you have to switch to XML approach, as Model Manager tool does not support this feature.
You can export all your models to XML (Model Manager tool generates a ZIP with the XML inside) and start working by your own. Probably this is the best tutorial to understand how to work with Alfresco Content Models: https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html
04-09-2018 10:41 AM
Thank you Angel, I'll go ahead and do it without the model manager.
01-15-2019 03:22 AM
If I have already activated model from the model manager and Aspects from the model is already applied to the documents and data in the properties is also populated and it is important.
So, in this case, how could we switch to XML approach?
Explore our Alfresco products with the links below. Use labels to filter content by product module.