Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM 6.2 - Cannot create component: xtype "ssfcta" not found and no default supplied

Avatar

Level 3

We are currently migrating from 6.1 to 6.2.  Locally installed 6.2 on my computer and installed all packages.  The code worked without any issues.  However, after Adobe setup my new 6.2 environment, I followed the same steps but now I am getting the following error every time I try to edit a widget with a custom xtype.

Error Message:  Uncaught cannot create Component: xtype 'minmaxmultifield' not found and no default supplied

Wondering if anyone else has experienced this issue and what they did to resolve it.  I checked other forums and didn't see any solutions.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Agreed with Veena's response. Your new server does not have the client lib that defines the custom xtype. Also - as you move forward - I recommend switching to TOuch UI and Grainte data types in components dialog. XTYPE is for classic UI.

View solution in original post

8 Replies

Avatar

Community Advisor

Hi

- What I could understand from your error message is ; this particular xtype is a custom xtype 'minmaxmultifiled'? If Yes, then make sure the below points

1. Check the clientlibrary which you have this minmaxmultifield xtype js written

2. Check the categories of this clientlib and make sure this is properly included in your project

3. If you think you need this widget across all your projects , you can add cq.widgets as categories ( Please do this on your own risk, as this is the category for your entire cq.widgets .)

Since , you say that this is working in your local and not the new adobe server , I strongly believe that this JS is included in one of your project which is not present in the newly setup 6.2 server.

     If after all the above changes , still it is not working , please reply back with your error log and a sample project for any of us to try and replicate the issue in our systems.

Thanks

Veena

Avatar

Correct answer by
Level 10

Agreed with Veena's response. Your new server does not have the client lib that defines the custom xtype. Also - as you move forward - I recommend switching to TOuch UI and Grainte data types in components dialog. XTYPE is for classic UI.

Avatar

Level 3

Thanks.  The code was referencing the incorrect file.  Once I updated the path everything started working.

Avatar

Level 3

Minify CSS and JS was being used.  I turned this functionality off which resulted in the proper CSS & JS files from being imported.

Avatar

Community Advisor

Did you turn of minification in publish ?

Avatar

Level 3

Yes.  Turning off minification resolved the issue.

Avatar

Level 1

How do you turn this off? where is it located?

Avatar

Level 1

where in the code does it reference this?