sp-dev-fx-webparts/samples/react-cross-device-data

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.

Preview

Used SharePoint Framework Version

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