Expand my Community achievements bar.

SOLVED

How to add a fragment to the form using core components?

Avatar

Level 1

When we create a form using core page component (core/fd/components/page/v1/page), it's not possible to add a fragment to the form using core components (screenshot 1). We can only add a fragment using OOTB Panel (screenshot 2). Could you please tell if it is possible to add a fragment to the form using only core components?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Moderator

Fragments support for Core Components based Adaptive Forms is not available in 6.5.18.0. The feature is expected to be released with 6.5.19.0.

View solution in original post

6 Replies

Avatar

Employee Advisor

@kozlovam 

Support for Form Fragments for Adaptive Form based on Core Components was recently added with AEM Forms as a Cloud Service 2023.09.0 release. 

More information here- https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/forms/adaptive-form.... You can switch between the articles for cloud service and on-prem AEM 6.5.

Let me know in case of any further questions.

Avatar

Level 1

Thank you, could you please tell, is it possible to add a fragment to the form using only core components if we use AEM 6.5.18, adobe-aem-forms-addon-6.5.18, aem-service-pkg-6.5.18, core.forms.components 1.1.24?

Avatar

Correct answer by
Moderator

Fragments support for Core Components based Adaptive Forms is not available in 6.5.18.0. The feature is expected to be released with 6.5.19.0.

Avatar

Employee

@kozlovam To clarify - Fragment support requires product changes in adobe-aem-forms-addon as well - apart from the core-components package changes. We are targeting these changes for the next service pack (6.5.19) - and at the time - you would need to upgrade the AEM server with latest SP/Forms addon, as well as the core components package (available at the time).

Avatar

Level 2

I am curious which version of core components you use. There is the Fragment core component which is supposed to be used for adaptive forms with core components. 

Avatar

Employee

This is available on cloud, you may take latest version of archetype (release 47 [1]), to build the project. For 6.5, archetype changes are merged, and will be soon released. In case you need it early, you may build the archetype [2] and then build the project.

 

[1] https://github.com/adobe/aem-project-archetype/releases/tag/aem-project-archetype-47 

[2] https://github.com/adobe/aem-project-archetype