API for creating package via custom java program

Avatar

Avatar

mohanb

Avatar

mohanb

mohanb

23-09-2016

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

23-09-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. 

Answers (3)

Answers (3)

Avatar

Avatar

Veena_Vikram

MVP

Avatar

Veena_Vikram

MVP

Veena_Vikram
MVP

05-01-2018

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

04-01-2018

Avatar

Avatar

Riju_Mahana

Avatar

Riju_Mahana

Riju_Mahana

04-01-2018

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