Expand my Community achievements bar.

SOLVED

how to archive a group of pages

Avatar

Level 2

Hello

Is there a way to archive pages under a group instead of opening up each page under properties to select archive?

Thank you for your help!

1 Accepted Solution

Avatar

Correct answer by
Level 10

You could also write a workflow to modify pages. In your workflow, you can use the AEM Page Manager API to perform page operations.

See PageManager API here:

"The CQ5 Quickstart and Web Application."

View solution in original post

2 Replies

Avatar

Level 8

You may write an osgi service/servlet to find all the pages with a specific template and archive.

or you can achieve the same using groovy script

https://hashimkhan.in/aem-adobecq5-code-templates/groovy-script/

Avatar

Correct answer by
Level 10

You could also write a workflow to modify pages. In your workflow, you can use the AEM Page Manager API to perform page operations.

See PageManager API here:

"The CQ5 Quickstart and Web Application."