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>
Views
Replies
Total Likes
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>
Views
Replies
Total Likes
Thanks for your reply. I want to include the inline clientlib which has the allowProxy set to true. Can you check this url ?
Views
Replies
Total Likes
Views
Replies
Total Likes
The inline css or style tag is not loading. I have even tried with inline js as well but no luck. Can you check if this is working for you or not?
<style type="text/css"
data-sly-use.clientlibs="${'com.adobe.cq.wcm.core.components.models.ClientLibraries' @ categories='wknd.base'}">
${clientlibs.cssInline @ context="unsafe"}
</style>
<script type="text/javascript"
data-sly-use.clientlibs="${'com.adobe.cq.wcm.core.components.models.ClientLibraries' @ categories='wknd.base'}">
${clientlibs.jsInline @ context="unsafe"}
</script>
Views
Replies
Total Likes
Views
Replies
Total Likes
I didn't try with wknd.base category. I tried with project specific clientlib only. Can you check if the clientlib has the allowProxy property set to true? Also can you confirm if you had to declare anything?
Views
Replies
Total Likes
Views
Replies
Total Likes
Can you tell me what version of core components you're using? I have even tried with setting the allowProxy value to false but no luck. I'm using core component version 2.19.0.
Views
Replies
Total Likes
Views
Likes
Replies