Hi Team,
I have to create Multifield for that i will use SlingModel.
Now how i can use @childresource to get the resource in sling model.
If any one create done multifield with child resource annotation plz share the code it will be useful for me to understand.
Regards
Manikantha R
Solved! Go to Solution.
Views
Replies
Total Likes
Check my blog for your query:
https://allaembykiran.wordpress.com/2021/09/06/sling-model-retrieving-properties-of-child-resources/
Check my other blog for multi field:
https://allaembykiran.wordpress.com/2021/01/13/nested-multi-field/
Hope this helps.
Thanks,
Kiran Vedantam
Check my blog for your query:
https://allaembykiran.wordpress.com/2021/09/06/sling-model-retrieving-properties-of-child-resources/
Check my other blog for multi field:
https://allaembykiran.wordpress.com/2021/01/13/nested-multi-field/
Hope this helps.
Thanks,
Kiran Vedantam
Hi Team,
This is way where i am getting child resource
Resource resource=componentResource.getChild("customerDetals");
But how i can use @Childresource annoattaon in this scenario.
Regards
Manikantha R
Check the blog here for an example: https://aem4beginner.blogspot.com/sling-annotations-in-aem
Thanks,
Kiran Vedantam.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies