This web part provides you the ability to add a particular user's personal tasks on a web page. The web part may be configured to show tasks from Planner or To Do. This web part is powered by the Microsoft Graph.
v2 web part is modified to use Graph Toolkit to expose the personal tasks, which simplifies the implementation.
- Place the page you want to add this web part to in edit mode.
- Search for and insert the Personal Tasks web part.
- Configure the web part to update its properties.
The Personal Tasks
web part can be configured with the following properties:
Label | Property | Type | Required | Description |
---|---|---|---|---|
My Tasks | title | string | no | The web part title, editable inline with the web part itself |
Data source | dataSource | 'planner' | 'todo' | yes | Web part's data source: Planner or To Do. Default: planner |
Allow editing | allowEditing | boolean | no | Flag if editing is allowed. Default is false. |
Hide filter | hideHeader | boolean | no | Flag if the header on MS Graph Toolkit Personal Tasks component should be hidden. The header contains a filter and "Add" button. Default is true. |
Initially displayed Plan or ToDo Folder id | initialId | string | no | A string id to set the initially displayed planner or folder to the provided ID. |
Initially displayed bucket id | initialBucketId | string | no | A string id to set the initially displayed bucket (Planner Data-Source Only) to the provided ID. |
Source Plan or ToDo Folder id | targetId | string | no | A string id to lock the tasks interface to the provided planner or folder ID. |
Source bucket id | targetBucketId | string | no | A string ID to lock the tasks interface to the provided bucket ID (Planner Data-Source Only). |
- Only supported in SharePoint Online due to dependency on the Microsoft Graph APIs
none
Solution | Author(s) |
---|---|
react-personal-tasks | Waldek Mastykarz, Alex Terentiev |
Version | Date | Comments |
---|---|---|
1.0 | December 25, 2019 | 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
- Move to solution folder
- in the command line run:
npm install
gulp bundle
gulp package-solution
- Upload solution to the SharePoint App Catalog
- Approve needed permissions in SharePoint Admin Center
gulp serve
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:
- Using Microsoft Graph Toolkit from the web parts
- Hosting SharePoint Framework components as Microsoft Teams tabs
- Using app pages in SharePoint Online