I'm trying to change a child association from one model type to another so that we can remove old models from our system to clean things up a bit.
Is there a way to easily change the type of a primary child association? Currently when using deleteChildAssoc the child node is also deleted when isPrimary is set. And there doesn't seem to be a way to create a new primary association
Solved! Go to Solution.
I think that if the child association is primary for that node, probably the best way to change it is moving the node from a branch to another one where you can create a new instance of your own child association.
I think that if the child association is primary for that node, probably the best way to change it is moving the node from a branch to another one where you can create a new instance of your own child association.
Completely missed the fact that they could just be moved to change the type..
Thanks for the help!
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.