How to get content of content fragment in the previous version? | Community
Skip to main content
Level 5
April 9, 2018
Solved

How to get content of content fragment in the previous version?

  • April 9, 2018
  • 1 reply
  • 1955 views

Using AEM 6.3 core version 2 and created a content fragment model.

After creating a fragment based on this content fragment model, I can see a list of versions under the Timeline for a particular content fragment, but how to view the content from the previous content fragment?    Where does Adobe store the content fragment of previous versions?

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edubey

1. Version for CF are stored in similar as it does for pages under /jcr:system/jcr:versionStorage

2. You would have to revert to previous version.

3. Specific version - API to get any particular version of CF https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/com/adobe/cq/dam/cfm/Versionable.html#getVersionedContent(com.adobe.cq.dam.cfm.VersionDef)

1 reply

edubey
edubeyAccepted solution
Level 10
April 10, 2018

1. Version for CF are stored in similar as it does for pages under /jcr:system/jcr:versionStorage

2. You would have to revert to previous version.

3. Specific version - API to get any particular version of CF https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/com/adobe/cq/dam/cfm/Versionable.html#getVersionedContent(com.adobe.cq.dam.cfm.VersionDef)