03-01-2021 02:08 AM
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
03-01-2021 03:51 AM
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.
03-01-2021 03:51 AM
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.
03-01-2021 05:56 AM
Completely missed the fact that they could just be moved to change the type..
Thanks for the help!
Explore our Alfresco products with the links below. Use labels to filter content by product module.