AEM formdata and CRXDE Node | Community
Skip to main content
October 16, 2015
Solved

AEM formdata and CRXDE Node

  • October 16, 2015
  • 1 reply
  • 544 views

Hi, 

Does anyone know please a way I can submit form data from an AEM form to the CRXDE repository but instead of creating a new node each time I submit new information, I want to over write the previous node and save the data on the same node each time. The reason for this is that I need to access the last CRXDE node properties in Java using the Node class and even after trying to use the NodeIterator (e.g NodeIterator.nextNode()) I can't seem to find a logic that returns the last node.

Thank you for your help.

Famruch

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

you could find such example out of the box example profile update [1].  The key is you should provide form submit to same path. Btb you might have to plan well if it multiple publish instance how to sync with other instance.

[1]   http://localhost:4502/cf#/content/geometrixx-outdoors/en/user/account.html

1 reply

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

you could find such example out of the box example profile update [1].  The key is you should provide form submit to same path. Btb you might have to plan well if it multiple publish instance how to sync with other instance.

[1]   http://localhost:4502/cf#/content/geometrixx-outdoors/en/user/account.html