B
Bonzai 2
Page Recipes

People & Directory Recipe

Build a complete people finder with employee directory, team listings, locations, and site directory.

People4 Web Parts1-2 hours (first time)

Overview

This recipe creates a comprehensive people finder page with employee search, team listings, office locations, and site directory.

Page Layout

Section 1: Full Width — Employee Directory
Left (50%) — People Listing
Right (50%) — Locations
Section 3: Full Width — Site Directory

Step-by-Step Setup

1

Create the People & Directory Page

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

Add Section 1: Employee Directory

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

Add web part: Bonzai Employee Directory

PropertyValue
TitleEmployee Directory
Result Source (resultSource)Auto-detect (Recommended)
Display Mode (displayMode)Search Directory
Default View (templateName)Card View
Allow View Switching (showViewSwitcher)On
Show Filter Dropdowns (enableFilters)On
Show Sort Dropdown (enableSortDropdown)On
Exclude Non-Employee Accounts (enableStandardExclusions)On
Items Per Page (itemsPerPage)28

Employee Directory works best in full width for browsing large organizations

3

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

Add a two-column section for team members and locations.

Left Column: Bonzai People Listing

PropertyValue
TitleTeam Members
Data Source (dataSource)SharePoint List
List Schema (listSchema)Person/Group roster (directory identities)
List Name (listName)Employee Directory
Person Column (personColumn)Person (or your Person/Group column)
Display As (displayAs)Cards
Items Per Page (itemsPerPage)6
Show Search (showSearch)On
Title Icon (titleIconName)People
Chrome Type (chromeType)Title and Border

Prefer live Azure AD data instead of a curated list? Set Data Source to People Search (Organization Directory) and skip the List Schema / List Name / Person Column fields — those only apply in SharePoint List mode.

4

Add Locations to Right Column

Right Column: Bonzai Locations

PropertyValue
TitleOur Offices
List Name (listName)Locations
Display As (displayAs)Cards
Items Per Page (itemsPerPage)9
Show Search (showSearch)On
Title Icon (titleIconName)MapPin
Chrome Type (chromeType)Title and Border
5

Add Section 3: Site Directory

Add a full-width section for the site directory.

Add web part: Bonzai Site Directory

PropertyValue
TitleSite Directory
Enable Search Suggestions (enableTypeahead)On
Items Per Page (itemsPerPage)12 (slider step is 4; valid: 4, 8, 12, 16…)
Show Favourites (showFavourites)On
Show Site Owner (showSiteOwner)On
Show Created Date (showCreatedDate)On
Show Description (showDescription)On
Title Icon (titleIconName)SharepointLogo

Site Directory has a built-in search box — there is no Show Search toggle or Chrome Type property to configure

6

Create Required Lists

Before the page works fully, create these lists:

  1. Employee Directory list — for People Listing (SharePoint List mode with a Person/Group column)
  2. Locations list — for office locations

Site Directory does not need a list — it discovers sites automatically via SharePoint Search (contentclass:STS_Site), security-trimmed to the current user.

7

Publish and Test

  1. Save and publish the page
  2. Add to site navigation
  3. Test employee search and A-Z filtering
  4. Verify locations and site directory display correctly

Employee Directory vs People Listing

Employee Directory is always directory-wide: it pulls from SharePoint People Search with an automatic Microsoft Graph fallback and enforces people-only results. People Listing has two data source modes — People Search (Organization Directory) for live Azure AD results, or SharePoint List with a Person/Group column for curated rosters (or an External contacts schema for people not in Azure AD). Use both web parts together for full directory browsing plus a focused team section.

Required SharePoint Lists

Employee Directory List Schema (People Listing — Person/Group roster)

Only one column is strictly required: a Person or Group column. All profile details (job title, department, office, phone, photo) are read from the selected directory user, not from separate list columns.

ColumnTypeRequiredNotes
TitleSingle line of textBuilt-inDefault SharePoint Title column; not displayed on cards.
PersonPerson or GroupYesSelected via the personColumn dropdown. Multi-value supported.
SortOrder (optional)NumberNoPair with listSortBy = field and listSortField = SortOrder for custom ordering.
Promoted (optional)Yes/NoNoWhen present and showPromotedItems is on, only promoted rows appear.

Locations List Schema

Only Title is required — the web part inspects your list at runtime and gracefully ignores any optional columns you omit.

ColumnTypeRequiredNotes
TitleSingle line of textYesOffice/location name
AddressMultiple lines of textNoFull street address
CitySingle line of textNoUsed for search and display
StateSingle line of textNoUsed for search and display
PostalCodeSingle line of textNoPostal/ZIP code
CountrySingle line of textNoUsed for search and display
PhoneSingle line of textNoContact phone number
EmailSingle line of textNoContact email address
HoursSingle line of textNoOperating hours
LocationImageImage or HyperlinkNoOffice photo
MapImageUrlHyperlink or TextNoStatic map image URL (Google/Bing Maps)
LatitudeNumberNoPreferred coordinate for Get Directions
LongitudeNumberNoPreferred coordinate for Get Directions

No Site Directory list needed

Site Directory discovers sites automatically via SharePoint Search (contentclass:STS_Site) and security-trims results to the current user. There is no list to create or maintain — just drop the web part on the page.

Troubleshooting

Still need help? Contact Bonzai Support

Final Checklist

  • ☐ Employee Directory showing users with photos
  • ☐ Search, filter dropdowns, sort, and A–Z filter working
  • ☐ People Listing displaying team members (data source / schema / person column set)
  • ☐ Locations showing office cards with directions
  • ☐ Site Directory discovering sites with typeahead and favourites
  • ☐ Employee Directory and Locations lists created with data
  • ☐ Page added to navigation