Expand my Community achievements bar.

Join us in celebrating the outstanding achievement of our AEM Community Member of the Year!
SOLVED

Pages and Images are deleted upon building the code again in AEM Local

Avatar

Level 3

Hi team,

I was setting up local development environment in AEM. The pages created are deleted upon building the code again. How can we resolve the issue?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Review the ui.content filter configuration. If the filter mode is empty (replace by default), ensure to include mode="merge" in the filter definition.

Screenshot 2023-11-16 at 1.58.28 PM.png

https://jackrabbit.apache.org/filevault/filter.html#filter-elements

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Review the ui.content filter configuration. If the filter mode is empty (replace by default), ensure to include mode="merge" in the filter definition.

Screenshot 2023-11-16 at 1.58.28 PM.png

https://jackrabbit.apache.org/filevault/filter.html#filter-elements