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.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
@sarikajain , there are multiple parts of this functionality.
Views
Replies
Total Likes
Views
Replies
Total Likes
Hello @sarikajain
Can you please share the archetype command you have used to create repo?
Thanks,
Rahul Pandey
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Thanks Pankaj,
I can see the Adaptive Form Fragment(Core Components) template type.
Can I use it for projects created with earlier archetype versions?
Views
Replies
Total Likes
I did the above steps in local author instance but the otion to select template is still not available.
Views
Replies
Total Likes
We are currently on AEM 6.5.22 version.
Views
Replies
Total Likes
@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.
Views
Replies
Total Likes
Hi Pankaj,
Please find the screenshots below:
1. Template status - enabled
2. Fragment creation wizard
No option to select form fragment template similar to AEM AA CS.
Views
Replies
Total Likes
@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.
Views
Replies
Total Likes
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?
Views
Replies
Total Likes
@sarikajain , there are multiple parts of this functionality.
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies