Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Multifield in AEM 6.5

arvind
Level 4
Level 4

Hello Team,

 

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

 

Regards,

1 Accepted Solution
santhosh_kumark
Correct answer by
Community Advisor
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
Jineet_Vora
Level 4
Level 4

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

santhosh_kumark
Correct answer by
Community Advisor
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