Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Hi, Can we modify content fragment model and add fields to add custom component in the content fragment.

Avatar

Level 2
 
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello,

 

The Content Fragment Model (CFM) can indeed be updated to include additional data types. However, it's important to note that the fields you can add are not equivalent to what are referred to as "components" in the AEM context. Any modifications made to the CFM will impact all existing Content Fragments, so exercise caution when making updates.

Out of the box, there are several data types available that you can utilize. You can explore them here: https://experienceleague.adobe.com/docs/experience-manager-65/assets/content-fragments/content-fragm.... Nonetheless, you also have the flexibility to customize and create your own data types. An example of how to achieve this can be found here: https://www.linkedin.com/pulse/custom-datatype-content-fragments-model-cfm-aem-generate-ankur-garg

 

 

Hope this helps



Esteban Bustamante

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hello,

 

The Content Fragment Model (CFM) can indeed be updated to include additional data types. However, it's important to note that the fields you can add are not equivalent to what are referred to as "components" in the AEM context. Any modifications made to the CFM will impact all existing Content Fragments, so exercise caution when making updates.

Out of the box, there are several data types available that you can utilize. You can explore them here: https://experienceleague.adobe.com/docs/experience-manager-65/assets/content-fragments/content-fragm.... Nonetheless, you also have the flexibility to customize and create your own data types. An example of how to achieve this can be found here: https://www.linkedin.com/pulse/custom-datatype-content-fragments-model-cfm-aem-generate-ankur-garg

 

 

Hope this helps



Esteban Bustamante