AEMaaCS: Connected Assets and Content Fragments asset synchronization
✨ This content is AI generated and could be inaccurate. Generative AI Terms
This article describes how assets are synchronized between AEM Assets and AEM Sites when using Content Fragments, and clarifies the roles of Connected Assets and Content Advisor in this process.
Description description
Environment
Adobe Experience Manager as a Cloud Service (all versions)
Symptoms
When using Content Fragments in AEM Sites, there is uncertainty about how assets such as images are synchronized from AEM Assets to Sites. For Sites Pages and Experience Fragments, assets are synced into the Sites program and placed in the Connected Assets folder, maintaining a reference to the original asset in AEM Assets. There is confusion about whether this process applies to Content Fragments and how Content Advisor affects the workflow.
Additional questions include:
- How does the delivery URL path differ from the Connected Assets path?
- How should image renditions be referenced in this scenario?
Steps to reproduce
- Add an asset (e.g., image) to a Content Fragment in AEM Sites.
- Observe the asset reference and location in Sites.
Cause
Assets added to Content Fragments are referenced directly from AEM Assets, not duplicated into Connected Assets, to maintain a single source of truth and optimize asset management.
Resolution resolution
Follow the steps below to understand and manage asset synchronization:
- For Sites Pages and Experience Fragments, when assets are added, they are synchronized into the Connected Assets folder within the Sites program, maintaining a reference to the source asset in AEM Assets.
- When an asset is added to a Content Fragment, the reference is typically stored as a direct link to the asset in AEM Assets. The asset is not duplicated or moved to the Connected Assets folder; the Content Fragment maintains a reference to the asset’s original location.
- Content Advisor helps ensure that assets referenced in Content Fragments are valid and available for delivery. It provides guidance on asset usage and ensures references are maintained to the source asset in AEM Assets.
- The delivery URL path is the public or published URL used to deliver the asset to end users, while the Connected Assets path refers to the internal AEM repository path where the asset is referenced or synchronized for use in Sites Pages or Experience Fragments. For Content Fragments, the reference is typically to the asset’s original path in AEM Assets.
- When referencing an image rendition in a Content Fragment, use the rendition’s path or URL as provided by AEM Assets. Ensure that the correct rendition is selected based on the required resolution or format for your use case.