How to include custom Data Types in OOTB Content Fragment Editor

TechnoJargon

21-06-2020

Hi

I am looking for the a way to include/develop custom Data types in the Content Fragment Model Editor of AEM version >= 6.4. It could be a hyperlink, extended RTE (with all features/plugins) etc.

It is now recommended in the page to use the CF Model to create a CF. Does that mean that the CF Template development should be totally avoided?

 

https://docs.adobe.com/content/help/en/experience-manager-64/developing/platform/templates/content-f...

 

Thanks 

content fragments RTE

Accepted Solutions (1)

Accepted Solutions (1)

Varun_Shakya

MVP

21-06-2020

Content Fragment templates should not be avoided ..Make changes in the dialog of CF template and those changes will reflect in your CF Editor.

For reference check WE Retail CF templates(/conf/we-retail/settings/dam/cfm/models/we-retail-store-info). 

Answers (1)

Answers (1)

vanegi

Employee

22-06-2020

Content fragment in AEM is created from a content fragment model (template) which adds the basic structure to the CFs. You can customize the model and add custom data types and other metadata properties which would be carried over to the CFs. See [0] for more details.

 

[0]:- https://docs.adobe.com/content/help/en/experience-manager-learn/getting-started-with-aem-headless/ch...