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.

While adding 39 fields in Content Fragment Model then getting Error, Is there anyway to add more than 40 Fields in Content Fragment Model in AEM ?

Avatar

Level 3

 

While adding 39 fields in Content Fragment Model then getting Error, Is there anyway to add more than 40 Fields in Content Fragment Model in AEM?

Getting below Error.

Rohit4_0-1653992961969.png

 

22 Replies

Avatar

Community Advisor

Does your propertyName contain any special character?

names must contain only Latin characters, numerical digits and underscore “_” as special character.

Himanshu Jain

Avatar

Level 3

@Himanshu_Jain 

 

There is no special character in my propertyName .

 

Using simple characters and using underscore like this  "Page_CreatedBy".

Avatar

Community Advisor

Hi @Rohit4 ,
You can add 40 or more fields. Sometimes, while adding fields you can get TooManyCallsException exception. 

Try to reload page/CF Model again. 
The screenshot you added says different error. Are you trying to save CF model without adding fields. Screenshot error says same. 

org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
org.apache.sling.api.request.TooManyCallsException

 

Avatar

Level 3

Hi @sunil_kumar_ 

 

I tried to add 40 singleLine text fields using simple characters without any underscore , at the time of adding 38 field it threw error. 

Please see my all fields in CF model in CRX . 

Rohit4_0-1654020441913.pngRohit4_1-1654020455852.png

 

Avatar

Community Advisor

@Rohit4 What is your aem version. Can you check your logs for any error. 

Avatar

Employee Advisor

Sharing my observations here -

1. I am getting TooManyCallsException with 33 fields in Content Fragment model -

DEBAL_DAS_0-1654020681981.png

2. But if I reduce the fields count to 32 , then I am not getting TooManyCallsException. 

3. If I increase the fields count to 35 , then I am getting below issue -

DEBAL_DAS_1-1654021339005.png

 

 

I have tested with AEM 6.5.11 here. 

I will debug it and keep you posted.

Could you please tell me the AEM version with service pack. 

Can you try to add 40 fields without installing service pack and share your observations.

 

Avatar

Level 3

@sunil_kumar_ 

@DEBAL_DAS 

I am using AEM 6.5.12 using Service pack "aem-service-pkg-6.5.12.0"

 

Rohit4_0-1654022051783.png

Avatar

Level 3

@sunil_kumar_ : Any update on it ?

 

@DEBAL_DAS : Have you debugged it, Why we are getting error after adding 39 fields on AEM 6.5.12. Is there any solution to add more than 40 fields in AEM with Service pack 6.5.12 ,

as i am using AEM 6.5.12 using Service pack "aem-service-pkg-6.5.12.0".

 

 

 

 

Avatar

Employee Advisor

@Rohit4 , @sunil_kumar_ and @Himanshu_Jain ,

 

I have validated all these points with AEM 6.5.9 and I am able to add more than 40 fields and content fragment models are getting loaded perfectly.

Avatar

Level 3

@DEBAL_DAS :

Can you please share link of AEM 6.5.9 or share Service package of AEM 6.5.9 as i am only see AEM 6.5.12 in software distribution. I am using free trial of AEM so please help here.

Rohit4_0-1654063753782.png

 

 

Avatar

Level 3

@DEBAL_DAS 

 

Are you able to see below datatypes (In screenshot) in AEM 6.5.9 as these are not available in AEM 6.5.8,

Fragment Reference has been used in my project which is very important.

 

Is there anyway to add more than 40 Fields in AEM 6.5.12. Any configuration change? Please let me know.

 

Rohit4_0-1654067787719.png

 

Avatar

Employee Advisor

These data types aren't available in AEM 6.5.9 as shown below -

DEBAL_DAS_0-1654075624181.png

These are available in AEM 6.5.11 -

DEBAL_DAS_1-1654075682537.png

 

In AEM6.5.12 release note . Adobe is talking about two packages -

DEBAL_DAS_2-1654075771894.png

https://experienceleague.adobe.com/docs/experience-manager-65/release-notes/service-pack/6.5.12.html...

Could you please give a try with these. If it's possible please raise a day care support ticket.

@kautuk_sahni , Please suggest and correct me.

 

Avatar

Level 3

@DEBAL_DAS 

After installing below new Packages, still getting same issue after adding 34 fields in AEM 6.5.12

"aem-service-pkg-6.5.12.0-NPR-38144-B0002"

"cfm-graphql-index-def-1.0.3"

 

Please suggest what needs to do?

Avatar

Employee Advisor

Could you please raise a support ticket to Adobe , share the details and please take their guidance. 

Avatar

Employee Advisor

Have fixed this issue by increasing the number of Calls Per Request in the Apache Sling Main Servlet from 1000 to 3000 [randomly defined] as shown below -

 

DEBAL_DAS_0-1654530562720.png

 

Now I am able to add 40 fields in CF model in AEM 6.5.12 .

Avatar

Level 1

Thank you so much for giving this solution. I faced this same issue and I had to spent a lot of time in exploring and finally found this working.

Avatar

Level 5

Hi @DEBAL_DAS,
Just wanted to confirm that changing this configuration will not affect any other functionality in AEM as I'm trying to add more than 40 Single Line Text field in the model in AEM as a Cloud Service?

Avatar

Community Advisor

hi @DEBAL_DAS , I am able to add more than 40 TextField. I got this error once. After page reload it went. 
I am using AEM 6.5.8

Avatar

Employee Advisor

@sunil_kumar_ ,

 

Are you able to see those 40 texfields once you open that content fragment model?

 

See the fields count in CRXDE -

DEBAL_DAS_0-1654021740076.png

 

 

Avatar

Community Advisor

@DEBAL_DAS I have added 46 and my model is working fine. see that

I will try to replicate this.

model.pngnode.png