Hello,
We have created a custom form layout and kept in /apps/myapp/layouts/ folder. we use this layout in our form template. when we are logged in @ publisher it works fine but if we try to access the page without login it shows Script not found exception for the custom layout - /libs/myapp/layouts/mylayout/mylayout.jsp is not found.
not able to find what is causing this issue. tried giving absolute path as well.
Views
Replies
Total Likes
You Pub instance sounds like its configured as an Author - requiring login to access data.
No, It works fine with all other components. Even If i change my forms layout resource type to the Out of the Box layout it works fine.
It is not finding the only layouts which are kept inside /apps.
Is that the only content under /apps that cannot be found.
Views
Replies
Total Likes
For Now I can say Yes. we are getting
but the actual script is inside /apps .
tried giving absolute path as it was suggested in few help threads. but no luck.
Can you make sure the Apache Sling Resource Resolver Configuration is not modified and it refers to /apps before /libs?
No, We are using default configuration(which looks like same as you shared), even in our local we tried with fresh publisher instance but did not work.
Having doubt, if we have any limitation in overlaying or creating new defaultGuildeLayout. Can we create our own defaultGuildeLayout ?
As things are fine with other custom layouts, only this one is not working.
Quick question - Is it that your form template is referring to /apps/myapp/layouts/ and the error you see is '/libs/myapp/layouts/mylayout/mylayout.jsp not found'??