Creating associations via XML doesn't work

cancel
Showing results for 
Search instead for 
Did you mean: 
abhinavmishra14
Advanced

Re: Creating associations via XML doesn't work

As Jeff Potts  has explained in his "Working With Custom Content Types in Alfresco" tutorial, Associations come in two flavors: Peer Associations and Child Associations. Peer Associations are just that— they define a relationship between two objects but neither is subordinate to the other. Child Associations, on the other hand, are used when the target of the association (or child) should not exist when the source (or parent) goes away. This works like a cascaded delete in a relational database- Delete the parent and the child goes away.

You need to get familiar with Alfresco content model and terminologies. 

Please go through "Working With Custom Content Types in Alfresco" tutorial:

https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html#associat...

There are other tutorials as well, you must go through these tutorials as well:

https://ecmarchitect.com/alfresco-developer-series-tutorials/

Hope this helps.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
abhinavmishra14
Advanced

Re: Creating associations via XML doesn't work

Model Manager doesn't allow editing models that have been configured in XML and bootstrapped through Spring (static models).

Refer this doc for more details: https://docs.alfresco.com/6.0/concepts/admintools-cmm-intro.html

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
kwiesinger
Member II

Re: Creating associations via XML doesn't work

Thank you very much for your help, this will help for sure.

abhinavmishra14
Advanced

Re: Creating associations via XML doesn't work

Good luck. 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)