API for creating package via custom java program | Community
Skip to main content
mohanb
New Participant
September 23, 2016
Solved

API for creating package via custom java program

  • September 23, 2016
  • 5 replies
  • 3399 views

Hi

Is there API support for creating package via custom program? Idea is to create package file with structure and .content.xml files as required and import it onto AEM instance for migration content. Let know if there is any API support.

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

Yes there is -- see this Javadoc:

https://docs.adobe.com/docs/en/cq/5-5/javadoc/com/day/jcr/vault/packaging/PackageManager.html

Hope this helps... 

We will add this use case to our HELPX community articles so we have a full code example of this use case. 

5 replies

Prateek_Agrawal
New Participant
July 12, 2020
HI, since all the documentation has been restructured, does anybody have the link to the updated documentation where it has been illustrated on how to create the packages using Java code?
VeenaVikraman
New Participant
January 5, 2018
smacdonald2008
New Participant
January 4, 2018
Riju-Mahna
New Participant
January 4, 2018

This link is not working anymore. Is there a way to switch them to the new portal ?

smacdonald2008
smacdonald2008Accepted solution
New Participant
September 23, 2016

Yes there is -- see this Javadoc:

https://docs.adobe.com/docs/en/cq/5-5/javadoc/com/day/jcr/vault/packaging/PackageManager.html

Hope this helps... 

We will add this use case to our HELPX community articles so we have a full code example of this use case.