AEM 6.2 - Cannot create component: xtype "ssfcta" not found and no default supplied | Community
Skip to main content
phall_hershey
Level 2
September 14, 2017
Solved

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

  • September 14, 2017
  • 8 replies
  • 4096 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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.

8 replies

VeenaVikraman
Community Advisor
Community Advisor
September 14, 2017

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

smacdonald2008
smacdonald2008Accepted solution
Level 10
September 14, 2017

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.

phall_hershey
Level 2
September 20, 2017

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

phall_hershey
Level 2
October 6, 2017

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

VeenaVikraman
Community Advisor
Community Advisor
October 6, 2017

Did you turn of minification in publish ?

phall_hershey
Level 2
November 20, 2017

Yes.  Turning off minification resolved the issue.

daisyl73082606
February 9, 2019

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

daisyl73082606
February 9, 2019

where in the code does it reference this?