Expand my Community achievements bar.

SOLVED

Moving multiple pages to a different location in bulk.

Avatar

Level 2

Hello, guys, how are you doing?

The people that manage the content on our AEM are in need of moving thousands of pages from one location to another.

e.g. from

/content/starting/path

/content/a/different/path


In the second path were the pages should end up, there are already other pages, that should not be affected by the change.
Is there a way to move pages in bulk in AEM?

I have tried using WebDav but with little success.

I also attemped create a package and modify its filter.xml, but that led to unexpected results...

Does anyone of you have any experience with doing this?
Would you be willing to share it?

1 Accepted Solution

Avatar

Correct answer by
Employee

I would look at using a tool like ACS Commons Renovator [1] to do this. Im not confident AEM's Move feature would play well w/ 1000's of pages.

 

The problem with doing this via WebDav or CRXDE list is you almost certainly will need  to update references to content IN this moved tree. Low-level move operations wont update these references, resulting in a ton of broken refs. The UI's Move action updates references as does Renovator.

 

[1] https://adobe-consulting-services.github.io/acs-aem-commons/features/mcp-tools/renovator/index.html

View solution in original post

3 Replies

Avatar

Employee Advisor

@parag_dalal 

Did you try moving through crxde drag-drop? I don’t think it would be possible through the UI as references needs to be updated as well. You can also try doing it programmatically.

Avatar

Correct answer by
Employee

I would look at using a tool like ACS Commons Renovator [1] to do this. Im not confident AEM's Move feature would play well w/ 1000's of pages.

 

The problem with doing this via WebDav or CRXDE list is you almost certainly will need  to update references to content IN this moved tree. Low-level move operations wont update these references, resulting in a ton of broken refs. The UI's Move action updates references as does Renovator.

 

[1] https://adobe-consulting-services.github.io/acs-aem-commons/features/mcp-tools/renovator/index.html

Avatar

Community Advisor

@parag_dalal 

 

You can simply create a Sling servlet and then can use power of Sling API (JCR API will also work, wink) CRUD operation to move your resources from one place to another. It should be quick and reliable.

 

https://sling.apache.org/documentation/the-sling-engine/sling-api-crud-support.html