Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

AEM 6.5 AP13 | Package overwrites content

Avatar

Level 6

Dear Folks,

 

I am using AEM6.5 SP13.

 

When I create package and reinstall, it overwrites the content changes done on pages, either new component added or modified existing, even page properties also getting overwrites.

 

In earlier versions of AEM package was merging the content. Not sure if this is AEM6.5 SP13 specific issue.

Any help on this is highly appreciated.

 

Thanks,

Pradeep

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@pradeepdubey82 I believe by default it would be in replace mode, you may need to write a filter.xml to change it to merge.

ref.

https://medium.com/tech-learnings/how-to-enable-merge-mode-for-the-aem-packages-ae177e46460f

 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

@pradeepdubey82 I believe by default it would be in replace mode, you may need to write a filter.xml to change it to merge.

ref.

https://medium.com/tech-learnings/how-to-enable-merge-mode-for-the-aem-packages-ae177e46460f

 

Avatar

Community Advisor

Hi @pradeepdubey82 
I don't think any changes in this release related to crx package manager.

6.5 SP13 release notes:https://experienceleague.adobe.com/docs/experience-manager-65/release-notes/service-pack/6.5.13.html...

 

In AEM, filter.xml file used to filter the target paths of a package. The filter can be changed here.

<workspaceFilter version="1.0">
    <filter root="/etc/map" mode="merge" />
</workspaceFilter>
replace : This is the normal behavior. Existing content is replaced
 completely by the imported content, i.e. is overridden or deleted
 accordingly.The normal mode"

 

Avatar

Level 6

Thank you all.

I followed the link and found the things are working.

Appreciate your help guys.

 

Regards,

Pradeep