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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Create/ update client libs programmatically

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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

Avatar

Correct answer by
Employee

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)

Avatar

Level 4

Thanks Justin . Very useful tool  .