B
Bonzai 2
Web Parts

Pages Rollup

Display SharePoint pages with sorting, filtering, multiple templates (Default and Card), comments, and likes.

ContentFeature Parity: 95%

Get Pages Rollup Working in 3 Steps

10-20 minutes

Prerequisites

  • Bonzai 2 package installed on your site
  • Site Pages or a custom list with pages
1

Add the web part

Edit your page and add "Bonzai Pages Rollup" from the Bonzai category.

2

Select source list and view

Choose your pages list from the List picker. Optionally select a view to filter.

3

Configure display

Choose template (Default or Card), set items per page, and configure sort order.

When to Use This Web Part

Use this when you need to...

  • Display recent pages on the homepage
  • Show pages by category or tag (via views)
  • Create a knowledge base listing
  • Display child pages of a section

Best page locations

  • Homepage — recent pages widget
  • Category pages — filtered content
  • Documentation hubs — page listings

Consider alternatives when...

  • News specifically — use News Rollup
  • Featured content — use Spotlight Rollup

Related web parts:

News Rollupnews-specific contentSpotlight Rollupfeatured/promoted content

Recent Updates

  • Image selection prefers higher-resolution page images to avoid low-res thumbnails.

Common Configurations

Copy these ready-to-use configurations:

Recent Pages List

Recent pages in list format

Best for: Homepage sidebar
Configuration
titleRecent Pages
templateNamedefault
sortBymodified
itemsPerPage10
showPagingOn

Page Cards Gallery

Cards with thumbnails

Best for: Department page
Configuration
titlePages
templateNamecard
itemsPerRow3
itemsPerPage6
showCommentsOn

Featured Pages

Promoted pages only

Best for: Landing page
Configuration
showPromotedOnlyOn
templateNamecard
itemsPerRow4

Knowledge Base

Alphabetical page listing

Best for: Documentation hub
Configuration
titleKnowledge Base
sortBytitle
templateNamedefault
itemsPerPage20

Best Practices

Sort by Modified for recent content

Set Sort By to "Modified" to show the most recently updated pages.

Use views for filtering

Create SharePoint views to filter pages by category, then select the view in the web part.

Troubleshooting

Still need help? Contact Bonzai Support


Reference

Site Pages Schema

Pages Rollup reads from a selected list (commonly Site Pages). If no list is selected, it triesPages, SitePages, and Site Pages.

  1. Select the Site Pages library (or a custom pages list).
  2. Optional: add a Category column and use views for filtering.
  3. Optional: use Promoted/Featured values if you enable promoted-only filtering.
  4. Publish pages so they are visible in the rollup.
ColumnTypeRequiredNotes
TitleSingle line of textYesDefault Site Pages column
Banner ImageImageNoUsed for card thumbnails
DescriptionMultiple linesNoOptional excerpt/summary
CategoryChoiceNoOptional category filtering via views
PromotedStateNumberNoUsed when Show Promoted Only is enabled

Property Pane Configuration

Title Settings

PropertyTypeDescription
titleTextWeb part title displayed above the content
titleUrlTextOptional URL to make the title clickable
titleIconOptionDropdownTitle icon mode: Custom or None
titleIconNameIcon PickerFluent UI icon picker (default: Page)
titleIconUrlTextCustom icon URL (overrides icon name)
descriptionText (Multiline)Optional description below the title
showMoreTextTextText for the "Show More" link (default: See all pages)
showMoreUrlTextURL for the "Show More" link (empty = hidden)

Data Source Settings

PropertyTypeDescription
siteUrlTextSite URL where the pages library is located (empty = current site)
listNameList PickerSource list (e.g., Site Pages)
viewNameView PickerView to filter pages (depends on selected list)
sortByDropdownSort by: Modified, Created, or Title

Display Settings

PropertyTypeDescription
templateNameDropdownDisplay template: Default (list) or Card
itemsPerRowDropdownItems per row (2-4), only for Card template
itemsPerPageSlider (1-20)Number of pages to display per page
showPagingToggleShow pagination controls (default: On)
fixedHeightSlider (0-800)Fixed height in pixels (0 = auto)
chromeTypeDropdownChrome type: None, Title Only, Border Only, Title and Border
showPromotedOnlyToggleShow only promoted/featured pages
showCommentsToggleShow comment count (default: On)
showLikesToggleShow like count (default: On)

Features Checklist

  • ✅ Default and Card display templates
  • ✅ View-based filtering
  • ✅ Multiple sort options (Modified, Created, Title)
  • ✅ Pagination support
  • ✅ Promoted pages filtering
  • ✅ Comments and likes display
  • ✅ Configurable items per row (Card template)
  • ✅ Custom title with icon and link
  • ✅ Show more link