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

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

0 Replies

Avatar

Correct answer by
Employee

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