Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Moving multiple pages to a different location in bulk.

Avatar

Avatar
Validate 1
Level 1
parag_dalal
Level 1

Likes

2 likes

Total Posts

21 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
parag_dalal
Level 1

Likes

2 likes

Total Posts

21 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
parag_dalal
Level 1

09-06-2021

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Ignite 3
Level 5
davidjgonzalezzzz
Level 5

Likes

68 likes

Total Posts

77 posts

Correct Reply

31 solutions
Top badges earned
Ignite 3
Affirm 25
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Ignite 3
Level 5
davidjgonzalezzzz
Level 5

Likes

68 likes

Total Posts

77 posts

Correct Reply

31 solutions
Top badges earned
Ignite 3
Affirm 25
Ignite 1
Give Back 5
Give Back 3
View profile
davidjgonzalezzzz
Level 5

09-06-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

Answers (2)

Answers (2)

Avatar

Avatar
Boost 5
Level 5
Ritesh_M
Level 5

Likes

75 likes

Total Posts

67 posts

Correct Reply

19 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Boost 5
Level 5
Ritesh_M
Level 5

Likes

75 likes

Total Posts

67 posts

Correct Reply

19 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
Level 5

10-06-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

Avatar

Avatar
Give Back 10
MVP
shelly-goel
MVP

Likes

173 likes

Total Posts

324 posts

Correct Reply

87 solutions
Top badges earned
Give Back 10
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile

Avatar
Give Back 10
MVP
shelly-goel
MVP

Likes

173 likes

Total Posts

324 posts

Correct Reply

87 solutions
Top badges earned
Give Back 10
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
shelly-goel
MVP

09-06-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.