Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

API for creating package via custom java program

Avatar

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

Avatar

Correct answer by
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

Avatar

Correct answer by
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. 

Avatar

Level 3

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

Avatar

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?