Content updates to AEM instance
Hi Everyone,
I have a requirement to move our customized Adobe components into a proxy folder and update all content that currently references these components so they point to the new proxy versions.
Example:
Current component: button
New proxy component: buttongl
This means I need to update all pages to use the proxy component by modifying the sling:resourceType for every instance of the old button.
Adobe Support recommended importing the content into code, applying the updates there, and then deploying through Cloud Manager (since we’re on AEM Cloud).
I tried this approach in a demo project, but so far I don’t see my changes reflected in the AEM instance — currently testing on localhost.
Steps I followed:
- Created a demo project, authored a new content page, and synced back to source code for making changes

2: Filter.xml

3: build using command: mvn clean install -PautoInstallSinglePackage
4: Verify the changes are reflected in crxde

Content.xml
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
jcr:primaryType="cq:Page">
<jcr:content
cq:lastModified="{Date}2025-09-23T20:13:14.268-07:00"
cq:lastModifiedBy="admin"
cq:template="/conf/demo/settings/wcm/templates/page-content"
jcr:primaryType="cq:PageContent"
jcr:title="Ratheesh Page"
sling:resourceType="demo/components/page">
<root
jcr:primaryType="nt:unstructured"
sling:resourceType="demo/components/container"
layout="responsiveGrid">
<container
jcr:primaryType="nt:unstructured"
sling:resourceType="demo/components/container"
layout="responsiveGrid">
<title
jcr:primaryType="nt:unstructured"
sling:resourceType="demo/components/title"/>
<container
jcr:primaryType="nt:unstructured"
sling:resourceType="demo/components/container"
layout="responsiveGrid">
<image
jcr:created="{Date}2025-09-23T20:12:15.392-07:00"
jcr:createdBy="admin"
jcr:lastModified="{Date}2025-09-23T20:12:15.392-07:00"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
sling:resourceType="demo/components/image"
fileReference="/content/dam/digital/websites/products/camouflage-nanohybrid-composite/clinical-images/case-1/AntBelleglassafter.jpg"
imageFromPageImage="false"/>
<button
jcr:created="{Date}2025-09-23T20:12:22.489-07:00"
jcr:createdBy="admin"
jcr:lastModified="{Date}2025-09-23T20:13:14.262-07:00"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Ratheesh Button2"
sling:resourceType="demo/components/button"
linkTarget="_self"/>
<button_451314813
jcr:created="{Date}2025-09-23T20:12:36.223-07:00"
jcr:createdBy="admin"
jcr:lastModified="{Date}2025-09-23T20:12:56.013-07:00"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Ratheesh Button"
sling:resourceType="demo/components/buttongl"
linkTarget="_self"/>
</container>
</container>
</root>
</jcr:content>
</jcr:root>
filter.xml:
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/content/demo/us/en/RatheeshPage/jcr:content/root/container/container/button_451314813" mode="update_properties"/>
<filter root="/conf/demo" mode="merge"/>
<filter root="/content/demo" mode="merge">
</filter>
<filter root="/content/dam/demo" mode="merge">
<exclude pattern="/content/dam/demo(/.*)?"/>
<include pattern="/content/dam/demo/jcr:content(/.*)?"/>
</filter>
<filter root="/content/dam/demo/asset.jpg" mode="merge"/>
<filter root="/content/experience-fragments/demo" mode="merge"/>
</workspaceFilter>