Copied to clipboard

Flag this post as spam?

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


  • NSC 12 posts 102 karma points
    Aug 13, 2021 @ 12:37
    NSC
    0

    No UnpublishedDate?

    I can use .PublishedDate on an IContent object but there doesn't seem to be the opposite: UnpublishedDate.

    Is it just called something else or is it just not possible to see when things are unpublished in the code?

  • Alex Skrypnyk (skrypnyk.dev) 6061 posts 23313 karma points MVP 6x admin c-trib
    Aug 13, 2021 @ 13:08
    Alex Skrypnyk (skrypnyk.dev)
    0

    Hi NSC,

    You can use .UpdateDate and check if the content item is published.

    .UpdateDate shows the last save node event, it could be unpublish or no.

    Thanks, Alex

Please Sign in or register to post replies

Write your reply to:

Draft