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 | Community
Skip to main content
Level 2
Jun 17, 2022 1:51 PM UTC
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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SantoshSai
SantoshSaiAccepted solution
New Participant
Jun 17, 2022 2:39 PM UTC

Hi @manikantach ,

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-aem-multifields-e58c246b0c2f

Hope that helps!

Regards,

Santosh

Santosh Sai

1 reply

SantoshSai
SantoshSaiAccepted solution
New Participant
Jun 17, 2022 2:39 PM UTC

Hi @manikantach ,

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-aem-multifields-e58c246b0c2f

Hope that helps!

Regards,

Santosh

Translate
Santosh Sai