3 Replies Latest reply on Mar 18, 2016 10:50 PM by mayankg

    AEM form CRUD Operations

    hitesh.m Level 1

      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 ?

        • 1. Re: AEM form CRUD Operations
          TundraSteve Employee Moderator

          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.

          • 2. Re: AEM form CRUD Operations
            mayankg Level 1

            I agree, using Save and Submit Forms portal functionality should suffice your requirement

            • 3. Re: AEM form CRUD Operations
              deepak k. Adobe Employee

              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.