Deploy this on your server
- AEM Forms(version 6.3 or above)
- MySql Database
To test this capability on your AEM Forms instance, please follow the following steps
-
Download and deploy the MySql Driver Jar files using the felix web console
-
Download and deploy the OSGi bundle using the felix web console
-
Download and install the package containing client lib, adaptive form template, and the custom page component using the package manager
-
Import the sample Adaptive form using the FormsAndDocuments interface
-
Import the form-data-db.sql using MySql Workbench. This will create the necessary schema and tables in your database for this tutorial to work.
-
Login to configMgr. Search for "Apache Sling Connection Pooled DataSource. Create a new Apache Sling Connection Pooled Datasource entry called SaveAndContinue using the following properties:
SaveAndContinue
com.mysql.cj.jdbc.Driver
jdbc:mysql://localhost:3306/aemformstutorial
- Open the Adaptive Form
- Fill in some details and click on the “Save And Continue Later” button.
- You should get back a URL with a GUID in it.
- Copy the URL and paste it in a new browser tab. Make sure there are no empty space at the end of the URL.
- Adaptive Form should get populated with the data from the previous step.