Hi all,
Everyt ime I build my test project (AEM WKND) the pages I create below
/content/wknd/language-masters/en are deleted, I also checked the file
src/main/content/META-INF/vault/filter.xml but to me everything seems as it should, can anyone help me?
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/conf/wknd" mode="merge"/>
<filter root="/content/wknd" mode="merge"/>
<filter root="/content/dam/wknd" mode="merge"/>
<filter root="/content/experience-fragments/wknd" mode="merge"/>
<filter root="/content/cq:tags/wknd" mode="merge"/>
<filter root="/content/cq:graphql" mode="merge" />
</workspaceFilter>
Thanking you in advance!
Solved! Go to Solution.
Views
Replies
Total Likes
By default, sample content from ui.content.sample
will be deployed and installed along with the WKND code base. The WKND reference site is used for demo and training purposes and having a pre-built, fully authored site is useful. However, the behavior of including a full reference site (pages, images, etc...) in source control is unusual and is not recommended for a real-world implementation.
Including ui.content.sample
will overwrite any authored content during each build. If you wish to disable this behavior modify the filter.xml file and update the mode=merge
attribute to avoid overwriting the paths.
- <filter root="/content/wknd" />
+ <filter root="/content/wknd" mode="merge"/>
Can you use like this
<filter root="/content/wknd">
<include pattern="/content/wknd/language-masters/en(.*)"/>
</filter>
Views
Replies
Total Likes
By default, sample content from ui.content.sample
will be deployed and installed along with the WKND code base. The WKND reference site is used for demo and training purposes and having a pre-built, fully authored site is useful. However, the behavior of including a full reference site (pages, images, etc...) in source control is unusual and is not recommended for a real-world implementation.
Including ui.content.sample
will overwrite any authored content during each build. If you wish to disable this behavior modify the filter.xml file and update the mode=merge
attribute to avoid overwriting the paths.
- <filter root="/content/wknd" />
+ <filter root="/content/wknd" mode="merge"/>
Views
Likes
Replies