Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Avatar

Level 3

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!

6 Replies

Avatar

Employee Advisor

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

Avatar

Level 3
hi jorg, there so kindly of you, can you give a document how to check it? thank you!

Avatar

Employee Advisor
You could login on your local publish test instance and use the useradmin to check the permissions on the path where you store the CSS.

Avatar

Level 3
@Jörg_Hoh may I know is the useradmin ame system account, or operation system account?

Avatar

Level 3
hi @Jörg_Hoh these lib is under etc ,some one said have to come through clientlib proxy servlet /etc.clientlibs/,I cannot unstander any sample to change code?