Hi Team
AEM Forms are in the /content/dam/formsanddocuments content path why AEM Stores all forms in the content path and adding the adaptive form site page same as authoring assets .Can we use Content fragments for AEM Forms using as Headless Approach (Similar to Content Fragments)
Regards
Vara
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @varaande -
In AEM, the default content path for storing forms and documents is `/content/dam/formsanddocuments`. This path is used to organize and manage the assets related to forms and documents within AEM.
The reason for storing forms in the content path is to leverage AEM's content management capabilities. AEM provides features such as versioning, workflow, permissions, and asset management, which are beneficial for forms and documents. Storing forms as assets allows for easy authoring, management, and reuse across different sites and channels.
As for using Content Fragments for AEM Forms as a headless approach,
In summary, while Content Fragments can be used for managing structured content in a headless approach, it is not recommended to use them as a replacement for AEM Forms when you need the full range of form-related functionality. Instead, consider leveraging AEM's Content Services API to access and render AEM Forms in a headless manner.
When you create any AEM form , by default, provides a defined set of metadata.
Then AEM from stores under /content/forms/af/ <You can author the form to add any fields >
metadata related to that form stores under /content/dam/forsmanddocuments section.
IN AEM forms , you can use content fragments .
Suppose, in all the aem forms , Name , EMail and Mobile fields have to be exists irrespective of the template you use.
Then create the content fragment with Name, EMAIL and mobile field and add that content fragment to the form. so you no need to manually add the fields.
Tanks
Siva
Hi Siva
Is it possible to add the Content Fragment to Adaptive Form. Currently I am not able to add the Content Fragment But able to add the Adaptive Form Fragment.
Regards
Vara
Hello @varaande -
In AEM, the default content path for storing forms and documents is `/content/dam/formsanddocuments`. This path is used to organize and manage the assets related to forms and documents within AEM.
The reason for storing forms in the content path is to leverage AEM's content management capabilities. AEM provides features such as versioning, workflow, permissions, and asset management, which are beneficial for forms and documents. Storing forms as assets allows for easy authoring, management, and reuse across different sites and channels.
As for using Content Fragments for AEM Forms as a headless approach,
In summary, while Content Fragments can be used for managing structured content in a headless approach, it is not recommended to use them as a replacement for AEM Forms when you need the full range of form-related functionality. Instead, consider leveraging AEM's Content Services API to access and render AEM Forms in a headless manner.
Views
Likes
Replies