In our component html file we are trying to include another html file located at "/etc/designs/proj-name/clientlib-emp/html/ex.html"
<div data-sly-include="/etc/designs/proj-name/clientlib-emp/ex.html"></div>
but we're seeing this error:
Caused by: java.lang.UnsupportedOperationException: Access to resource /etc/designs/proj-name/clientlib-emp/html/ex.html is denied, since the resource does not reside on the search path
What am i missing?
Solved! Go to Solution.
Views
Replies
Total Likes
Sightly before including the resource always checks the path of the resource in the search paths set in the resource resolver configuration.
Default valid paths are -
/apps,/libs,/apps/foundation/components/primary,/libs/foundation/components/primary
Views
Replies
Total Likes
Sightly before including the resource always checks the path of the resource in the search paths set in the resource resolver configuration.
Default valid paths are -
/apps,/libs,/apps/foundation/components/primary,/libs/foundation/components/primary
Views
Replies
Total Likes
kunal23 wrote...
Sightly before including the resource always checks the path of the resource in the search paths set in the resource resolver configuration.
Default valid paths are -
/apps,/libs,/apps/foundation/components/primary,/libs/foundation/components/primary
Thanks.. that solved our problem!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies