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 ? | Community
Skip to main content
May 31, 2022

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 ?

  • May 31, 2022
  • 4 replies
  • 5209 views

 

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.

 

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

4 replies

Himanshu_Jain
Community Advisor
Community Advisor
May 31, 2022

Does your propertyName contain any special character?

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

Himanshu Jain
Rohit4Author
May 31, 2022

@himanshu_jain 

 

There is no special character in my propertyName .

 

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

sunil_kumar_
May 31, 2022

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

 

Rohit4Author
May 31, 2022

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 . 

 

sunil_kumar_
May 31, 2022

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

DEBAL_DAS
May 31, 2022

Sharing my observations here -

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

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 -

 

 

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.

 

Rohit4Author
May 31, 2022

@sunil_kumar_ 

@debal_das 

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

 

Rohit4Author
June 1, 2022

@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".

 

 

 

 

sunil_kumar_
May 31, 2022

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

DEBAL_DAS
May 31, 2022

@sunil_kumar_ ,

 

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

 

See the fields count in CRXDE -

 

 

sunil_kumar_
May 31, 2022

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

I will try to replicate this.