mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-02-07 21:48:24 +00:00
react-cross-device-data
Summary
This solution demonstrates how to use the OneDrive special folder Apps in order to save user's preferencies cross-device.
Used SharePoint Framework Version
Applies to
Get your own free development tenant by subscribing to Microsoft 365 developer program
Prerequisites
In order to use this solution is necessary to approve the usage of Microsoft Graph API Files.ReadWrite in the SharePoint Admin Center
Solution
Solution | Author(s) |
---|---|
folder name | Author details (name, company, twitter alias with link) |
react-cross-device-data | Giuliano De Luca (@delucagiulian) |
Version history
Version | Date | Comments |
---|---|---|
1.0 | July 26, 2021 | 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
- in the command-line run:
- npm install
- gulp serve
Features
This web part illustrates the following concepts:
- How to store user data in the OneDrive special folder
- How to leverage the capabilities of Microsoft Graph API
References
- Getting started with SharePoint Framework
- Building for Microsoft teams
- Use Microsoft Graph in your solution
- Publish SharePoint Framework applications to the Marketplace
- Microsoft 365 Patterns and Practices - Guidance, tooling, samples and open-source controls for your Microsoft 365 development