AEM as a Cloud Service: Frontend pipeline configuration not replicated to publish

Adobe Experience Manager (AEM) as a Cloud Service frontend pipeline deployment metadata under /conf/global/frontend/deployments isn’t intended for direct use on Publish instances. To resolve the issue, enable the Front-End Pipeline for the site, configure cq:conf, and use HtmlPageItemsConfig to provide the current static asset URL information on Publish.

Description description

Environment

Adobe Experience Manager as a Cloud Service (AEMaaCS), all versions

Issue/Symptoms

  • After a frontend pipeline deployment in Cloud Manager, the configuration node used for static asset URL generation exists on Author but is missing on Publish.
  • Static asset URLs constructed using the hash from this node may not resolve correctly on Publish.
  • Manually replicating /conf to Publish temporarily resolves the issue but isn’t persistent across deployments.

Root Cause

Frontend pipeline deployment metadata under /conf/global/frontend/deployments is intended for internal use and isn’t designed to be consumed directly on Publish instances. In AEM as a Cloud Service, /conf is mutable content and is replicated to Publish when referenced by a published site configuration. The supported approach for static asset delivery is to use the HtmlPageItemsConfig node under /conf/.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Enable the Front-End Pipeline for the site. This creates SiteConfig and HtmlPageItemsConfig nodes under /conf//sling:configs.
  2. Ensure that the pages have the cq:conf property pointing to /conf/.
  3. On each deployment, the frontend pipeline writes the current hash to the prefixPath property of /conf//sling:configs/com.adobe.cq.wcm.core.components.config.HtmlPageItemsConfig/jcr:content.
  4. Use AEM’s HtmlPageItems mechanism to automatically inject the correct static asset URLs using the current hash. These configuration nodes are replicated to Publish instances.
  5. After deployment, verify on Author that prefixPath under HtmlPageItemsConfig/jcr:content matches the expected hash from the pipeline.
  6. Confirm that the same HtmlPageItemsConfig node exists on Publish. If it doesn’t, publishing /conf/ is a valid interim step.
  7. Don’t rely on manual replication of /conf/global/frontend/deployments. It isn’t designed for persistent use on Publish and is overwritten by subsequent deployments.
recommendation-more-help
experience-cloud-kcs-help-kbarticles