Solution:
You can use the following package to achieve this
FOR CQ5.3 and CQ5.4
FOR CQ5.5
FOR CQ5.6 (Also fixes some other issues)
FOR CQ6
The above package might not work for AEM 6 onward because of this feature You might have to do disable POST from Felix console for CSRF token. Add it back after running this tool.
1) Download and Install package using the package manager
2) go to <host>:<port>/apps/tools/components/createPackage/run.html
3) Give your Xpath in XPath value
4) You can also add a comma separate exclude path that you don't want to add to the package.
5) Click on Create config package
6) Now Download the package and also be saved under /etc/packages/CQSupportTool
For example, if you have to create a package of all ACL to migrate from one CQ instance to another you can use xpath query for package as //element(*,rep:ACL)
No comments:
Post a Comment
If you have any doubts or questions, please let us know.