Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Avatar

Administrator

11-07-2022

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.