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.
해결되었습니다! 솔루션으로 이동.
토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.
조회 수
답글
좋아요 수
@sarikajain , there are multiple parts of this functionality.
조회 수
답글
좋아요 수
Hello @sarikajain
Can you please share the archetype command you have used to create repo?
Thanks,
Rahul Pandey
조회 수
답글
좋아요 수
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.
조회 수
답글
좋아요 수
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
Thanks Pankaj,
I can see the Adaptive Form Fragment(Core Components) template type.
Can I use it for projects created with earlier archetype versions?
조회 수
답글
좋아요 수
I did the above steps in local author instance but the otion to select template is still not available.
조회 수
답글
좋아요 수
We are currently on AEM 6.5.22 version.
조회 수
답글
좋아요 수
@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.
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.
조회 수
답글
좋아요 수
@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.
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.