sp-dev-fx-webparts/samples/react-my-onedrive-info
Hugo Bernier 73a3d2b7e1 Updated sample.json, readme, added container 2024-08-31 20:04:30 -04:00
..
.devcontainer Updated sample.json, readme, added container 2024-08-31 20:04:30 -04:00
assets Updated sample.json, readme, added container 2024-08-31 20:04:30 -04:00
config Upgraded SPFx version to 1.19.0,BaseAdaptiveCardView changed to BaseAdaptiveCardQuickView 2024-08-28 21:13:35 +05:30
fast-serve initial release of react-my-onedrive-info 2023-01-24 18:12:38 +05:30
src Upgraded SPFx version to 1.19.0,BaseAdaptiveCardView changed to BaseAdaptiveCardQuickView 2024-08-28 21:13:35 +05:30
.eslintrc.js initial release of react-my-onedrive-info 2023-01-24 18:12:38 +05:30
.gitignore initial release of react-my-onedrive-info 2023-01-24 18:12:38 +05:30
.npmignore initial release of react-my-onedrive-info 2023-01-24 18:12:38 +05:30
.nvmrc Updated sample.json, readme, added container 2024-08-31 20:04:30 -04:00
.yo-rc.json Upgraded SPFx version to 1.19.0,BaseAdaptiveCardView changed to BaseAdaptiveCardQuickView 2024-08-28 21:13:35 +05:30
README.md Updated sample.json, readme, added container 2024-08-31 20:04:30 -04:00
gulpfile.js initial release of react-my-onedrive-info 2023-01-24 18:12:38 +05:30
package-lock.json Updated sample.json, readme, added container 2024-08-31 20:04:30 -04:00
package.json Upgraded SPFx version to 1.19.0,BaseAdaptiveCardView changed to BaseAdaptiveCardQuickView 2024-08-28 21:13:35 +05:30
tsconfig.json Upgraded SPFx version to 1.19.0,BaseAdaptiveCardView changed to BaseAdaptiveCardQuickView 2024-08-28 21:13:35 +05:30

README.md

My OneDrive 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

⚠️ Important
Every SPFx version is optimally compatible with specific versions of Node.js. In order to be able to build this sample, you need to ensure that the version of Node on your workstation matches one of the versions listed in this section. This sample will not work on a different version of Node.
Refer to https://aka.ms/spfx-matrix for more information on SPFx compatibility.

This sample is optimally compatible with the following environment configuration:

SPFx 1.19.0 Node.js v18 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

Contributors

Version history

Version Date Comments
1.1 January 24, 2021 Initial Release
1.2 August 26, 2024 Upgraded to SPFx 1.19.0 and @fluentui/react-components to 9.54.13

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

Help

We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.

If you're having issues building the solution, please run spfx doctor from within the solution folder to diagnose incompatibility issues with your environment.

You can try looking at issues related to this sample to see if anybody else is having the same issues.

You can also try looking at discussions related to this sample and see what the community is saying.

If you encounter any issues using this sample, create a new issue.

For questions regarding this sample, create a new question.

Finally, if you have an idea for improvement, make a suggestion.

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.