The Core Component Content Fragment List component allows for the display of a list of content fragments.
The Core Component Content Fragment List Component allows for the inclusion of a list of content fragments on a page based on a Content Fragment model. This can be especially useful for creating headless content that can be easily consumed by other applications.
The current version of the Content Fragment Component is v2, which was introduced with release 2.18.0 of the Core Components in February 2022, and is described in this document.
The following table details all supported versions of the component, the AEM versions with which the versions of the component is compatible, and links to documentation for previous versions.
Component Version | AEM 6.4 | AEM 6.5 | AEM as a Cloud Service |
---|---|---|---|
v2 | - | Compatible | Compatible |
v1 | Compatible | Compatible | Compatible |
For more information about Core Component versions and releases, see the document Core Components Versions.
To experience the Content Fragment List Component as well as see examples of its configuration options as well as HTML and JSON output, visit the Component Library.
The latest technical documentation about the Content Fragment List Component can be found on GitHub.
Further details about developing Core Components can be found in the Core Components developer documentation.
The configure dialog allows the content author to define the which content fragments comprise the list and the elements of those fragments to be included.
The Properties tab defines which Content Fragments are included in the list. This is primarily based on a selected Content Fragment Model, but there are other filter options available.
The Order By, Sort Order, and Max Items options were introduced with release 2.7.0 of the Core Components.
By default, all elements of the Content Fragment Model will be included in the list (unless limited by the Max Items field). The Elements tab allows you to specify only specific elements to include.
The Content Fragment List Component supports the AEM Style System..
Use the drop-down to select the styles that you want to apply to the component. Selections made in the edit dialog have the same effect as those chosen from the component toolbar.
Styles must be configured for this component in the design dialog in order for the drop down menu to be available.
The Content Fragment List Component supports the AEM Style System.