Is multivalue functionality is possible in content fragment? | Community
Skip to main content
Level 2
September 13, 2023
Solved

Is multivalue functionality is possible in content fragment?

  • September 13, 2023
  • 3 replies
  • 923 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by 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

3 replies

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 AdvisorAccepted solution
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
ssin93Author
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