How to make available JS located under /libs | Community
Skip to main content
Level 2
October 16, 2015
Solved

How to make available JS located under /libs

  • October 16, 2015
  • 3 replies
  • 896 views

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.

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 Feike_Visser1

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

3 replies

Feike_Visser1
Adobe Employee
Feike_Visser1Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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

smacdonald2008
Level 10
October 16, 2015

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

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

Level 2
October 16, 2015

It was that simple! Thank you