Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Fetching Multifield data of AEM Dialog in HTL using Single Java Class | AEM Community Blog Seeding

Avatar

Administrator

7/11/22

BlogImage.jpg

Fetching Multifield data of AEM Dialog in HTL using Single Java Class by Aemsimplifiedbynikhil

Abstract

If you are looking for an article to create a multifield and fetch it’s data in HTL using just single Java class then you are at the right place. So let’s go ahead and start the creation of a multifield in dialog and then use a java class to fetch the data and then render it on the HTML.

Below is the dialog.xml for the multifield which is of type composite which means the data that you enter in the fields of multifield will be saved in different nodes in content hierarchy i.e, item 0, item 1, and so on.