Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

Core Components based form fragment template

Avatar

Level 2

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

sarikajain_0-1756692967277.png

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  

 

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Employee

@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.

View solution in original post

12 Replies

Avatar

Level 2

Avatar

Level 3

Hello @sarikajain 

 

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

 

Thanks,

Rahul Pandey

Avatar

Level 2

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.

 

Avatar

Employee

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

Avatar

Level 2

Thanks Pankaj, 

 

I can see the Adaptive Form Fragment(Core Components) template type. 

Can I use it for projects created with earlier archetype versions?

 

Avatar

Level 1

I did the above steps in local author instance but the otion to select template is still not available.

Avatar

Level 2

We are currently on AEM 6.5.22 version.

Avatar

Employee

@sarikajain , did you enable the fragment template after creation? Initially, it is in draft state. You need to enable it so it starts appearing in the creation wizard. Please share screen shot what you see on the creation wizard screen.

Avatar

Level 2

Hi Pankaj,

Please find the screenshots below:

1. Template status - enabled

sarikajain_0-1756739233713.png

2. Fragment creation wizard

sarikajain_1-1756739333498.png

No option to select form fragment template similar to AEM AA CS.

 

 

Avatar

Employee

@sarikajain , This feature (editable core component fragment templates) doesn't seem to be enabled in your environment. You need to get in touch with Adobe support to get this feature enabled in your environment.

Avatar

Level 2

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_0-1756804089907.png

 

Avatar

Correct answer by
Employee

@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.