B
Bonzai 2
Web Parts

Favourite Documents

Display documents marked as favourites using a SharePoint column filter (Showcase column).

DocumentsFeature Parity: 95%

Get Favourite Documents Working in 3 Steps

15-30 minutes

Prerequisites

  • Bonzai 2 package installed on your site
  • A document library with a "Showcase" column (or custom column) to mark favourites
1

Add the web part

Edit your page and add "Bonzai Favourite Documents" from the Bonzai category.

2

Select a library and column

Choose the document library, set the Showcase column name and the value to filter by (e.g., "Favorite").

3

Configure display

Set max items, toggle file type and location display, then publish.

When to Use This Web Part

Use this when you need to...

  • Display documents marked as favourites in a SharePoint column
  • Highlight important or featured documents
  • Create a curated document showcase

Best page locations

  • Homepage — featured document showcase
  • Dashboard pages — important files panel
  • Document Center — alongside Document Portal
  • Department pages — curated content

Consider alternatives when...

  • Displaying all documents — use Documents Rollup
  • Per-user favourites — this filters by a shared column value

Related web parts:

Documents Rollupshow all documents with filteringDocument Portalfull search with personal favourites

How Favourites Work

This web part filters documents from a SharePoint library based on a column value:

  1. Create a column in your document library (default name: "Showcase")
  2. Set the column value to "Favorite" (or your custom value) for documents you want to feature
  3. The web part displays documents matching that column filter

Shared favourites

Unlike browser-based favourites, documents shown here are determined by the SharePoint column value. All users see the same favourited documents. To personalize, users can set their own column values.

Common Configurations

Copy these ready-to-use configurations:

Featured Documents

Show documents marked as favorites

Best for: Homepage sidebar
Configuration
titleFeatured Documents
showcaseColumnNameShowcase
showcaseValueFavorite
maxItems10
showFileTypeOn

Important Policies

Filter by policy category

Best for: Policies page
Configuration
titleKey Policies
showcaseColumnNamePriority
showcaseValueHigh
maxItems5
showSiteLocationOff

Team Resources

Department curated documents

Best for: Team page
Configuration
titleTeam Resources
showcaseColumnNameTeam
showcaseValueMarketing
usePagingOn
itemsPerPage5

Best Practices

Use a Choice column

Create a Choice column in your library with options like "Favorite", "Featured", "Important" to easily categorize and filter documents.

Configure the column name

The default column name is "Showcase" with value "Favorite". Customize these to match your library's column structure.

Troubleshooting

Still need help? Contact Bonzai Support


Reference

Required Library Setup

Favourite Documents uses a document library and filters items by a Showcase-style column.

  1. Select an existing document library with files.
  2. Add a Showcase column (Choice or Text) if it does not exist.
  3. Set the Showcase value (default: Favorite) on documents you want to feature.
ColumnTypeRequiredDescription
TitleSingle line of textYesDocument title (built-in)
FileLeafRefSingle line of textYesFile name (built-in)
FileRefHyperlinkYesServer-relative path (built-in)
ModifiedDate/TimeYesUsed for sorting (built-in)
CreatedDate/TimeNoFallback sort
AuthorPersonNoDisplayed when available
ShowcaseChoice or TextYesColumn to filter by (default name). Add choice "Favorite" as an option.

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: FavoriteStar)
titleIconUrlTextCustom icon URL (overrides icon name)
descriptionText (Multiline)Optional description below the title
manageDocsUrlTextURL for the "Show More" link
manageDocsTextTextText for the "Show More" link (default: Show More)

Data Source Settings

PropertyTypeDescription
siteUrlTextSite URL where the library is located (empty = current site)
listNameList PickerDocument library to display files from
showcaseColumnNameTextColumn name to filter by (default: Showcase)
showcaseValueTextValue to look for in the column (default: Favorite)

Display Settings

PropertyTypeDescription
maxItemsSlider (1-50)Maximum number of documents to display
showFileTypeToggleShow file type icon (default: On)
showSiteLocationToggleShow site location (default: On)
showAddedDateToggleShow when document was added (default: Off)

Paging Settings

PropertyTypeDescription
usePagingToggleEnable pagination (default: Off)
itemsPerPageSlider (3-20)Items per page when paging is enabled

Appearance

PropertyTypeDescription
chromeTypeDropdownChrome type: None, Title Only, Border Only, Title and Border
fixedHeightSlider (0-800)Fixed height in pixels (0 = auto height)

Features Checklist

  • ✅ Filter by SharePoint column value
  • ✅ Configurable column name and value
  • ✅ File type icons
  • ✅ Site location display
  • ✅ Added date display
  • ✅ Pagination support
  • ✅ Custom title with icon and link
  • ✅ Show more link
  • ✅ Fixed height option