How to iterate composite multi fields values | Community
Skip to main content
New Participant
February 9, 2023
Solved

How to iterate composite multi fields values

  • February 9, 2023
  • 3 replies
  • 1041 views

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

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

Manu_Mathew_
New Participant
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

arunpatidar
New Participant
February 9, 2023
Kiran_Vedantam
Kiran_VedantamAccepted solution
New Participant
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