Expand my Community achievements bar.

SOLVED

Classic UI Multifield(Custom Xtype) dialog needs to read and save values in node structure that are authored using touch UI(Corals UI 3) Multifield

Avatar

Level 2

Hi All,


We are planning to migrate our AEM Project from Classic UI dialogs to touch UI dialogs. Our classic UI dialog contains multifield of custom xtypes saving data in the form of string array of Json Objects. As the touch UI dialog is based on coral UI 3, we are planning to migrate the content from String array of Json Objects to node structure so that it will be working in touch UI Coral UI Multifield dialogs. Initially we planning to maintain both classic UI and touch UI dialogs. As the touch UI dialog multifield data will saved in the form of node structure, Is there a way these values can be read in classic UI Multifield dialog(Custom Xtype) and get saved in the form of node structure after submitting the Classic UI dialog.

 

 

Thanks,

Manikanta

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @manikanta290719 ,

There are couple of options you could consider 

  • Update the component’s code to retrieve data from nodes instead of JSON and create a script to convert all JSON data and save it into nodes, as suggested in this thread.
  • Switch to Coral2 multifield and use the ACS commons Multifield Extension.
  • Create a custom component that saves multifield items into JSON nodes, as suggested in this adaptTo() talk.

here is the detailed information along with pros and cons of each individual options. Please visit
: https://medium.com/exadel-digital-marketing-technology-practice/classic-to-touch-ui-migration-for-ae...

Hope that helps!

Regards,

Santosh

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @manikanta290719 ,

There are couple of options you could consider 

  • Update the component’s code to retrieve data from nodes instead of JSON and create a script to convert all JSON data and save it into nodes, as suggested in this thread.
  • Switch to Coral2 multifield and use the ACS commons Multifield Extension.
  • Create a custom component that saves multifield items into JSON nodes, as suggested in this adaptTo() talk.

here is the detailed information along with pros and cons of each individual options. Please visit
: https://medium.com/exadel-digital-marketing-technology-practice/classic-to-touch-ui-migration-for-ae...

Hope that helps!

Regards,

Santosh