Multifield data not stored in JSON format | Community
Skip to main content
gargsahil099
Level 3
Nov 23, 2017 3:13 AM UTC
Solved

Multifield data not stored in JSON format

Hi All,

I have created a multifield component in touch ui after adding the values to dialog the content stored in zcrx is not in JSON format it is in below array format.

Can some one please suggest on this.

Thanks

Sahil Garg

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Nov 23, 2017 2:54 PM UTC

See this article - it tells you everything you need to do - including how to download the ACS-COmmons package -- Creating an AEM HTML Template Language 6.3 component that uses a Multifield

12 replies

gargsahil099
Level 3
Nov 23, 2017 8:17 AM UTC

HI TechAspect,

I have already tried that, in this blog they have mentioned that by using the property on fieldset acs-common-nested="" will store the data in JSON  format but in my case i have already declared this property but still it is saving in String[] format for all the fields individually. can you please suggest.

Thanks

Translate
Techaspect_Solu
Level 7
Nov 23, 2017 6:46 AM UTC

Hi,

Please refer the link below. It might help you in achieving your requirement (store values in JSON format). The aim of the below tutorial is to store and retrieve the values in the form of JSON Array from crxde/JCR repository.

http://www.aemcq5tutorials.com/tutorials/touchui-multifield-component-using-htl/

Please let us know if you still face any difficulty in implementing this.

We hope this information helps!

Regards,

TechAspect Solutions

Translate