Exported ZIP from Page Exporter missing /var folder when using cq:designPath
Hi Adobe Community,
We’re using the default page exporter template in AEM to generate ZIP files. In one of our sites, the page has the cq:designPath property set, and the exported ZIP includes the /etc/designs folder — but does not include the /var folder, which results in missing clientlibs needed to render the page as a static HTML.
Interestingly, in the same instance, another site that doesn’t use the cq:designPath property correctly exports the ZIP including the /var folder.
We’re trying to understand:
- What’s the expected behavior when cq:designPath is used in a page?
- How can we ensure that the /var folder is also included in the export when using cq:designPath?
- Is there a way to explicitly define that in the export template nodes?
Additionally, the official documentation (https://experienceleague.adobe.com/en/docs/experience-manager-65/content/sites/administering/contentmanagement/page-exporter) mentions as a troubleshooting step that /var/contentsync can be deleted and will regenerate. However, we tried this in both a local and DEV environment, and the folder did not regenerate.
Any guidance or additional documentation about each available node in the export template (especially the design and rewrite nodes and their required properties) would be very helpful.
Thanks in advance!