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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

How to iterate composite multi fields values

Avatar

Level 1

Hi Team, 

Can please explain anyone how to iterate composite multi field values using sling models and fetch it page using slightly by data-sly-template

I am tried by using 

@chidresource  

private List<Resource> articledetails;

 

but it’s not working Please explain the process.

 

Thankyou.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Vasu542201 

 

Please check out my blog here: https://allaembykiran.wordpress.com/2021/01/13/nested-multi-field/

 

Hope it helps!

Thanks,
Kiran Vedantam

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @Vasu542201 

 

Please check out my blog here: https://allaembykiran.wordpress.com/2021/01/13/nested-multi-field/

 

Hope it helps!

Thanks,
Kiran Vedantam

Avatar

Community Advisor

@Vasu542201 You have to define your model class for articledetails and inject your multifield properties to ArticleDetails

@chidresource  

private List<ArticleDetails> articleDetails