Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

API for creating package via custom java program

mohanb
Level 4
Level 4

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.

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10

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. 

View solution in original post

5 Replies
smacdonald2008
Correct answer by
Level 10
Level 10

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. 

View solution in original post

Riju-Mahna
Level 3
Level 3

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

Prateek_Agrawal
Level 2
Level 2
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?