Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Page Exporter API

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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

 

The Page Exporter Interface can be found here:

https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/javadoc/in...

 

 

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

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

 

Please do let me know if any of these help.

View solution in original post

2 Replies

Avatar

Level 10
Can you tell us what you want to do, exactly?

Avatar

Correct answer by
Employee

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

 

The Page Exporter Interface can be found here:

https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/javadoc/in...

 

 

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

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

 

Please do let me know if any of these help.