Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

How to make available JS located under /libs

Avatar

Level 2

The question, in general, would be: for security reasons, we have on Publisher instance an ACL denying read access to everyone to /libs folder. If I want to use a clientlib located under /libs I cannot insert it just as a dependency of my own clientlib (located under /etc) because the user won't have access to it, so what's the best practice to use these clientlibs?

My use case is that my clientlib has as dependency "personalization.core.kernel" because I want to leverage CQ_Analytics on frontend.

1 Accepted Solution

Avatar

Correct answer by
Employee

You can use the embed option of a clientlib, then it will be merged at runtime.

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

You can use the embed option of a clientlib, then it will be merged at runtime.

Avatar

Level 10

The option that Feike suggested is discussed in this AEM topic:

http://docs.adobe.com/docs/en/cq/current/developing/clientlibs.html

Avatar

Level 2

It was that simple! Thank you