Content Fragment Model Editor not working: there are no fields to add?

Avatar

Avatar

TB3dock

Avatar

TB3dock

TB3dock

24-03-2021

We are trying to create a content fragments. This is somewhat complicated.

First you have to enable users permissions, then create configurations, then under configurations, you can create a content fragment model.  However, when you try to edit the content fragment model, in order to specify some fields, its blank.

 

We are following these instructions:

 

https://experienceleague.adobe.com/docs/experience-manager-64/assets/fragments/content-fragments-mod...

 

The model is enabled and published.

 

The error in error.log is:

 

24.03.2021 12:18:57.756 *ERROR* [[0:0:0:0:0:0:0:1] [1616584737723] GET /mnt/overlay/dam/cfm/models/editor/content/editor.html%2Fconf%2Fwknd%2Fswh_config%2Fsettings%2Fdam%2Fcfm%2Fmodels%2Fbonus HTTP/1.1] libs.dam.cfm.models.editor.components.formbuilder.formbuilder__002e__jsp The model config resource is a non-existing resource.

 

This is what we see:

 

TB3dock_0-1616582105086.png

 

 

This is what we expected to see:

 

TB3dock_1-1616582130210.png

 

Replies

Avatar

Avatar

asutosh_j3

Avatar

asutosh_j3

asutosh_j3

24-03-2021

Hi @TB3dock 

What is the error you are getting in the error.log or in the console when you are getting this blank page?

Thanks!

Avatar

Avatar

TB3dock

Avatar

TB3dock

TB3dock

24-03-2021

24.03.2021 12:13:33.000 *INFO* [FelixLogListener] org.apache.sling.event Service [QueueMBean for queue Reference Update Processing Queue,5057, [org.apache.sling.event.jobs.jmx.StatisticsMBean]] ServiceEvent UNREGISTERING 24.03.2021 12:17:25.695 *ERROR* [[0:0:0:0:0:0:0:1] [1616584645658] GET /mnt/overlay/dam/cfm/models/editor/content/editor.html%2Fconf%2Fwknd%2Fswh_config%2Fsettings%2Fdam%2Fcfm%2Fmodels%2Fbonus HTTP/1.1] libs.dam.cfm.models.editor.components.formbuilder.formbuilder__002e__jsp The model config resource is a non-existing resource.

Avatar

Avatar

asutosh_j3

Avatar

asutosh_j3

asutosh_j3

24-03-2021

Can you login as admin and see if you are facing the same issue? I suspect it's something to do with the user permission.

Avatar

Avatar

TB3dock

Avatar

TB3dock

TB3dock

24-03-2021

Hi, I am logged in as admin unfortunately. Its a local aem instance with the aem-project-archetype done from https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-devel...

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
MVP

24-03-2021

Hi @TB3dock,

This error is thrown when there is no node named "model" in your CFM's jcr:content.

That is in your case, if there is no model node under this path - /conf/wknd/swh_config/settings/dam/cfm/models/bonus/jcr:content

Check for this path from CRXDE, logged in as admin.

I suggest to revisit/rollback the steps that you have done(In particular, if you have done anything related to permissions. In your original query, you have mentioned "First you have to enable users permissions") -> Enable CFM in desired project config and try creating again.