Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Multifield in AEM 6.5

Avatar

Level 6

Hello Team,

 

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

 

Regards,

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @arvind ,

 

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-a...

 

Regards,

Santosh

View solution in original post

3 Replies

Avatar

Community Advisor

Hello @arvind,

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

Avatar

Correct answer by
Community Advisor

Hi @arvind ,

 

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-a...

 

Regards,

Santosh