May 27, 2020
Estimated Post Reading Time ~

How to Exclude Child Pages Of A Page When Creating A Package in AEM

Open package manager
http://localhost:4502/crx/packmgr/index.jsp

Click on the crate packge


Enter package name ,version and Group. Click on OK.

Click on the respective package icon then click on EDIT button.

After Edit navigate to filters tab. Click on the "add filter" button.



Add the root path : /content/geometrixx/en/toolbar

Then click on the Add rule button.

exclude : /content/geometrixx/en/toolbar/*.*
include : /content/geometrixx/en/toolbar/jcr:content

Click on the done button. Then save.

To build the package click on the build button.

By Using Regular Expresion
Exclude : /content/geometrixx/en/toolbar/[a-z].*

A filter to create a package for root /content/geometrixx/en and exclude all the page
below /content/geometrixx/en that starts with range a to z.

Exclude : /content/geometrixx/en/toolbar/s.*

A filter to create a package for root /content/geometrixx/en and exclude all the page below
/content/geometrixx/en that starts with s.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.