B
Bonzai 2
Web Parts

Site Directory

Search and browse SharePoint sites using SharePoint Search with typeahead and favourites.

NavigationFeature Parity: 90%

Get Site Directory Working in 3 Steps

10-20 minutes

Prerequisites

  • Bonzai 2 package installed on your site
  • SharePoint sites indexed by search
1

Add the web part

Edit your page and add "Bonzai Site Directory" from the Bonzai category.

2

Configure display options

Open the property pane and configure which site details to display (owner, date, description).

3

Enable features

Toggle on favourites and typeahead search, then publish your page.

Search-based discovery

Site Directory uses SharePoint Search to automatically discover and display sites. No manual list configuration is required — sites are indexed by SharePoint automatically.

When to Use This Web Part

Use this when you need to...

  • Create a searchable site catalog
  • Allow users to find SharePoint sites
  • Enable site bookmarking (favourites)
  • Browse all sites in the organization

Best page locations

  • Intranet homepage — site search widget
  • Navigation hub — all sites directory
  • People & Directory page — site listings

Consider alternatives when...

  • Quick links to specific pages — use Advanced Links
  • Document search — use Document Portal
  • Curated list of sites — use Favourite Sites

Related web parts:

Favourite Sitescurated/bookmarked sites from a listAdvanced Linkscustom link collections

Common Configurations

Full Site Directory

Complete site search with all details

Best for: Dedicated sites page
Configuration
titleAll Sites
itemsPerPage12
showFavouritesOn
showCreatedDateOn
showSiteOwnerOn
showDescriptionOn
enableTypeaheadOn

Compact Site Search

Minimal site finder for homepage

Best for: Homepage widget
Configuration
titleFind a Site
itemsPerPage8
showFavouritesOn
showCreatedDateOff
showSiteOwnerOff
showDescriptionOff
enableTypeaheadOn

Favourites Focus

Quick access to bookmarked sites

Best for: Personal dashboard
Configuration
titleMy Sites
showFavouritesOn
showDescriptionOn
additionalLinkTextView All Sites
additionalLinkUrl/sites/intranet/sites

Best Practices

Enable typeahead for large organizations

Typeahead search helps users find sites quickly in organizations with many sites.

Use result source for scoping

Optionally configure a custom Result Source ID to limit which sites appear in the directory.

Favourites are stored locally

Site favourites are stored in the user's browser local storage, providing quick access without server configuration.

Troubleshooting

Still need help? Contact Bonzai Support


Reference

How It Works

Site Directory uses the SharePoint Search API to discover and display sites. Unlike web parts that require a manually maintained list, Site Directory automatically finds all sites that users have access to. You can optionally scope results using a custom Result Source ID.

Property Pane Configuration

Title Settings

PropertyTypeDescription
titleTextWeb part title (default: Site Directory)
titleIconOptionDropdownTitle icon mode: Custom or None
titleIconNameIcon PickerFluent UI icon picker (default: SharepointLogo)
titleIconUrlTextCustom icon URL (overrides icon name)

Data Source

PropertyTypeDescription
resultSourceIdTextOptional Result Source ID to scope site search results
itemsPerPageSlider (4-50)Number of sites to display per page (step: 4, default: 12)

Display Options

PropertyTypeDescription
showFavouritesToggleShow favourites toggle and section (default: On)
showCreatedDateToggleShow site created date (default: On)
showSiteOwnerToggleShow site owner (default: On)
showDescriptionToggleShow site description (default: On)
enableTypeaheadToggleEnable typeahead search suggestions (default: On)

Additional Link

PropertyTypeDescription
additionalLinkTextTextText for the footer link (e.g., "View All Sites")
additionalLinkUrlTextURL for the footer link

Features Checklist

  • ✅ SharePoint Search-based site discovery
  • ✅ Typeahead search suggestions
  • ✅ Site favourites (browser local storage)
  • ✅ Pagination
  • ✅ Show/hide site metadata (owner, date, description)
  • ✅ Custom Result Source filtering
  • ✅ Responsive design