The following are required to get this running on your system
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:
Property Name | Value |
---|---|
Datasource Name | SaveAndContinue |
JDBC Driver Class | com.mysql.cj.jdbc.Driver |
JDBC connection uri | jdbc:mysql://localhost:3306/aemformstutorial |