This web part provides you the ability to display a list of site administrator defined number of sites that a given user is following, with paging as well as inline filtering of sites by keyword or phrase. Currently the list of followed sites includes classic as well as modern communication sites but does not include group enabled (modern) team sites.
The Followed Sites
webpart can be configured with the following properties:
Label | Property | Type | Required | Description |
---|---|---|---|---|
Followed Sites | title | string | no | The webpart title, editable inline with the webpart itself |
Number of followed sites to retrieve | nrOfItems | number | no | The number of sites to show per page, default = 10 |
Specify the sort order of the retrieved sites | sortOrder | number | no | Preferred site sort order. Default sort order driven by SharePoint, or by site name |
- Works only at SharePoint Online due to dependency on Microsoft Graph APIs
none
Solution | Author(s) |
---|---|
react-followed-sites | Elio Struyf |
react-followed-sites | Beau Cameron |
Version | Date | Comments |
---|---|---|
1.0 | May, 2018 | Initial release |
2.0 | November 29, 2019 | v2.0 |
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
- Move to solution folder
- in the command line run:
npm install
gulp serve
Include any additional steps as needed.
Description of the web part with possible additional details than in short summary. This Web Part illustrates the following concepts on top of the SharePoint Framework:
- Microsoft Graph usage with the web parts