How to add a fragment to the form using core components? | Community
Skip to main content
October 4, 2023
Solved

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

  • October 4, 2023
  • 2 replies
  • 1333 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Khushwant_Singh

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.

2 replies

Pulkit_Jain_
Adobe Employee
Adobe Employee
October 5, 2023

@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-forms-authoring/authoring-adaptive-forms-core-components/create-an-adaptive-form-on-forms-cs/adaptive-form-fragments-core-components.html?lang=en#create-a-fragment. You can switch between the articles for cloud service and on-prem AEM 6.5.

Let me know in case of any further questions.

kozlovamAuthor
October 5, 2023

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?

Khushwant_Singh
Adobe Employee
Khushwant_SinghAdobe EmployeeAccepted solution
Adobe Employee
October 5, 2023

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.

Level 2
January 22, 2024

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. 

Sakshi5
Adobe Employee
Adobe Employee
January 22, 2024

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