Copied to clipboard

Flag this post as spam?

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


  • John Bergman 483 posts 1132 karma points
    Apr 23, 2017 @ 20:28
    John Bergman
    0

    Detect when a node is being saved the first time

    This is probably obvious, but is there a way to reliably determine when a node is being saved for the first time?

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Apr 23, 2017 @ 20:57
    Hendy Racher
    100

    Hi John,

    There's an extension method .IsNewEntity() on IEntity which should do that - https://our.umbraco.org/documentation/reference/events/determining-new-entity

  • 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