Copied to clipboard

Flag this post as spam?

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


  • Joshua Walsh 30 posts 151 karma points
    Jun 23, 2015 @ 06:21
    Joshua Walsh
    0

    Saving/Saved event - How can I get old properties

    Hi all,

    I need to track when a Content node is changed. I need to be able to retrieve the old and new values of various properties.

    The most important is name. When an item is renamed I need to perform an operation that needs to know both the old name and the new name of the item.

    How can I get this information in the Saving/Saved events?

    Thanks,

    Josh

  • Joshua Walsh 30 posts 151 karma points
    Jun 23, 2015 @ 07:27
    Joshua Walsh
    0

    Got this working using ContentService.GetVersions(myPage.Id).First().

    If there's a better way to do this please tell me.

  • 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