AEM as a Cloud Service: How to achieve composite multi-field on content fragments | Community
Skip to main content
Level 2
August 1, 2024
Solved

AEM as a Cloud Service: How to achieve composite multi-field on content fragments

  • August 1, 2024
  • 1 reply
  • 864 views

Hello,

 

I am trying to create a content fragment model where I can have multi-line composite multifields on the model. For example, when creating a content fragment, I would like to provide the option of adding a composite multifield where I can create a combination of image and text tied together. I would then like to make this multi line as well. I have done some research, but my findings do not work on AEMaaCS. Are there any resources on potential solutions out there?

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 narendiran_ravi

We need to write custom js for this implementation and manually create a multifield dialog as we create for components. This multifield dialog can be copied inside the CFM via CRX. One disadvantage is if we need to modify the multifield structure or labels, we need to update via CRX. Please follow this blog -https://jimfrenette.com/aem/content-fragments/composite-multifield/. Please let me know if you face any issues

1 reply

narendiran_ravi
narendiran_raviAccepted solution
Level 6
August 2, 2024

We need to write custom js for this implementation and manually create a multifield dialog as we create for components. This multifield dialog can be copied inside the CFM via CRX. One disadvantage is if we need to modify the multifield structure or labels, we need to update via CRX. Please follow this blog -https://jimfrenette.com/aem/content-fragments/composite-multifield/. Please let me know if you face any issues