Issue with Composite Multifield in Content Fragment | Community
Skip to main content
gsravani
Level 2
September 18, 2024
Solved

Issue with Composite Multifield in Content Fragment

  • September 18, 2024
  • 2 replies
  • 793 views

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.
Best answer by narendiran_ravi

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

2 replies

narendiran_ravi
Level 6
September 19, 2024

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

gsravani
gsravaniAuthor
Level 2
September 19, 2024

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

narendiran_ravi
narendiran_raviAccepted solution
Level 6
September 19, 2024

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

kautuk_sahni
Community Manager
Community Manager
October 9, 2024

@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!

Kautuk Sahni