Hello,
Goal: To display content from a content fragment onto a page or experience fragment. This must include data from fragment reference fields ie: nested content fragments and content reference fields, specifically images. Currently, OOTB only displays either with their respective paths.
My Approach:
My issue is with the Sling Model and HTL, I am not sure how to write it in a way that satisfies my requirements. I have been able to grab the content fragment path and access the values from the content fragment but this isnt based on what has been entered in the dialog box, rather it grabs it directly from the content fragment (I think I need to add this logic in the HTL but I am not sure)
Any help would be highly appreciated
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Views
Replies
Total Likes
@bruce_fernandes Did you find the suggestion helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
For nested content fragments, I would like to find the content fragment, grab it's data and expose it to the component's HTL
I think you may find useful this thread.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies