Way to automate content package creation | Adobe Higher Education
Skip to main content
GK-007
Level 9
October 16, 2015
Respondido

Way to automate content package creation

  • October 16, 2015
  • 4 respostas
  • 1438 Visualizações

Hi All,

We are daily taking content backup which includes pages ,tags and configs.All these we are doing by creating a package(zip) and storing it in s shared drive.We want to automate this package creation activity.This operation is not available as part of JMX console also so we could not able to through CURL script.

Please help  me if anyone has any idea about this

Thanks,

Kishore

Este tópico foi fechado para respostas.
Melhor resposta por Sham_HC

Kishore@CQ wrote...

Thanks Jorg for your quick response.

Link provided by you is informative and it has defined process to create a package with one content path only but i want to create package with multiple content paths as below.

/content/xxxxxx
/content/dam/xxxxx
/etc/designs/xxxxxx/globalcontent
/etc/tags/xxxxxx
/etc/workflow/launcher/config/xxxxxx-image-rendition-launcher

Any thoughts on this one will be helpful.

Thanks,

Kishore

 

 

 

 

http://aemfaq.blogspot.com/2013/09/creating-package-with-filtersexclusion.html

4 Respostas

joerghoh
Adobe Employee
Adobe Employee
October 16, 2015

Have you checked [0]? There you can find a description how you can work with the package manager via the HTTP API, also with examples using curl.

Jörg

[0] http://dev.day.com/docs/en/crx/current/how_to/package_manager.html#Managing%20Packages%20on%20the%20Command%20Line

GK-007
GK-007Autor
Level 9
October 16, 2015

Thanks Jorg for your quick response.

Link provided by you is informative and it has defined process to create a package with one content path only but i want to create package with multiple content paths as below.

/content/xxxxxx
/content/dam/xxxxx
/etc/designs/xxxxxx/globalcontent
/etc/tags/xxxxxx
/etc/workflow/launcher/config/xxxxxx-image-rendition-launcher

Any thoughts on this one will be helpful.

Thanks,

Kishore

joerghoh
Adobe Employee
Adobe Employee
October 16, 2015

OK, so you want to create a package definition via curl? Well, that should be doable using the SlingPostServlet. Create a package definition using the package manager, then observe its structure via CRXDE and then build it on your own using curl and the SlingPostServlet.

See [0] for a documentation of the capabilities of the SlingPostServlet

Jörg

[0] http://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html

Sham_HC
Sham_HCResposta
Level 10
October 16, 2015

Kishore@CQ wrote...

Thanks Jorg for your quick response.

Link provided by you is informative and it has defined process to create a package with one content path only but i want to create package with multiple content paths as below.

/content/xxxxxx
/content/dam/xxxxx
/etc/designs/xxxxxx/globalcontent
/etc/tags/xxxxxx
/etc/workflow/launcher/config/xxxxxx-image-rendition-launcher

Any thoughts on this one will be helpful.

Thanks,

Kishore

 

 

 

 

http://aemfaq.blogspot.com/2013/09/creating-package-with-filtersexclusion.html