API for creating package via custom java program | Community
Skip to main content
mohanb
Level 4
Sep 23, 2016 7:41 PM UTC
Solved

API for creating package via custom java program

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.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Sep 23, 2016 8:03 PM UTC

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
Level 2
Jul 12, 2020 11:19 AM UTC
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?
Translate
VeenaVikraman
New Participant
Jan 5, 2018 2:17 PM UTC
smacdonald2008
Level 10
Jan 4, 2018 6:58 PM UTC

New Javadoc URL -- "The CQ5 Quickstart and Web Application."

Translate
Riju-Mahna
Level 2
Jan 4, 2018 6:56 PM UTC

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

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Sep 23, 2016 8:03 PM UTC

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. 

Translate