cancel
Showing results for 
Search instead for 
Did you mean: 

Child Assocation Propagation

benjamin_doughe
Champ in-the-making
Champ in-the-making
I understand that actions like delete propagate though to child associations.  Recently I noticed a child association was not removed, this I believe was due to it having more that one parent association.

Here are my questions:

Is it possible to model Alfresco so operations like delete will propagate through to child associations,  even if a child has 2 or more parents?

Am I correct in believing that the current functionality propagates delete to children when there is only one parent?

What is the primary attribute on a parent association?
2 REPLIES 2

derek
Star Contributor
Star Contributor
Hi,

Each child has exactly one primary parent - the parent that it was created beneath or that it was moved to.  Deletions propagate when the primary relationship is destroyed.  You can see whether a relationship isPrimary but you can't alter the relationship without moving the node.

Regards

benjamin_doughe
Champ in-the-making
Champ in-the-making
Would there be anyway to configure/create a child (in code if required) to have 2 or more primary parents, so if any one parent is removed so is the child?

If there can only be one primary what do you think would be the best workaround for the behaviour I require?

Thanks,
Ben.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.