Copied to clipboard

Flag this post as spam?

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


  • Saied 349 posts 674 karma points
    Oct 20, 2015 @ 17:26
    Saied
    0

    Change property on copied content

    I have a content node with a single property called feature post. If I copy the content node to another website, it copies the content node and creates a new id, but it retains the original id for the feature post property. Is it possible to update the feature post property with the new id for the feature post?

    Also, is there a way to copy just the nodes and not any properties associated with them?

  • Alex Skrypnyk 6147 posts 24056 karma points MVP 8x admin c-trib
    Oct 20, 2015 @ 21:18
    Alex Skrypnyk
    0

    Hi Saied,

    You can add your custom logic on copy event and edit all properties of your node.

    Look at content service events:

    https://our.umbraco.org/documentation/reference/events/contentservice-events

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft