Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Custom WIdgets not working in AEM 6.0

Avatar

Level 4

Hi Everyone,

We are migrating cq5.61. to AEM 6.0.

After upgrading, Any of the dialogs which uses custom widgets (custom multi fields) are not opening and gets the below error.

uncaught exception: cannot create Component: xtype 'ejstcustom' not found and no default supplied

 

Please help!!!


Thanks in Advance

1 Accepted Solution

Avatar

Correct answer by
Level 10

See this community article - it explains how to use custom xtypes in AEM 6:

http://helpx.adobe.com/experience-manager/using/creating-touchui-xtypes.html

View solution in original post

0 Replies

Avatar

Employee

What is the category of the client library in which your custom widget is defined?

Avatar

Level 10

Hi There,

Thank you for reaching out to Adobe Community,

See if the below forum thread helps:

Error in creating a custom widget in dialog

Thanks!

Avatar

Correct answer by
Level 10

See this community article - it explains how to use custom xtypes in AEM 6:

http://helpx.adobe.com/experience-manager/using/creating-touchui-xtypes.html

Avatar

Level 4

Hi Shekhar,

Thanks for the quick reply. I have gone through the link.

I have implemented the same way. My custom multifields works well in classic ui. But does not work in touch ui.

Avatar

Level 4

Am using the Custom category. But i have dependency as cq:widgets.

Do i need to have cq:widgets as category????

Will it not work in above case cq:widgets as dependency????

Avatar

Employee

In the TouchUI, the compatiblity iframe into which an ExtJS dialog is rendered has these client library categories loaded (amongst others, but these are the most "popular":

cq.wcm.edit
cq.widgets
cq.security
cq.tagging
cq.cloudserviceconfigs
cq.dam.scene7

This compatibility iframe doesn't know anything about your custom category.

See /libs/cq/gui/components/authoring/compat/components/dialogwrapper/html.jsp for the implementation details.

Regards,

Justin