Change type of child association

cancel
Showing results for 
Search instead for 
Did you mean: 
alavery
Member II

Change type of child association

Jump to solution

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

1 Solution

Accepted Solutions
openpj
Moderator
Moderator

Re: Change type of child association

Jump 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.

View solution in original post

2 Replies
openpj
Moderator
Moderator

Re: Change type of child association

Jump 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.

alavery
Member II

Re: Change type of child association

Jump to solution

Completely missed the fact that they could just be moved to change the type..

Thanks for the help!