Skip to main content
Level 2
September 13, 2023
Répondu

Is multivalue functionality is possible in content fragment?

I want to create a multifield in content fragment to combine two fields like text field and richtext field (multivalue functionality) how to achieve that?

Ce sujet a été fermé aux réponses.
Meilleure réponse par Mahedi_Sabuj

Adobe recommended approach to implement nested content fragment to achieve multifield functionality.

For detailed instructions, you can explore the discussion thread for a step-by-step process.
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-create-custom-content-fragment-model-with-composite/m-p/608700#M152765

4 commentaires

sherinregi-1
Community Advisor
Community Advisor
September 13, 2023

Hi @ssin93 

You can take a look at below implementation where the similar functionality is achieved

 

http://experience-aem.blogspot.com/2022/05/aem-6512-content-fragment-editor-composite-multifield-visibility-rules-mixin-entry.html

 

 

Mahedi_Sabuj
Community Advisor
Mahedi_SabujCommunity AdvisorRéponse
Community Advisor
September 13, 2023

Adobe recommended approach to implement nested content fragment to achieve multifield functionality.

For detailed instructions, you can explore the discussion thread for a step-by-step process.
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-create-custom-content-fragment-model-with-composite/m-p/608700#M152765

Mahedi Sabuj
ssin93Auteur
Level 2
September 13, 2023

Hi @mahedi_sabuj @sherinregi-1 

Is it possible to implement text fields, richtext, image, video and collapsible field  as a multi-level function in a content fragment?

Mahedi_Sabuj
Community Advisor
Community Advisor
September 13, 2023

You can use following Data Types in Content Fragment Model:

  • Single Line Text (Text Fields)
  • Multi Line Text (Rich Text)
  • Content Fragment (Image, Video) 
Mahedi Sabuj