Limit on properties | Community
Skip to main content
March 31, 2020
Solved

Limit on properties

  • March 31, 2020
  • 1 reply
  • 1040 views

Is there any limitation to add no of properties to a component.

 

Right now I am having 248 properties added to our component. When I am adding more properties the I am getting content in different format i.e instead of JSON data I am getting an array of JSON paths.

 

Is there any fix for the same?

 

AEM 6.3 with classic UI

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 BrianKasingli

Take a look at how the AEM WCM Core Components library. It utilises content services to expose formatted and structured data on the .model.json HTTP request. It allows content authors to manage and construct the page using content components, then calling .model.json, you can get a JSON representation of components and properties.

A lesson to learn from here is that you can separate specific pieces of your JSON properties to specific AEM content components. When you add the specific AEM content component to the page, calling either a servlet or .model.json, you will get a JSON representation of the entire page and its contents, nicely formatted and structured.

I hope this helps.

1 reply

BrianKasingli
Community Advisor and Adobe Champion
BrianKasingliCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
March 31, 2020

Take a look at how the AEM WCM Core Components library. It utilises content services to expose formatted and structured data on the .model.json HTTP request. It allows content authors to manage and construct the page using content components, then calling .model.json, you can get a JSON representation of components and properties.

A lesson to learn from here is that you can separate specific pieces of your JSON properties to specific AEM content components. When you add the specific AEM content component to the page, calling either a servlet or .model.json, you will get a JSON representation of the entire page and its contents, nicely formatted and structured.

I hope this helps.