Coral Multifield(6.4 Touch UI) to save value in JSON

Avatar

Avatar

monikaa6

Avatar

monikaa6

monikaa6

13-12-2018

Hi All,

We are upgrading from AEM 6.0 to AEM 6.4. We have some existing xtype which I am trying to implement in Touch UI.

Our existing data for multifield is stored as json

for e.g

When I try to use the "granite/ui/components/coral/foundation/form/multifield"

It stores the data as Node structure in AEM 6.4.

Does anyone have implemented Custom Javascript to save the multifield value as JSON,

Any help or pointers to the samples will be helpful.

Thanks,

Monika

View Entire Topic

Avatar

Avatar

vipins5188

Avatar

vipins5188

vipins5188

14-12-2018

Hi Monika,

You can overlay the acs commons js and create you own multi-field. We did the same due to restrictions policy.

Register your custom multifield like CUI.Widget.registry.register("multifield", CUI.Multifield); Copy acs commons js code to your code, define proper js categories and use your multifield in dialog. No code changes required from your end

Hope this helps.