Show Menu
TOPICS×

Storing and Retrieving Adaptive Form Data from MySQL Database

This tutorial will walk you through the steps involved in saving and retrieving Adaptive Form Data from Database. This tutorial used MySQL database to store Adaptive Form data. Database of your choice can be used to store the data as long as you have deployed the database specific drivers in AEM. At a high-level, the following steps are needed to achieve the use case:
  • Use the GuideBridge API get access to the Adaptive Form data
  • Make a POST call to a servlet. This servlet stores the data in the database. The stored data is associated with a GUID
  • When you want to populate the Adaptive Form with the stored data, you retrieve the data associated with the GUID and populate the Adaptive Form using the request.setAttribute method.

Demonstration of the use case