{"id":3204,"date":"2019-07-05T01:12:56","date_gmt":"2019-07-05T09:12:56","guid":{"rendered":"https:\/\/developer.microsoft.com\/en-us\/office\/blogs\/?p=3204"},"modified":"2019-07-05T01:12:56","modified_gmt":"2019-07-05T09:12:56","slug":"introducing-onedrive-community-samples-github-repository","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/introducing-onedrive-community-samples-github-repository\/","title":{"rendered":"Introducing OneDrive community samples GitHub repository"},"content":{"rendered":"<div>We are happy to announce the availability of a new <a href=\"https:\/\/github.com\/OneDrive\/onedrive-community-samples\/\">GitHub repository<\/a> under the OneDrive organization. Repository will host code samples related to managing Files and Folders in Microsoft OneDrive and Microsoft SharePoint Online.\u00a0It is an Open Source repository and any contribution from the community will be more than welcome.<\/div>\n<div><\/div>\n<p>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.<\/p>\n<p><iframe title=\"Community Demo -  Introduction to OneDrive community samples\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/z-tNgpU7NtA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>Hopefully you enjoy the initially provided samples and please provide us feedback on what&#8217;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.<\/p>\n<h2>Initially available samples<\/h2>\n<div>\n<div>So far, the samples defined in the repository are the following ones:<\/div>\n<\/div>\n<p><strong>Using delta changes functionality from Microsoft Graph<\/strong><\/p>\n<ul>\n<li>Sample &#8211; <a href=\"https:\/\/github.com\/OneDrive\/onedrive-community-samples\/blob\/master\/samples\/aspnet-core-changed-files-delta\">aspnet-core-changed-files-delta<\/a><\/li>\n<li>Description &#8211;\u00a0Sample to learn how to use the delta changes functionality of OneDrive and\/or SharePoint Online in Microsoft Graph<\/li>\n<li>Technology \/ Platform &#8211;\u00a0ASP.NET Core<\/li>\n<\/ul>\n<p><strong>Building a custom file handler\u00a0<\/strong><\/p>\n<ul>\n<li>Sample &#8211; <a href=\"https:\/\/github.com\/OneDrive\/onedrive-community-samples\/blob\/master\/samples\/aspnet-file-handler\">aspnet-file-handler<\/a><\/li>\n<li>Description &#8211;\u00a0Sample to see how to implement a custom file handler for OneDrive and\/or SharePoint Online<\/li>\n<li>Technology \/ Platform &#8211;\u00a0ASP.NET<\/li>\n<\/ul>\n<p><strong>Using OneDrive File Picker\u00a0 in ASP.NET Core MVC solution<\/strong><\/p>\n<ul>\n<li>Sample &#8211; <a href=\"https:\/\/github.com\/OneDrive\/onedrive-community-samples\/blob\/master\/samples\/dotnet-core-file-picker\">dotnet-core-file-picker<\/a><\/li>\n<li>Description &#8211;\u00a0Sample to learn how to create a custom file picker for OneDrive and\/or SharePoint Online<\/li>\n<li>Technology \/ Platform &#8211;\u00a0.NET Core<\/li>\n<\/ul>\n<p><strong>Using OneDrive Filter Picker in SharePoint Framework solution<\/strong><\/p>\n<ul>\n<li>Sample &#8211; <a href=\"https:\/\/github.com\/OneDrive\/onedrive-community-samples\/blob\/master\/samples\/spfx-file-picker\">spfx-file-picker<\/a><\/li>\n<li>Description &#8211;\u00a0Sample to learn how to create a custom file picker within a SharePoint Framework web part<\/li>\n<li>Technology \/ Platform &#8211;\u00a0SharePoint Framework<\/li>\n<\/ul>\n<p><strong>Query recently accessed files using Microsoft Graph<\/strong><\/p>\n<ul>\n<li>Sample &#8211; <a href=\"https:\/\/github.com\/OneDrive\/onedrive-community-samples\/blob\/master\/samples\/spfx-recent-files\">spfx-recent-files<\/a><\/li>\n<li>Description &#8211;\u00a0Sample about how to use the Microsoft Graph to query OneDrive and\/or SharePoint Online<\/li>\n<li>Technology \/ Platform &#8211;\u00a0SharePoint Framework<\/li>\n<\/ul>\n<p><strong>Exploring files in OneDrive from UWP solution<\/strong><\/p>\n<ul>\n<li>Sample &#8211; <a href=\"https:\/\/github.com\/OneDrive\/onedrive-community-samples\/blob\/master\/samples\/uwp-files-explorer\">uwp-files-explorer<\/a><\/li>\n<li>Description &#8211;\u00a0Sample to learn how to build a Universal Windows Platform applicaiton to consume OneDrive and\/or SharePoint Online<\/li>\n<li>Technology \/ Platform &#8211; UWP<\/li>\n<\/ul>\n<div>\n<p>In order to install and play with any of the above samples, follow the instructions provided in each of the corresponding folders.<\/p>\n<p>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.<\/p>\n<\/div>\n<p><span style=\"font-size: large\"><em>\u201cSharing is caring\u201d<\/em><\/span><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<p><i>OneDrive &amp; SharePoint Team, Microsoft &#8211; 5th of July 2019<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introducing new OneDrive community samples GitHub repository for sharing your OneDrive specific samples cross the community.<\/p>\n","protected":false},"author":69078,"featured_media":3206,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[21,35],"class_list":["post-3204","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-developer","tag-connectors","tag-onedrive"],"acf":[],"blog_post_summary":"<p>Introducing new OneDrive community samples GitHub repository for sharing your OneDrive specific samples cross the community.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/3204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69078"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=3204"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/3204\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/3206"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=3204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=3204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=3204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}