내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Export content from all AEM pages

Avatar

Level 1

Hello, I'm looking for a way to review all content and pages on our AEM site, in order to identify/update pages with outdated content. I have a couple of questions:

1) Is there a way to export content from all AEM pages into a Word document and still retain the images, styling, etc? 

2) How can I sort the pages based on "date last updated"? That will help me prioritize which pages to review first.

 

 

 

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

1.How can I sort the pages based on "date last updated"? That will help me prioritize which pages to review first.

 

In sites.html go to list view for sorting . 

 

Also to compare the page you can use ACS commons package /acs-commons/content/page-compare.html

 

webcoholic_0-1650522517127.png

 

Hope it helps.

 

Himanshu Jain

원본 게시물의 솔루션 보기

2 답변 개

Avatar

Community Advisor

Dear @cindychenjmh 

1. As per my understanding there is no such Out-of-the-box functionality available in AEM, you have to develop custom OSGI services or component, one way to achieve using Apache POI library.
Apache POI library helps you to deal with MS-Word documents
eg.

import java.io.File;
import java.io.FileOutputStream;
import org.apache.poi.xwpf.usermodel.XWPFDocument;

public class CreateDocument {
   public static void main(String[] args)throws Exception  {
      //Blank Document
      XWPFDocument document = new XWPFDocument(); 
		
      //Write the Document in file system
      FileOutputStream out = new FileOutputStream( new File("createdocument.docx"));
      document.write(out);
      out.close();
      System.out.println("createdocument.docx written successully");
   }
}

for more information - Apache POI example

2. You may use in built Query tool or implement custom component to generate report with such pages. for more information take a look at - Query Builder API

Hope this helps you!

Regards,

Santosh


Santosh Sai

AEM BlogsLinkedIn


Avatar

정확한 답변 작성자:
Community Advisor

1.How can I sort the pages based on "date last updated"? That will help me prioritize which pages to review first.

 

In sites.html go to list view for sorting . 

 

Also to compare the page you can use ACS commons package /acs-commons/content/page-compare.html

 

webcoholic_0-1650522517127.png

 

Hope it helps.

 

Himanshu Jain