Using Expiration and Review Dates in Web Content

Available: Liferay DXP/Portal 7.4+

You can set expiration and review dates for web content articles to manage time-sensitive content. When enabled, file owners, reviewers, or folder subscribers are notified via email of articles that have reached their expiration or review date at configurable intervals, based on the Web Content system setting.

When an article expires, it is deactivated and cannot be used or edited. To reactivate the article, you must change its expiration date or disable article expiration. While expired, the article cannot be accessed.

By contrast, when an article requires review, it remains available for use. Reaching the article’s review date only triggers user notifications and does not affect the article’s availability.

Enabling Expiration and Review Dates

By default, web content articles never expire or require review. However, you can change this when creating or editing articles.

Enable or disable expiration and review for an individual article.

When editing multiple articles, expiration is done through the toolbar or action menu.

You can select multiple articles and then expire them through the toolbar.

To activate expiration or review, uncheck the Never Expire or Never Review checkbox. The default review and expiration dates are set to one year from the time of activation. Change the dates if needed.

Liferay checks for articles that have reached their expiration or review dates at a specific check interval.

Configuring the Check Interval

By default, Web Content checks article expiration and review dates every 15 minutes. You can customize this.

  1. Click Global Menu (Global Menu) → Control PanelSystem SettingsWeb ContentWeb Content.

  2. Use the Check Interval field to set the minutes between article checks.

    Enter the number of minutes between checks.

  3. Click Save when finished.

Now the system checks for expiration or review dates according to the interval you set.

Warning

If you require this feature to be disabled, blacklist the component. Do not enter zero or a negative number for the interval.

Configuring Notification Emails

Liferay sends notification emails when a web content article expires, is updated, or requires review. These messages go to the article’s owners, reviewers, and users subscribed to the folder. You can customize the templates provided for these emails.

  1. Navigate to the Web Content application in a site or asset library.

  2. Click Options (Options Button) in the Application Bar and select Configuration.

  3. In the configuration screen, use the options under Notifications to update settings and templates:

    SectionConfiguration OptionDescription
    SettingsStructuresHighlight structures in the Web Content app to simplify content management.
    NotificationsEmail FromSet the sender name and email address for notification emails.
    NotificationsWeb Content AddedConfigure the email template for newly added content.
    NotificationsWeb Content ExpiredConfigure the email template for expired content.
    NotificationsWeb Content Moved from FolderConfigure the email template for content moved out of a folder.
    NotificationsWeb Content Moved to FolderConfigure the email template for content moved into a folder.
    NotificationsWeb Content ReviewConfigure the email template for content under review.
    NotificationsWeb Content UpdatedConfigure the email template for updated content.

    Edit the notification emails in the Configuration modal window.

  4. In the Email From option, set the sender name and address for all notification emails. Click Save to apply your changes.

  5. To customize an email template, select the desired option and check Enabled to activate it.

    Configure the email template.

  6. Enter a subject and body for the email. You can include template variables such as [$ARTICLE_TITLE$] to customize the message content.

    A list of available variables appears under Definition of Terms.

  7. Click Save to apply your changes.

Repeat the previous steps to configure other email templates.

Capabilities

Product

Education

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy