Forum Discussion

Christophe Humbert's avatar
Christophe Humbert
Iron Contributor
Nov 01, 2018
Solved

Expiration date for News pages

In modern sites, is there a way out of the box to set an expiration date on a News page?   Or do I need to deploy on each site an expiration date property, and use the property filter on the News W...
  • Fromelard's avatar
    Nov 06, 2018

    Nothing is available built-in

    You can look in 2 directions for that, but based on a custom field to add into the "post" content type placed into your modern library.

     - Develop a PowerShell script to get all the pages and check the end publication date and delete or change the publication date (remove 1 year to place it below)

     - Try a Flow dev to manage the same case

     

    There is now a flow for the approval process into the modern page, that can give you the direction to apply

     

    Fab

Resources