Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dennis Milandt 190 posts 517 karma points
    Apr 06, 2009 @ 18:36
    Dennis Milandt
    0

    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

  • Richard Soeteman 4054 posts 12927 karma points MVP 3x
    Apr 06, 2009 @ 19:47
    Richard Soeteman
    100

    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

  • Dennis Milandt 190 posts 517 karma points
    Jun 23, 2009 @ 16:34
    Dennis Milandt
    0

    Thanks. Learned the same thing today at CodeGarden 09 :-)

  • Tommy Poulsen 514 posts 708 karma points
    Jun 23, 2009 @ 18:48
    Tommy Poulsen
    0

    The relations are being used in the codegarden09.com site also for relating members (I think with sessions and other members).

     

  • Bert 128 posts 251 karma points
    Jun 24, 2009 @ 12:55
    Bert
    0

    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.

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Jun 24, 2009 @ 13:00
    Niels Hartvig
    1

    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.

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

Please Sign in or register to post replies