May 27, 2020
Estimated Post Reading Time ~ < 1 Min

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
Pack_create_1

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.

pack_add_filter3

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.
aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

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

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.