adobe / aem-modernize-tools

A suite of tools to modernize your AEM Sites implementations off legacy features.
http://opensource.adobe.com/aem-modernize-tools/
Apache License 2.0
64 stars 42 forks source link

[Enhancement] Support to convert AEM foundation forms to core component based AF #209

Open ujjwal5 opened 8 months ago

ujjwal5 commented 8 months ago

Expected Behaviour

Currently, AEM Forms customers both on-premises and cloud services face challenges in migrating their foundation forms to core component-based Adaptive Forms. To address this, we aim to utilize aem-modernize-tools to streamline the migration process.

To ensure clarity and efficiency, we intend to introduce a dedicated tile for forms. A separate tile for forms is required since:

  1. The All-in-One conversion job mandates configuration paths and other parameters for policy conversion, which are unnecessary for forms.
  2. The Component conversion job lacks Page Handling options essential for forms.
  3. Adaptive Forms (AF) are accessible both as a Site page located at /content/forms/af and as a Digital Asset Management (DAM) asset at /content/dam/formsanddocument. Therefore, to utilize the "Copy to Target" page policy, we must copy the source form (asset) to the target, a functionality not available in any of the existing conversion jobs.
  4. Furthermore, this separation ensures that any future additions of form-specific code to the tool won't impact other conversion jobs.
  5. To prevent user confusion regarding the appropriate job to execute for specific purposes.

Actual Behaviour

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

https://github.com/adobe/aem-modernize-tools/pull/210 Forms-modernizer PR: https://git.corp.adobe.com/livecycle/forms-modernizer/pull/2 [in progress]

Logs taken while reproducing problem

ujjwal5 commented 8 months ago

Attaching a short demo of how the feature would work.

https://github.com/adobe/aem-modernize-tools/assets/7971922/9e808975-dd0e-4754-a74d-fdcf8ec78393

ujjwal5 commented 8 months ago

We would need to fix the baseline issues which I got during compilation. For now, I have commented the baseline checks in the PR. cc: @bstopp