can not import js css file after upgrade to AEM6.5

Avatar

Avatar

josieqqiu

Avatar

josieqqiu

josieqqiu

14-03-2021

Hi,everyone

I have code like 

<sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.css @ categories=['XXXX','YYYYYY']}" />

 these code can import  css file normal at AEM6.1, but after upgrade to AEM6.5, these code just can import css file normal at author server,  cannot import css file at publisher server, so cannot see the css style at the result page. anyone know what happen? thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K
Jörg_Hoh
Employee

15-03-2021

Check the permissions on the folders where the CSS files are residing. Check that they are readable by the anonymous user

Avatar

Avatar

yuhuisg

MVP

Avatar

yuhuisg

MVP

yuhuisg
MVP

15-03-2021

This is the wrong community to ask this question. 

Post your question at https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ct-p/adobe-experience-mana...