Multifield in AEM 6.5 | Community
Skip to main content
New Participant
October 1, 2020
Solved

Multifield in AEM 6.5

  • October 1, 2020
  • 3 replies
  • 2649 views

Hello Team,

 

Is it possible to store multifield values in JSON format without ACS Common in AEM 6.5?

 

Regards,

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 santhosh_kumark

Hi @arvind-1 ,

 

If we are not using acs-commons-nested="JSON_STORE" to store multifield data as json, need to write our own implementation like acs or we need to expose the content as json. Hope the below article would be helpful for your requirement.

https://medium.com/@ramamity94/implement-an-n-level-aem-multifield-using-coral-ui-and-sling-models-and-expose-as-json-4355f716e719

 

Regards,

Santosh

3 replies

vanegi
Employee
October 5, 2020
santhosh_kumark
santhosh_kumarkAccepted solution
New Participant
October 1, 2020

Hi @arvind-1 ,

 

If we are not using acs-commons-nested="JSON_STORE" to store multifield data as json, need to write our own implementation like acs or we need to expose the content as json. Hope the below article would be helpful for your requirement.

https://medium.com/@ramamity94/implement-an-n-level-aem-multifield-using-coral-ui-and-sling-models-and-expose-as-json-4355f716e719

 

Regards,

Santosh

Jineet_Vora
New Participant
October 1, 2020

Hello @arvind-1,

By default, AEM stores multifield values in nodes. If you need it in JSON, then please use ACS Commons as shown here: https://helpx.adobe.com/experience-manager/using/multifield_aem63.html

If you don't want to install ACS then you would need a utility to convert node values to JSON similar to what ACS is doing. On your local only for writing logic, install ACS, debug files under this folder for multifield store as JSON: /apps/acs-commons/touchui-widgets/composite-multifield to get more details and implement in your project.

Jineet