Copied to clipboard

Flag this post as spam?

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


  • Rakesh Kumar 22 posts 167 karma points
    Sep 19, 2019 @ 09:22
    Rakesh Kumar
    0

    Get "Publish at" date of node

    Can it be possible to get "Publish at" date of node?

  • Magnus Eriksson 122 posts 362 karma points
    Sep 19, 2019 @ 11:48
    Magnus Eriksson
    0

    As far as I know IPublishedContent only has CreateDate & UpdateDate.

    You can get ReleaseDate via ContentService / IContent (but keep in mind ContentService is uncached and hits the DB every time).

    Regards, Magnus

  • Shaishav Karnani from digitallymedia.com 354 posts 1638 karma points
    Sep 19, 2019 @ 12:19
    Shaishav Karnani from digitallymedia.com
    100

    Hi Rakesh,

    You can possibly do a hack for it as directly you will not get it.

    You can create your own Custom Publish At Date Property and while saving call an event to update records from actual Publish At.

    Now, you get your property in iPublishedContent.

    Hope this helps to solve your issue as I say it's an hack.

    Cheers,

    Shaishav

Please Sign in or register to post replies

Write your reply to:

Draft