Expand my Community achievements bar.

SOLVED

creating custom xtype | "Uncaught cannot create Component: xtype 'mypathfield' not found and no default supplied "

Avatar

Level 4

Hi,

 
I followed below link to create custom xtype
 
Getting below error:
"Uncaught cannot create Component: xtype 'mypathfield' not found and no default supplied "
 
Tried searching everything but do not see any solution documented for same. Please let me know if anyone got the same issue and has the resolution.

 

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Here is a community article that shows you step by step how to create an AEM component that uses a custom xtype:

http://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html

You have to register you xtype. Follow this article and you will have a solid idea on how to work with custom xtypes. 

Hope this helps. 

View solution in original post

2 Replies

Avatar

Level 10

Have you included the lib in page component?

Avatar

Correct answer by
Level 10

Here is a community article that shows you step by step how to create an AEM component that uses a custom xtype:

http://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html

You have to register you xtype. Follow this article and you will have a solid idea on how to work with custom xtypes. 

Hope this helps.