Getting this use case to work on your system
- Applies to:
- Experience Manager 6.4
- Experience Manager 6.5
- Topics:
- Mobile Forms
CREATED FOR:
- Experienced
- Developer
AEM Forms 6.5
To get this use case working on your local system, following these steps:
Deploy the following on your AEM Forms author instance
-
Import the custom profile that merges the data from the HTML5 form with the XDP and returns an interactive pdf.
-
Deploy the Developing with Service User bundle
Add the following entry in the Apache Sling Service User Mapper Service using the configMgr
DevelopingWithServiceUser.core:getformsresourceresolver=fd-service
- You can store the form submissions in a different folder by specifying the folder name in the AEM Server Credentials configuration using the configMgr. If you change the folder, make sure you create a launcher on the folder to trigger the workfow ReviewSubmittedPDF
Deploy the following assets on publish instance
-
Specify the username/password for the author instance and an existing location in your AEM repository to store the submitted data in the AEM Server credentials using the configMgr. You can leave the URL of the endpoint on AEM Workflow Server as is. This is the endpoint which extracts and stores the data from the submission in the specified the node.
-
Search for Apache Sling Referrer Filter. Make sure the Allow Empty checkbox is selected.
-
Import the custom profile that merges the data from the HTML5 form with the XDP and returns an interactive pdf.
Test the solution
-
Login to your author instance
-
Edit the advanced properties of the w9.xdp. Make sure the submit url and render profile are set correctly as shown below.
-
Publish the w9.xdp
-
Login to publish instance
-
Fill in several fields and then click the button on the toolbar to download the interactive PDF.
-
Fill in the downloaded PDF using Acrobat and hit submit button.
-
You should get a success message
-
Login to AEM Author instance as admin
-
You should have workitem to review the submitted PDF