SharePoint staff directory webpart built using SPFx and React.
Solution | Author(s) |
---|---|
src/webparts/staffDirectory | MRS Company Ltd. |
Version | Date | Comments |
---|---|---|
1.0 | September 28, 2022 | Initial release |
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.
- Clone this repository
- Ensure that you are at the solution folder
- in the command-line run:
yarn # install dependencies
gulp serve # run dev environment
To build and deploy:
gulp build # build solution
gulp bundle --ship # bundle solution for production
gulp package-solution --ship # create sppkg file for deploy
Then upload the sppkg file from /sharepoint folder into app catalog site and allow Graph API in the admin portal.
This webpart offers the following functionality
- Get all users in the tenant
- Search user by first name, last name, department, or job title.
- Search by letter.
- Filter by department.