March 14, 2020
Estimated Post Reading Time ~

How to exclude child pages of a page when creating a package in AEM/CQ5 using package manager (crx/packmgr/index.jsp)

Open package manager


        http://localhost:4502/crx/packmgr/index.jsp

Click on the crate package



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

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

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



Add the root path:    /content/we-retail/us/en/jcr:content

Click on the done button. Then save.

To build the package click on the build button. 

By Using Regular Expression

Exclude: /content/we-retail/us/en/[a-z].*
A filter to create a package for root /content/we-retail/us/en and exclude all the page below /content/we-retail/us/en that starts with range a to z.

Exclude: /content/we-retail/us/en/s.*
A filter to create a package for root /content/we-retail/us/en and exclude all the page below /content/geometrixx/en/toolbar that starts with s.

INSTALL THE PACKAGE ON YOUR LOCAL INSTANCE

1.     Open the AEM UI. In a Web browser enter http://localhost:4502/. Log in as an Administrator.
2.     Select Tools > Deployment > Packages.
3.     From the Package Manager UI, select the Upload Package.
4.     Browse to the location where you downloaded the AEM 5.6.1 package (aem-docs-5-6-1.zip).
5.     Select the package and click OK.
6.     Once the package has been uploaded you will need to install it.
7.     In Package Manager UI, locate the package and select Install.
8.     On the confirmation, dialog select Install again. Note: the installation will take a few minutes.



By aem4beginner

No comments:

Post a Comment

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