In AEM 6.0, whenever I install any package it overwrites existing structure on the server. I am creating package and tried with different options such as merge, mergepreserve but it always overwrite existing contents while installing package.
For eg: If "testpackage" has /content/test/pages in it and target author instance has test pages /content/test/pages/existingpage. After installing "testpackage" on target author instance, I would like to preserve "existingpage" under content path /content/test/pages.
How can I achieve that?
I tried diffferent options provided in package manager but nothing worked - please find screenshot enclosed.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Vipul,
Options 'AC Handling' you have captured is applicable for the ACLs (Access permissions) for the pages that you would be creating/overwriting [1]
[1] http://docs.adobe.com/docs/en/cq/5-6-1/administering/package_manager.html#Package Settings
While you are installing a package, there is no merge option. It is clearly cautioned that it would overwrite or delete the existing content [2]
[2] http://docs.adobe.com/docs/en/cq/5-6-1/administering/package_manager.html#Installing Packages
Views
Replies
Total Likes
It looks like you cannot specify a mode while creating a package in crx package manager. but if you are creating a package externally, e.g. through a maven plugin - you can specify in filter.xml if the content should be merged.
//filter.xml
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/etc/blah/blah" mode="merge" />
</workspaceFilter>
Views
Replies
Total Likes
Hi Vipul,
Options 'AC Handling' you have captured is applicable for the ACLs (Access permissions) for the pages that you would be creating/overwriting [1]
[1] http://docs.adobe.com/docs/en/cq/5-6-1/administering/package_manager.html#Package Settings
While you are installing a package, there is no merge option. It is clearly cautioned that it would overwrite or delete the existing content [2]
[2] http://docs.adobe.com/docs/en/cq/5-6-1/administering/package_manager.html#Installing Packages
Views
Replies
Total Likes
You can create a service ticket for this feature and probably Adobe might look at the pros n cons of having it.
Wow - am surprised that we can't merge contents of package and AEM can't allow to do that from package.
Thanks for response - we'll login defect against product and hope for the best.
Views
Replies
Total Likes
Wow. Adobe never added such a basic feature. It could be a single drop down. Par for the course from a company that cares more about selling to VPs than making the lives of developers/admins easier.
Views
Likes
Replies
Views
Like
Replies