Multifield in AEM 6.5

Avatar

Avatar

arvind

Avatar

arvind

arvind

01-10-2020

Hello Team,

 

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

 

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

santhosh_kumark

Avatar

santhosh_kumark

santhosh_kumark

01-10-2020

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

Answers (2)

Answers (2)

Avatar

Avatar

Jineet_Vora

Avatar

Jineet_Vora

Jineet_Vora

01-10-2020

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