Page Exporter API | Community
Skip to main content
April 9, 2020
Solved

Page Exporter API

  • April 9, 2020
  • 2 replies
  • 2105 views

Hi Everyone,

I have been trying to implement Page Exporter API programmatically and I seem to not find any information on how to do it. There has only been a comment to use Page Exporter OSGI Service, but not the details on how to use it. Can anyone please help me in this regard?

 

 

Thanks and Regards,

Akshay P

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 sunjot16

I found a few docs that could be helpful.

To programmatically export a page, you can use the PageExporter OSGI service. This service allows you to:
  • Export a page and write to the HTTP servlet response.
  • Export a page and save the zip file at a specific location.
The servlet that is bound to the export selector and the zip extension uses the PageExporter service.

https://docs.adobe.com/content/help/en/experience-manager-64/administering/contentmanagement/page-exporter.html#programmatically-exporting-a-page

 

The Page Exporter Interface can be found here:

https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/javadoc/index.html?com/day/cq/wcm/contentsync/PageExporter.html

 

 

You can also make use of Sling Model Exporters to export data. The following docs may be helpful:

https://helpx.adobe.com/experience-manager/using/aem64_sling_model_exporter.html

https://docs.adobe.com/content/help/en/experience-manager-learn/foundation/development/understand-sling-model-exporter.html

https://docs.adobe.com/content/help/en/experience-manager-learn/foundation/development/develop-sling-model-exporter.html

 

Please do let me know if any of these help.

2 replies

Theo_Pendle
Level 8
April 9, 2020
Can you tell us what you want to do, exactly?
sunjot16
Adobe Employee
sunjot16Adobe EmployeeAccepted solution
Adobe Employee
April 9, 2020

I found a few docs that could be helpful.

To programmatically export a page, you can use the PageExporter OSGI service. This service allows you to:
  • Export a page and write to the HTTP servlet response.
  • Export a page and save the zip file at a specific location.
The servlet that is bound to the export selector and the zip extension uses the PageExporter service.

https://docs.adobe.com/content/help/en/experience-manager-64/administering/contentmanagement/page-exporter.html#programmatically-exporting-a-page

 

The Page Exporter Interface can be found here:

https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/javadoc/index.html?com/day/cq/wcm/contentsync/PageExporter.html

 

 

You can also make use of Sling Model Exporters to export data. The following docs may be helpful:

https://helpx.adobe.com/experience-manager/using/aem64_sling_model_exporter.html

https://docs.adobe.com/content/help/en/experience-manager-learn/foundation/development/understand-sling-model-exporter.html

https://docs.adobe.com/content/help/en/experience-manager-learn/foundation/development/develop-sling-model-exporter.html

 

Please do let me know if any of these help.