Copied to clipboard

Flag this post as spam?

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


  • tonypellegrino 2 posts 22 karma points
    Jul 22, 2022 @ 00:52
    tonypellegrino
    0

    Using a field to set Unpublish time?

    My dataset is using "Active/Inactive" text to set whether an item should be published or unpublished on Umbraco. How would I go about setting the Unpublished date to the Current Time based on this field? (v3.7.8 on Umbraco v7)

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Aug 08, 2022 @ 13:04
    Richard Soeteman
    0

    Hi,

    You could use the event system (recordImporting) event and set the unpublished date there maybe? Manual shows some examples how to do that.

    Best,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft