Skip to main content
February 9, 2023
Solved

How to iterate composite multi fields values

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Kiran_Vedantam
Kiran_VedantamAccepted solution
Community Advisor
February 9, 2023

Hi @vasu542201 

 

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

 

Hope it helps!

Thanks,
Kiran Vedantam

3 replies

Kiran_Vedantam
Community Advisor
Kiran_VedantamCommunity AdvisorAccepted solution
Community Advisor
February 9, 2023

Hi @vasu542201 

 

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

 

Hope it helps!

Thanks,
Kiran Vedantam

Translate
Manu_Mathew_
Community Advisor
Community Advisor
February 10, 2023

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

@chidresource  

private List<ArticleDetails> articleDetails

Translate