Hi,
We have a custom widget created and this is used in one of the tabs in the page properties. While trying to open the page properties from the siteadmin we are seeing the below JS Error.
"Uncaught cannot create Component: xtype 'custommultifield' not found and no default supplied "
We have added the dependency to the cq.widget clientlib category as mentioned in the link: Custom JS widget not loaded on siteadmin page | Adobe Community
But still the error does not go away.
Any help would be appreciated.
Thanks and Regards,
Anoop Kumar
Solved! Go to Solution.
Views
Replies
Total Likes
Increase value of json.maximumresults at [1] and verify. If does not work remove all folders under /var/clientlibs/* and running the test again.
[1] http://<host>:<port>/system/console/configMgr/org.apache.sling.servlets.get.DefaultGetServlet
Views
Replies
Total Likes
Increase value of json.maximumresults at [1] and verify. If does not work remove all folders under /var/clientlibs/* and running the test again.
[1] http://<host>:<port>/system/console/configMgr/org.apache.sling.servlets.get.DefaultGetServlet
Views
Replies
Total Likes
I tried this, it didn't work for me. Still i see the same error coming up.
Did this work for anyone. Please help.
Thanks in advance.
Nikash
Views
Replies
Total Likes
As mentioned in my other post -- this error simply means that CQ cannot locate the ClientLibs where you defined custommultifield.
See this community article where we define the xtype and reference it:
Views
Replies
Total Likes
This error means that CQ cannot find the custom xtype. Double check the client libs folder to make sure that you have referenced it properly.
Views
Replies
Total Likes
Have done the check, when I debug the client library using the below tool, I do see that my library comes up as a dependency. How can I verify if that is being resolved or not?
/libs/granite/ui/content/dumplibs.test.html?categories=cq.widgets
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies