Issues with loadin inline clientlib | Community
Skip to main content
Level 6
March 28, 2024
Question

Issues with loadin inline clientlib

  • March 28, 2024
  • 1 reply
  • 1264 views

Hello Community - We see some issues with loading the clientlib which has the allowProxy property set to true. Can someone tell me if we require to do any additional changes to load the clientlib.

 

<style type="text/css"
data-sly-use.clientlibs="${'com.adobe.cq.wcm.core.components.models.ClientLibraries' @ categories='wknd.base'}">
${clientlibs.cssInline @ context="unsafe"}
</style>

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

aanchal-sikka
Community Advisor
Community Advisor
March 28, 2024

@test1234567 

 

Can you please try?

 

<sly data-sly-use.clientLib="/libs/granite/sightly/templates/clientlib.html"
data-sly-call="${clientlib.css @ categories='wknd.base'}"/>

 

<sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html">
<sly data-sly-call="${clientlib.js @ categories='wknd.base'}"/>
</sly>

 

Aanchal Sikka
Level 6
March 28, 2024

Thanks for your reply. I want to include the inline clientlib which has the allowProxy set to true. Can you check this url ?

 

https://experienceleague.adobe.com/en/docs/experience-manager-core-components/using/developing/including-clientlibs#inlining

aanchal-sikka
Community Advisor
Community Advisor
March 28, 2024

@test1234567 

 

Please elaborate what the issue is, when using inline css

Aanchal Sikka