AEM 6.5 AP13 | Package overwrites content | Community
Skip to main content
Level 5
February 24, 2023
Solved

AEM 6.5 AP13 | Package overwrites content

  • February 24, 2023
  • 2 replies
  • 1442 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Manu_Mathew_

@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

 

2 replies

Manu_Mathew_
Community Advisor
Manu_Mathew_Community AdvisorAccepted solution
Community Advisor
February 24, 2023

@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

 

santhosh_kumark
Level 6
February 24, 2023

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?lang=en

 

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"

 

Level 5
February 24, 2023

Thank you all.

I followed the link and found the things are working.

Appreciate your help guys.

 

Regards,

Pradeep