AEM form CRUD Operations

hitesh_m 09-03-2016

Hi Experts,

I am using AEM forms for storing some content in CRX (through Submit and Store Action). 

Now , I have to do certain operations like Edit or Delete the records within the form. I know AEM suggests to use bulk editor for same but requirement is to perform operations from AEM forms itself. 

 

Any idea ?

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (3)

Answers (3)

deepak_k_
Employee
19-03-2016

Also, in general, you should probably avoid Store Content action for production use because of the PII & Scalability concerns. Please use Form Portal Submit.

We have added few APIs to list the Portal Drafts & Submissions. I do not remember those has delete/edit API though. If not, you may have to use JCR or REST APIs for that.

TundraSteve 18-03-2016

I'd need more detail before I can provide a definitive response.  To edit the content it would be fairly easy to re-render the record into the form and allow the user to make changes.  It would be much like the draft capability in the portal.  For deletion a "listing" UI would have to be created allowing for the selection of the records to be removed.