I'm trying to get the resource /libs/clientlibs/granite/jquery-ui/resources/ui-bg_glass_75_dadada_1x400.png to load on my publish AEM 6.3 instances but every time I get errors like
8.05.2018 15:26:19.921 *INFO* [127.0.0.1 [1525811179908] GET /libs/clientlibs/granite/jquery-ui/resources/ui-bg_glass_75_dadada_1x400.png HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /libs/clientlibs/granite/jquery-ui/resources/ui-bg_glass_75_dadada_1x400.png not found
Even If I do this:
slingRequest.getResourceResolver().getResource("/libs/clientlibs/granite/jquery-ui/resources/ui-bg_glass_75_dadada_1x400.png");
It always returns null. How am I supposed to be able to load jquery ui resources using the jquery ui provided from AEM?
Solved! Go to Solution.
The issue is with the permission in lib folder on publish instance.
make sure your user/service-user/CUG has read permission to /libs/clientlibs/granite/jquery-ui/resources/ui-bg_glass_75_dadada_1x400.png
by default following permission is set on publish for anonymous user
The issue is with the permission in lib folder on publish instance.
make sure your user/service-user/CUG has read permission to /libs/clientlibs/granite/jquery-ui/resources/ui-bg_glass_75_dadada_1x400.png
by default following permission is set on publish for anonymous user
Thanks, all I had to do was allow the read permission for the anonymous user on for /libs/clientlibs/granite/jquery-ui/resources on the publish instances and it worked.
Views
Replies
Total Likes
Views
Likes
Replies