Create an Adaptive Form (Core Components) based on XFA Form templates

The feature is available under early adopter program. You can write to aem-forms-ea@adobe.com from your official email id to join the early adopter program and request access to the capability.

AEM as a Cloud Service provides users with the option to create Adaptive Forms based on Core Components using XFA (XML Forms Architecture) form templates or *.XDP (XML Data Package) files. This feature allows users to save time by migrating fields from XFA form template or XDP files files directly into Adaptive Forms.

You can repurpose your XFA form template or XDP files form templates to create Adaptive Forms based on Core Components. To repurpose, upload and associate an XFA form template or XDP files with an Adaptive Form. The elements of the XFA form template or XDP files become available for use in the content finder during Adaptive Form authoring. From the Content Finder, you can drag and drop the form template elements onto the form.

Adavantages of creating forms based on XFA Form templates or XDP files

Few of the advantages of creating forms based on XFA form templates or XDP files are:

  • Time savings: You can quickly reuse existing XFA form templates (XDP files) without needing to recreate the form structure, saving time and effort during the authoring process.
  • Effortless migration: If you already have XFA form templates in use, this option provides an easy migration path to Adaptive Forms, allowing you to take advantage of the benefits of modern AEM Core Components without losing existing form data and logic.
  • Improved user experience: Adaptive Forms are more responsive and customizable than XFA forms. By transitioning to Adaptive Forms, you can ensure a more user-friendly experience across different devices and screen sizes.
  • Enhanced integration: Adaptive Forms integrate better with other features, such as workflows, data binding, and form submissions, enabling smoother workflows and better overall form management.

Pre-requisites

You require the following to create an Adaptive Form based on Core Components using XFA form templates or XDP files:

How to create an Adaptive Form using an XFA Form templates or XDP files?

Perform the following steps to create an Adaptive Form using XFA or XDP form templates:

  1. Log in to your Experience Manager Forms author instance.

  2. Enter your credentials on the Experience Manager login page. After you are logged in, in the upper-left corner, select Adobe Experience Manager > Forms > Forms & Documents.

    Forms and Documents

  3. Select Create > Adaptive Forms.

    Create Adaptive Form

    The Form creation wizard opens.

  4. In the Source tab, select a template based on Core Components.

    Select template

    When you select a template, a theme and submit action specified in the template are auto-selected, and the Create button is enabled.

    Select theme

  5. Select Create. A dialog to specify title, name, and location to save the Adaptive Form appears.

  6. Specify its title, name and location.

  7. Select Create.
    Provide name and title

    An Adaptive Form is created and opens in the Adaptive Forms editor. The editor displays the contents available in the template.

  8. Select Page information > Open Properties.

    Open properties

    The Form Properties page opens.

  9. Go to the Form Model tab and choose Form Templates.

  10. Select the .xdp file from the dropdown list.

    Select XDP file

    A warning dialog box appaers on screen. Click OK to proceed further.

    Warning Dialog

  11. Select Save & Close to save the properties.

    note note
    NOTE
    After selecting Form Templates in the Form Model tab, it cannot be changed.

An Adaptive Form is created and opens in the Adaptive Forms editor. The editor displays the contents available in the template. Based on the type of Adaptive Form, the form elements present in the associated XFA form template are displayed in the Data Model Objects tab of the Content Browser in the sidebar. You can also drag-drop these elements to build your Adaptive Form.

NOTE
You can disable scripts for XDP form fields using the panel toolbar of the added field. Create logics for the added fields using the Visual Rule Editor.

See also

recommendation-more-help
fbcff2a9-b6fe-4574-b04a-21e75df764ab