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

AEM formdata and CRXDE Node

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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