Highlighted

Submitting an Adaptive form to Forms Workflow and generating DOR

Avatar

Avatar

amateur85

Avatar

amateur85

amateur85

16-05-2019

Hi,

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!

Thanks

Replies

Highlighted

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

16-05-2019

Highlighted

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

16-05-2019

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

Highlighted

Avatar

Avatar

amateur85

Avatar

amateur85

amateur85

16-05-2019

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.

Highlighted

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

16-05-2019

Which port is your AEM server running?

Highlighted

Avatar

Avatar

amateur85

Avatar

amateur85

amateur85

16-05-2019

Server is on 8080 port. I am trying http://XXX.XX.XXX.XX:8080/lc/crx/explorer/index.jsp

Highlighted

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

16-05-2019

Try in incognito window

Highlighted

Avatar

Avatar

amateur85

Avatar

amateur85

amateur85

17-05-2019

I tried, it says Anonymous access not allowed. I am able to access all the other modules apart from this. What do you think could be the reason?

Highlighted

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

17-05-2019

If you are able to get the page you then need to login as admin/admin

Highlighted

Avatar

Avatar

Mayank_Gandhi

Employee

Avatar

Mayank_Gandhi

Employee

Mayank_Gandhi
Employee

17-05-2019

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'.