Core Components based form fragment template | Community
Skip to main content
Level 2
September 1, 2025
Solved

Core Components based form fragment template

  • September 1, 2025
  • 2 replies
  • 2130 views

I am trying to follow the documentation for creating Core Components based form fragments. It mentions to use template based on Core Components:

But there are no template types or templates available for it. I have created and deployed the AEM project using archetype 45 as suggested in the documentation but there is no template for form fragments, only for creating form.

Any help on this.

 cc @kautuk_sahni  

 

Best answer by pankajpr

Thanks for verifying @pankajpr . I will definitely reach out to Adobe support for same.

As per an earlier issue thread, it seems this was enabled in Core Component version 1.1.32. Is my understanding correct?

 


@sarikajain , there are multiple parts of this functionality.

  1. Core Component Fragment Support - As per the response, the support seems to be added in 1.1.32
  2. Template - This is content which comes from archetype, this has been added also and available in the latest archetype.
  3. Creation Wizard - Listing fragment templates in creation wizard functionality also added to the product but being a entry point for the functionality, this is behind a feature toggle. You need to get it enabled contacting Adobe Support.

2 replies

Adobe Employee
September 1, 2025

Hello @sarikajain 

 

Can you please share the archetype command you have used to create repo?

 

Thanks,

Rahul Pandey

Level 2
September 1, 2025

Hi Rahul,

Here is the command:

 

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=45 -D appTitle="My Form" -D appId="myform" -D groupId="com.myform" -D includeFormsenrollment="y" -D aemVersion="6.5.22"

 

I had additionally installed AEM Forms add-on 6.0.1328 version and Adaptive Form Core Components version 1.1.66. 

Same I changed after project root pom after creation.

It seems that only Adaptive Form template is created with sample project not Form Fragment template but additional steps to create Form Fragment template is missing in the documentation.

 

Adobe Employee
September 1, 2025

Hi Sarika,

 

For fragments, Archetype provides core component fragment template type, not any default fragment template. You can go to template console and create a fragment template using template-type. After enabling this template, you would be able to use this template for core component fragment creation.

 

Thanks,

Pankaj Parashar