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

API for creating package via custom java program

  • September 23, 2016
  • 5 replies
  • 3401 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

smacdonald2008
smacdonald2008Accepted solution
Level 10
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. 

Riju-Mahna
Level 2
January 4, 2018

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

smacdonald2008
Level 10
January 4, 2018
VeenaVikraman
Community Advisor
Community Advisor
January 5, 2018
Prateek_Agrawal
Level 2
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?