Storing and Retrieving Adaptive Form Data with 2FA

This tutorial will walk you through the steps involved in saving and retrieving Adaptive Form Data with attachments using 2FA. 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 and the form attachments in the CRX repository. The stored data in the database 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

Prerequisites

The audience of this content is expected to have some experience in the following areas:

  • Adaptive Form
  • Form Data Model
  • OSGi services/components
  • AEM Client Libraries

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free