Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
I have a resource included as follows:
<div data-sly-resource="${ 'resource-name' @ resourceType='path/to/resource'}"></div>
In some cases, that resource is failing to load and no HTMLis being rendered. How can I detected that failure and take action?
Preferably, I'd like to return the response as normal and set an HTTP header.
Thanks for your help!
Solved! Go to Solution.
Hi,
Check this if helps cq5 - data-sly-resource error handling in sightly - AEM - Stack Overflow
View solution in original post
Views
Likes
Replies