Introducing OneDrive community samples GitHub repository

SharePoint team

We are happy to announce the availability of a new GitHub repository under the OneDrive organization. Repository will host code samples related to managing Files and Folders in Microsoft OneDrive and Microsoft SharePoint Online. It is an Open Source repository and any contribution from the community will be more than welcome.

Our objective is to start collecting OneDrive specific samples here together with our MVPs and other community members in similar ways as we have done within SharePoint side. Following video is a clip from SharePoint General Development community call where we briefly introduced this GitHub repository and available samples.

Hopefully you enjoy the initially provided samples and please provide us feedback on what’s needed. You can do this also by submitting simply issues to this repository, which then other community members can use for an idea on their contributions. Thanks for your input advance.

Initially available samples

So far, the samples defined in the repository are the following ones:

Using delta changes functionality from Microsoft Graph

  • Sample – aspnet-core-changed-files-delta
  • Description – Sample to learn how to use the delta changes functionality of OneDrive and/or SharePoint Online in Microsoft Graph
  • Technology / Platform – ASP.NET Core

Building a custom file handler 

  • Sample – aspnet-file-handler
  • Description – Sample to see how to implement a custom file handler for OneDrive and/or SharePoint Online
  • Technology / Platform – ASP.NET

Using OneDrive File Picker  in ASP.NET Core MVC solution

  • Sample – dotnet-core-file-picker
  • Description – Sample to learn how to create a custom file picker for OneDrive and/or SharePoint Online
  • Technology / Platform – .NET Core

Using OneDrive Filter Picker in SharePoint Framework solution

  • Sample – spfx-file-picker
  • Description – Sample to learn how to create a custom file picker within a SharePoint Framework web part
  • Technology / Platform – SharePoint Framework

Query recently accessed files using Microsoft Graph

  • Sample – spfx-recent-files
  • Description – Sample about how to use the Microsoft Graph to query OneDrive and/or SharePoint Online
  • Technology / Platform – SharePoint Framework

Exploring files in OneDrive from UWP solution

  • Sample – uwp-files-explorer
  • Description – Sample to learn how to build a Universal Windows Platform applicaiton to consume OneDrive and/or SharePoint Online
  • Technology / Platform – UWP

In order to install and play with any of the above samples, follow the instructions provided in each of the corresponding folders.

We encourage you to fork the repository, or to download individual samples, and to learn how to extend Files and Folders capabilities of both Microsoft OneDrive and Microsoft SharePoint Online using any of the following technologies: Microsoft Graph, Microsoft .NET Core, SharePoint Framework.

“Sharing is caring”

 


OneDrive & SharePoint Team, Microsoft – 5th of July 2019

Feedback usabilla icon