Listv3

List can be used to display a list of pages. They can be defined either dynamically - by search query, tags or from a parent page - or as a static list of items.

Using Core Components

Adobe Help Center

Examples

Built from Child Pages

List built from child pages of a root page. In this example the depth is 1 level but deeper structures can be configured.

  • AEM Forms Container
  • Title
  • Text
  • Image
  • Button
  • Teaser
  • Download
  • List
  • Experience Fragment
  • Content Fragment
  • Content Fragment List
  • Embed
  • PDF Viewer
  • Progress Bar
  • Social Sharing
  • Separator
  1. showModificationDate: false
  2. linkItems: false
  3. parentPage: /content/core-components-examples/library/page-authoring
  4. sortOrder: asc
  5. showDescription: false
  6. sling:resourceType: core-components-examples/components/list
  7. childDepth: 1
  8. listFrom: children
    
        

    
  • AEM Forms Container
  • Title
  • Text
  • Image
  • Button
  • Teaser
  • Download
  • List
  • Experience Fragment
  • Content Fragment
  • Content Fragment List
  • Embed
  • PDF Viewer
  • Progress Bar
  • Social Sharing
  • Separator

Built from Fixed List

List built from a bespoke set of pages defined directly in the component edit dialog.

  • Carousel
  • Teaser
  • Text
  1. showModificationDate: false
  2. tagsMatch: any
  3. linkItems: false
  4. sortOrder: asc
  5. pages: /content/core-components-examples/library/container/carousel,/content/core-components-examples/library/page-authoring/teaser,/content/core-components-examples/library/page-authoring/text
  6. showDescription: false
  7. sling:resourceType: core-components-examples/components/list
  8. childDepth: 1
  9. listFrom: static
    
        

    
  • Carousel
  • Teaser
  • Text

Built from Search

List built from a search query term under a defined root page.

  • Carousel
  • Category Carousel
  • Product Carousel
  • Related Products
  1. showModificationDate: false
  2. tagsMatch: any
  3. linkItems: false
  4. sortOrder: asc
  5. query: Carousel
  6. showDescription: false
  7. searchIn: /content/core-components-examples/library
  8. sling:resourceType: core-components-examples/components/list
  9. childDepth: 1
  10. listFrom: search
    
        

    
  • Carousel
  • Category Carousel
  • Product Carousel
  • Related Products

Built from Tags

List built from a set of tags to be found related to pages under a root page. Uses the default match Any tag feature, but it's also possible to configure the component to match all tags.

  • Social Sharing
  • Teaser
  • Image
  • Experience Fragment
  • Text
  • Separator
  • List
  • Download
  • Content Fragment List
  • Embed
  • Content Fragment
  • Button
  1. showModificationDate: false
  2. tagsMatch: any
  3. linkItems: false
  4. sortOrder: asc
  5. tagsSearchRoot: /content/core-components-examples/library
  6. tags: core-components-examples:component-type/page-authoring
  7. showDescription: false
  8. sling:resourceType: core-components-examples/components/list
  9. childDepth: 1
  10. listFrom: tags
    
        

    
  • Social Sharing
  • Teaser
  • Image
  • Experience Fragment
  • Text
  • Separator
  • List
  • Download
  • Content Fragment List
  • Embed
  • Content Fragment
  • Button

Order

List built from child pages, with the sort order set to order by title, descending. It is also possible to order by the last modified date.

  • Title
  • Text
  • Teaser
  • Social Sharing
  • Separator
  • Progress Bar
  • PDF Viewer
  • List
  • Image
  • Experience Fragment
  • Embed
  • Download
  • Content Fragment List
  • Content Fragment
  • Button
  • AEM Forms Container
  1. showModificationDate: false
  2. linkItems: false
  3. orderBy: title
  4. parentPage: /content/core-components-examples/library/page-authoring
  5. sortOrder: desc
  6. showDescription: false
  7. sling:resourceType: core-components-examples/components/list
  8. childDepth: 1
  9. listFrom: children
    
        

    
  • Title
  • Text
  • Teaser
  • Social Sharing
  • Separator
  • Progress Bar
  • PDF Viewer
  • List
  • Image
  • Experience Fragment
  • Embed
  • Download
  • Content Fragment List
  • Content Fragment
  • Button
  • AEM Forms Container

Max Items

List with the maximum number of items set to 4.

  • AEM Forms Container
  • Title
  • Text
  • Image
  1. showModificationDate: false
  2. linkItems: false
  3. parentPage: /content/core-components-examples/library/page-authoring
  4. sortOrder: asc
  5. maxItems: 4
  6. showDescription: false
  7. sling:resourceType: core-components-examples/components/list
  8. childDepth: 1
  9. listFrom: children
    
        

    
  • AEM Forms Container
  • Title
  • Text
  • Image

Items with Link, Description and Date

The rendering of the list items can be configured to optionally display a link to the page, page description and last modified date.

  1. showModificationDate: true
  2. linkItems: true
  3. parentPage: /content/core-components-examples/library/page-authoring
  4. sortOrder: asc
  5. showDescription: true
  6. sling:resourceType: core-components-examples/components/list
  7. childDepth: 1
  8. listFrom: children
    
        

    

Items displayed as Teasers

The rendering of the list items can be configured to optionally display the items as teasers.

  1. showModificationDate: true
  2. linkItems: true
  3. parentPage: /content/core-components-examples/library/page-authoring
  4. sortOrder: asc
  5. displayItemAsTeaser: true
  6. maxItems: 3
  7. showDescription: true
  8. sling:resourceType: core-components-examples/components/list
  9. childDepth: 1
  10. listFrom: children