I was exploring Adobe's Contentfragmentlist and came across an implementation below,
https://wcmauthorguide.illinois.gov/templates-and-components/content-fragments/list-content-fragment...
Does the OOTB configuration support linking to pages, assets etc, or should that be a customisation? Upon reviewing the standard offering, I found that the multiline (RTE) component was the only method available for connecting assets/pages. However, it lacks the feature to hyperlink a title or the entire content.
Solved! Go to Solution.
Views
Replies
Total Likes
The Content Fragment is meant to be used in Headless context as well. Thus, its form-based and fields are separate from each other.
If we wish to render the CF or CF List in a certain way, we would need to customize the HTL.
Like in this they have tried to render content of a linked CF https://kiransg.com/2021/11/13/aem-get-linked-content-fragments-content/
And here an adaptive Image via CF: https://kiransg.com/2021/11/12/aem-content-fragment-with-image-support/
You can use 'Content Reference' data type in content fragment model to link any kind of internal AEM resources in your content fragment instances. You can also limit those reference per mimetypes, images max width / height, etc..
@JFournel The 'content reference', I don't think it appears as hyperlinks while rendering in the page. What I'm looking at is a similar implementation to the reference I've shared and I would like to understand whether I'm missing something or is it a customisation.
The Content Fragment is meant to be used in Headless context as well. Thus, its form-based and fields are separate from each other.
If we wish to render the CF or CF List in a certain way, we would need to customize the HTL.
Like in this they have tried to render content of a linked CF https://kiransg.com/2021/11/13/aem-get-linked-content-fragments-content/
And here an adaptive Image via CF: https://kiransg.com/2021/11/12/aem-content-fragment-with-image-support/
@jezwn Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes