Expand my Community achievements bar.

SOLVED

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

Avatar

Level 1

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?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 5

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 5

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