Issue
- Turn on Staging
- Create a page
- Create a web content article
- Display the web content on an article with a Web Content Display widget
- Publish everything to Live
- Schedule the web content to expire
- In the web content administration view, click on the 3-dot menu next to the web content→Publish to Live
- Wait for the scheduled time to pass
- Checking the web content article in both environments show the following results:
- In Staging: the web content is shown as expired.
- In Live: the web content is not expired.
Environment
- DXP 7.1
Resolution
-
Go to Control Panel → Configuration → System Settings → Web Content → VIRTUAL INSTANCE SCOPE → Web Content
-
Scroll down and check the following option:
Single Asset Publication Includes Version History
This will set whether the web content version history should be included in single asset publications. -
Click on Update
-
Test the case again and the Web Content Display Portlet will display the content as expired in Live.