Referenced assets are published when only the page is edited in Adobe Experience Manager

This article explains a scenario in Adobe Experience Manager (AEM) where publishing a page also publishes its referenced assets, even if those assets weren’t modified, and outlines steps to review and resolve this behavior.

Description description

Environment

Adobe Experience Manager (AEM)

Symptoms

When only a page is edited and then published (activated), referenced assets such as images are also published, even though the assets themselves weren’t changed. The expected behavior is that only the edited page should be published, and unmodified referenced assets shouldn’t be included in the publication payload.

Cause

This behavior is typically caused by custom activation workflows or missing asset properties (such as cq:lastReplicatedBy) that affect how referenced assets are included in the publication process. In standard AEM workflows, only the edited page is published if referenced assets are unchanged.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Identify if a custom activation workflow is being used for page publication.
  2. Compare the custom workflow’s logic with the standard AEM activation workflow to determine if referenced assets are being intentionally included in the payload.
  3. Review the properties of the referenced assets, specifically checking for the presence of the cq:lastReplicatedBy property. Missing properties may impact workflow decisions.
  4. Inspect the workflow payload to confirm which resources are included during publication.
  5. If the issue isn’t reproducible in a standard AEM environment (For example: only the page is published when using the default workflow), adjust the custom workflow logic to ensure only the intended resources are included.
  6. After making changes, test by editing and publishing a page to verify that only the page is published and unmodified referenced assets aren’t included.
recommendation-more-help
experience-cloud-kcs-help-kbarticles