sp-dev-fx-webparts/samples/react-my-onedrive-info

react-my-one-drive-info

Summary

MyOneDriveInfo solution contains Adaptive card extension for Viva connection with below functionalities

  1. Show the one drive quota/space utilized in card view
  2. Show other details like Web url, last modified time, state, remaining size in quick view
  3. Allows to set the ACE title, quick view button label

ACE in action ACE Properties

Compatibility

This sample is optimally compatible with the following environment configuration:

SPFx 1.16.1 Node.js v16 | v14 | v12 Compatible with SharePoint Online Does not work with SharePoint 2019 Does not work with SharePoint 2016 (Feature Pack 2) Local Workbench Unsupported Hosted Workbench Compatible Compatible with Remote Containers

For more information about SPFx compatibility, please refer to https://aka.ms/spfx-matrix

Applies to

Get your own free development tenant by subscribing to Microsoft 365 developer program

Prerequisites

Any special pre-requisites?

Solution

Solution Author(s)
react-my-onedrive-info Harminder Singh https://www.linkedin.com/in/harmindersinghsethi/

Version history

Version Date Comments
1.1 January 24, 2021 Initial Release

Minimal Path to Awesome

  • Clone this repository (or download this solution as a .ZIP file then unzip it)
  • From your command line, change your current directory to the directory containing this sample (react-my-onedrive-info, located under samples)
  • in the command line run:
    • npm install
    • gulp serve

This sample can also be opened with VS Code Remote Development. Visit https://aka.ms/spfx-devcontainer for further instructions.

Features

  1. Show the one drive quota/space utilized in card view
  2. Show other details like Web url, last modified time, state, remaining size in quick view
  3. Allows to set the ACE title, quick view button label

References

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.