How does "Relate copy to original" works?
I have tried playing around with copying nodes, and ticking off "Relate copy to original", but I cannot figure out what this really does? Can anyone give me a 101 on coping nodes?
I would expect it to work something like when you update the original all copied items would be updated as well?
I've asked this question also a few weeks back. Per told me that it creates a relation between original and copy and to see how it works you have to look into umbraco.library:RelatedNodes.
I think we should remove the option in 4.1 and just always automatically relate copied nodes. Much better than people having to decide whether or not it's relevant at the time of the copying.
With the API you can also check what type of relation it is and see that it's a relate-on-copy type so it wouldn't interfere with other relations might added.
How does "Relate copy to original" works?
I have tried playing around with copying nodes, and ticking off "Relate copy to original", but I cannot figure out what this really does? Can anyone give me a 101 on coping nodes?
I would expect it to work something like when you update the original all copied items would be updated as well?
Kind regards
Dennis Milandt
Hi Dennis,
I've asked this question also a few weeks back. Per told me that it creates a relation between original and copy and to see how it works you have to look into umbraco.library:RelatedNodes.
Cheers,
Richard
Thanks. Learned the same thing today at CodeGarden 09 :-)
The relations are being used in the codegarden09.com site also for relating members (I think with sessions and other members).
It doesn't do anything by default. Just keep a relation at the database. It's up to you how you implement it.
Check out the api like Richard said.
I think we should remove the option in 4.1 and just always automatically relate copied nodes. Much better than people having to decide whether or not it's relevant at the time of the copying.
With the API you can also check what type of relation it is and see that it's a relate-on-copy type so it wouldn't interfere with other relations might added.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.