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

acs-commons-nested="NODE_STORE" not saving to nodes

Avatar

Level 2

AEM 6.3 with service pack 3. After upgrading our dialog won't save data as before. We access data entered for each slide added to the component by the 'iItems' Node it used to store in. The slides are now being stored in an array under the components properties instead.

Here is the dialog and example of how its being stored.

<pages
   jcr:primaryType="nt:unstructured"
   sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
   class="full-width"
   fieldLabel="Carousel Slide Info">
  
  <field
   jcr:primaryType="nt:unstructured"
   sling:resourceType="granite/ui/components/foundation/form/fieldset"
   acs-commons-nested="NODE_STORE"
   name="./iItems">

1645030_pastedImage_9.png

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Below file in acs-commons has example of cq:dialog to store as nodes, we can put console logs/alerts to debug the flow

/apps/acs-commons/touchui-widgets/composite-multifield/source/touchui-composite-multifield-nodestore.js

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Below file in acs-commons has example of cq:dialog to store as nodes, we can put console logs/alerts to debug the flow

/apps/acs-commons/touchui-widgets/composite-multifield/source/touchui-composite-multifield-nodestore.js

Avatar

Level 2

Thanks, that helped me figure out I just needed to update my acs package