Moving multiple pages to a different location in bulk. | Community
Skip to main content
Level 2
June 9, 2021
Solved

Moving multiple pages to a different location in bulk.

  • June 9, 2021
  • 3 replies
  • 3290 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by davidjgonzalezzzz

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

3 replies

shelly-goel
Adobe Employee
Adobe Employee
June 9, 2021

@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.

davidjgonzalezzzzAdobe EmployeeAccepted solution
Adobe Employee
June 9, 2021

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

Ritesh_Mittal
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 10, 2021

@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