B
Bonzai 2
Page Recipes

Documents Page Recipe

Build a complete document management page with search, rollups, tables, and favourites.

Documents4 Web Parts45-60 min (first time)

Overview

This recipe creates a comprehensive document management page with full-text search, recent documents, tabular browsing, and user favourites.

Page Layout

Section 1: Full Width — Document Portal (Search)
Left (50%) — Documents Rollup
Right (50%) — Documents Table
Section 3: Full Width — Favourite Documents

Step-by-Step Setup

1

Create the Documents Page

  1. Go to Site Contents → Site Pages → + New → Page
  2. Name the page "Documents"
  3. Add to site navigation
2

Add Section 1: Document Portal

Add a full-width section for the main document search.

Add web part: Bonzai Document Portal

PropertyValue
TitleDocument Search
Search ScopeCurrent Site
Default ViewList
Items Per Page30
Show Sort DropdownShow
Show Filters PanelShow
Show Favourite DocumentsShow
Hover Preview CardShow
Title IconDocumentSearch
Chrome TypeTitle and Border

Favourite Documents, Popular Searches, document previews, and the hover preview card are all enabled by default — leave the Sections and Results Display toggles on for the full experience (Show Favourite Documents and Show Popular Searches live under Sections; Hover Preview Card and Show Preview Button live under Results Display). If you need to point at a different site or narrow to a single library, change Search Scope to Specific Library or All Sites; site and library selection fields appear in the same group.

Document Portal works best as the primary feature in full width

3

Add Section 2: Two Columns (50%/50%)

Add a two-column section for rollup and table views.

Left Column: Bonzai Documents Rollup

PropertyValue
TitleRecent Documents
Site Selection ModeEnter Site URL Manually
Document LibraryDocuments
Display TemplateCard (Grid)
Items per row2
Items per page6
Sort byModified
Show paginationOn
Title IconDocumentSet
Chrome TypeTitle and Border

For a denser listing, switch Display Template to Default (List) or Compact (List). Items per row only applies to the Card template. To surface custom metadata (Department, Document Type, etc.), turn on Enable Category Filter or Enable Tag Filter and pick a library column.

4

Add Documents Table to Right Column

Right Column: Bonzai Documents Table

PropertyValue
TitleAll Documents
Site Selection ModeEnter Site URL Manually
Select Document LibraryDocuments
Default Sort ByModified Date
Visible ColumnsName, Modified, Author, Size
Items per page10
Show paginationOn
Show table headersOn
Title IconTable
Chrome TypeTitle and Border

Column headers are clickable to toggle ascending/descending sort — no dedicated toggle is needed. Add Created Date to Visible Columns if you need it, or surface custom library fields via Additional Library Columns.

5

Add Section 3: Favourite Documents

Add a full-width section for promoted / curated documents.

Add web part: Bonzai Favourite Documents

PropertyValue
TitleFeatured Documents
Document Library NameDocuments
Showcase Column NameShowcase
Showcase ValueFavorite
Maximum items to display10
Show file type iconOn
Show site locationOn
Title IconFavoriteStar
Chrome TypeTitle and Border
Fixed Height250

Shared column, not browser or per-user favourites

Favourite Documents filters by a SharePoint column (default Showcase) where the value matches (default Favorite). All visitors see the same set — to feature a document, set its Showcase column in the library. Document Portal's integrated favourites are different: those are stored per-user in a FavouriteDocuments SharePoint list.
6

Publish and Test

  1. Save and publish the page
  2. Add to site navigation
  3. Search Document Portal for a known keyword and confirm results appear
  4. Open the Filters panel and Sort dropdown and verify both adjust results
  5. Click a column header in Documents Table to confirm it toggles ascending/descending
  6. Star a document in Document Portal and confirm it shows in the Favourite Documents section on next reload
  7. Set the Showcase column on a library document to Favorite and confirm it appears in the Favourite Documents web part

Allow time for search indexing

New documents may take 15-30 minutes to appear in Document Portal search results. SharePoint indexes content periodically, not in real-time.

Document Libraries

This page works with the default Documents library. You can also:

  • Create additional libraries for specific document types
  • Use managed metadata for better filtering
  • Set up content types for categorization

Troubleshooting

Still need help? Contact Bonzai Support

Final Checklist

  • ☐ Document Portal search returns results for a known keyword
  • ☐ Filters panel and Sort Dropdown appear above the results
  • ☐ Hover preview card appears in List view
  • ☐ Starring a result in Document Portal adds it to the user's personal favourites (stored in the FavouriteDocuments list)
  • ☐ Documents Rollup shows the most recently modified files
  • ☐ Documents Table displays with clickable, sortable column headers and working pagination
  • ☐ Favourite Documents panel shows documents where the Showcase column matches the configured value
  • ☐ Page added to site navigation