Expand my Community achievements bar.

SOLVED

AEM XF (Experience Fragments) vs. CF (Content Fragment)

Avatar

Level 1

I know that when I go to publish a page I can either select "Now" or "Set a future date".

Is it possible to publish an XF or CF that is on a page, alone? In other words, I have a live page in production but I add an XF or CF to the live copy and want to set a future publish date as well as a future removal date for the fragment.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @UXGUYDAN 

Yes, it is possible to publish or unpublish an XF (Experience Fragment) or CF (Content Fragment) on a live page independently with scheduled dates.

Schedule Publish: Navigate to the XF or CF in AEM, select Manage Publication → Publish Later, set the future publish date, and confirm.

Schedule Removal: Navigate to the XF or CF, select Manage Publication → Unpublish Later, set the future unpublish date, and confirm.

The live page will dynamically reflect the XF or CF updates at the scheduled times without requiring you to republish the page. This ensures seamless updates and content lifecycle management without disrupting the production environment.

Regards,

Shiv Prakash

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hi @UXGUYDAN 

Yes, it is possible to publish or unpublish an XF (Experience Fragment) or CF (Content Fragment) on a live page independently with scheduled dates.

Schedule Publish: Navigate to the XF or CF in AEM, select Manage Publication → Publish Later, set the future publish date, and confirm.

Schedule Removal: Navigate to the XF or CF, select Manage Publication → Unpublish Later, set the future unpublish date, and confirm.

The live page will dynamically reflect the XF or CF updates at the scheduled times without requiring you to republish the page. This ensures seamless updates and content lifecycle management without disrupting the production environment.

Regards,

Shiv Prakash

Avatar

Community Advisor

To add to what has already been mentioned, deactivating or activating the XF or CF might not immediately reflect on the live page if the page is cached in the CDN and the XF or CF is being rendered from the publisher. In such cases, you would need to clear the CDN and dispatcher cache for the changes to be visible. It ultimately depends on how the XF or CF is being rendered on your live page. 

If the XF or CF are added using ESI or included through the Sling Dynamic Include option in AEM, then cache clearing is not necessary. 

https://experienceleague.adobe.com/en/docs/experience-manager-learn/foundation/development/set-up-sl...

Avatar

Level 3

Additionally, if the change affects more than just XF or CF and requires modifications to the entire page for future releases, you can also consider utilizing Launches.

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/sites/authoring/...

 

Avatar

Administrator

@UXGUYDAN Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni