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

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
Adobe Summit 2023 | Complete list of AEM Sessions & Labs

etc.clientlibs resources not loaded with sling:mapping

Avatar

Level 3

I have created map.publish as below for we retail on a vanilla instance.

1674499_pastedImage_0.png

URL's are shortened. But when i try to load the page. everything loads except the resources rendered from etc.clientlibs. I added internal redirect to /etc.clientlibs too. But all the css/js gives a 404. Do we have any solution for this issue?

2 Replies

Avatar

Community Advisor

sling:mappings are not mandatory for this use case.

Allow 'clientlibs' extension in dispatcher and grant read ACL to anonymous user on '/etc' node or specific nodes. That should do the trick. I've tested that.