Skip to main content
gsravani
Level 2
Sep 18, 2024 2:28 PM UTC
Solved

Issue with Composite Multifield in Content Fragment

Hi All, 

I have followed this blog (Experiencing Adobe Experience Manager (AEM, CQ): AEM Cloud Service - Multiple Composite Multifields in Content Fragments Editor ) to create below CF with composite multifield using custom js.

1. CF initially displays fields with JSON object values. These fields are subsequently populated and rendered correctly.
When working with large data, this loading speed is increased. How to improve the loading speed to display CF correctly?

2. There are also occasional instances where the fields remain empty, and after refreshing the page, we can see the fields displayed correctly.  How to resolve the empty fields issue?
           

 



If anyone has a solution, please let me know.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
narendiran_ravi
narendiran_raviAccepted solution
Level 6
Sep 19, 2024 8:54 AM UTC

This will occur if you have duplicate clientlibs. Can you remove the old custom js added for composite multifield and only use the one from the above blog

4 replies

narendiran_ravi
Level 6
Sep 19, 2024 6:18 AM UTC

Can you try the custom js used in this blog -https://jimfrenette.com/aem/content-fragments/composite-multifield/ 

Translate
gsravani
gsravaniAuthor
Level 2
Sep 19, 2024 7:39 AM UTC

Hi @narendiran_ravi, after following the above blog, the multi-fields are getting multiplied upon each CF refresh.

Translate
narendiran_ravi
narendiran_raviAccepted solution
Level 6
Sep 19, 2024 8:54 AM UTC

This will occur if you have duplicate clientlibs. Can you remove the old custom js added for composite multifield and only use the one from the above blog

Translate
kautuk_sahni
Level 9
Oct 9, 2024 9:46 AM UTC

@gsravani Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Translate
Kautuk Sahni