Skip to content

Latest commit

 

History

History
118 lines (74 loc) · 4.11 KB

README.md

File metadata and controls

118 lines (74 loc) · 4.11 KB

SPFx-People-Search

SPFx People Search webpart built with React Hooks and Microsoft Graph

Summary

This project has been created as an exploration of React Hooks and accompanies a series of blog posts:

WebPartScreenShot

Used SharePoint Framework Version

version

Applies To

Get your own free development tenant by subscribing to Microsoft 365 developer program

Prerequisites

TO-DO: Add special pre-requisites...

Solution

Solution Author(s)
SPFx-People-Search Author details (Siôn J. Lewis, www.sjlewis.com)

Version history

Version Date Comments
1.0.0.3 29 November 2020 Added search by display name and total record count
1.0.0.2 29 November 2020 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

  • Clone this repository
  • Ensure that you are at the solution folder
  • Open VSCode's Terminal [Ctrl]+[`] and run the following commands:
npm install
gulp trust-dev-cert
gulp clean
gulp build
gulp serve --nobrowser

Debugging Tips

Open the launch.json file and edit the two entries and replace 'tenant' with your tenant's name:

  • "Tenant Workbench"
  • "Tenant Test Page"

Run the following commands in VSCode's Terminal [Ctrl]+[`] to "Serve" the code to, for example, the local Workbench.

gulp serve --nobrowser

And one of your new profiles and 'Start Debugging'...

TIP: Press [Ctrl]+[c] to stop the "gulp serve" process.

Deployment Package

Run the following commands in VSCode's Terminal [Ctrl]+[`] in preparation to deploying to an App Catalogue:

gulp clean
gulp build
gulp bundle --ship
gulp package-solution --ship

Features

TO-DO: Description of the extension that expands upon high-level summary above.

This extension illustrates the following concepts:

  • topic 1
  • topic 2
  • topic 3

Notice that better pictures and documentation will increase the sample usage and the value you are providing for others. Thanks for your submissions advance. TO-DO: Share the web part with others through Microsoft 365 Patterns and Practices program to get visibility and exposure. More details on the community, open-source projects and other activities from http://aka.ms/m365pnp.


References