I am working on a solution to submit an adaptive form to a process in workbench. On submission, I want to extract the data from the form and merge it with xdp file to generate a document of record. I want to display the generated pdf aka document of record in a pop up to the user. I am able to submit the form and generate the DOR but I am stuck on the step to pass the DOR back and display it as a pop-up to the user. Could someone please help me with it? I am using AEM on J2EE.
P.S. I also looked at the solution at link - Adobe Experience Manager Help | Using API to generate Document of Record with AEM Forms
But I am not getting how to create the service user since I am not using the OSGi stack. Please help!
You import the OSGI bundle and use it as is in your code if you wish to
you will have to provide the necessary permissions to the “data” service user to access the repository nodes
Thanks. I did import the bundle. But the problem is that I am unable to find the crx explorer index link to navigate to user administration on the server and add the "data" system user. Sorry, I am new to the OSGI side of things.
You can also try Creating an AF based on the schema and bind the respective fields, now directly submit the data from Form to JEE workflow by selecting ' submit to forms workflow'.