コミュニティアチーブメントバーを展開する。

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

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

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 受け入れられたソリューション

Avatar

正解者
Employee

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

元の投稿で解決策を見る

3 返信

Avatar

正解者
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