Solved
Load client libs with selection button
- January 24, 2024
- 2 replies
- 912 views
Hi,
I have created a button for which I would like to get loaded some js from clientlibs folder.
The clientlibs folder is created with some categories andcq:ClientLibraryFolder jcr:primaryType (screenshot 1) and containing the script universaleditor.js. The button "universaleditor" has the child "items" containing the node "clientlibs" with the categories of the clientlibs folder and sling:resourceType granite/ui/components/coral/foundation/includeclientlibs (screenshot 2).
The js from the client library folder is not loading in AEM when displaying the universaleditor button.
Can you please suggest why loading of js might fail?
Thanks,
Peter