Create/ update client libs programmatically | Community
Skip to main content
Level 4
October 16, 2015
Solved

Create/ update client libs programmatically

  • October 16, 2015
  • 2 replies
  • 1056 views

Hey Guru's

 

I have a unique requirement where I need to manage client libs programmatically. It's like I need to create a new one and also update on submit action.

I couldn't find myself of any Existing suitable API for client libs management, can any one point me to any? Or many be any pointers on the best way I can achieve it?

Thanks in advance

 

thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JustinEd3

A client library is just a specific node structure, so you would use the standard Sling Resource and/or JCR apis to create the right nodes.

If you're looking for an example, I've been working on a tool to generate client libraries. You can see my work in progress here: https://github.com/justinedelson/acs-aem-tools/compare/feature;client-lib-bootstrapper (and a screenshot here: https://github.com/Adobe-Consulting-Services/acs-aem-tools/issues/11)

2 replies

JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

A client library is just a specific node structure, so you would use the standard Sling Resource and/or JCR apis to create the right nodes.

If you're looking for an example, I've been working on a tool to generate client libraries. You can see my work in progress here: https://github.com/justinedelson/acs-aem-tools/compare/feature;client-lib-bootstrapper (and a screenshot here: https://github.com/Adobe-Consulting-Services/acs-aem-tools/issues/11)

KrisgumAuthor
Level 4
October 16, 2015

Thanks Justin . Very useful tool  .