how to archive a group of pages | Community
Skip to main content
AppHaus
Level 2
March 19, 2018
Solved

how to archive a group of pages

  • March 19, 2018
  • 2 replies
  • 1403 views

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!

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 smacdonald2008

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

2 replies

Hemant_arora
Level 8
March 20, 2018

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/

smacdonald2008
smacdonald2008Accepted solution
Level 10
March 20, 2018

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