{"id":10959,"date":"2022-06-29T10:27:13","date_gmt":"2022-06-29T17:27:13","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=10959"},"modified":"2022-06-30T08:48:52","modified_gmt":"2022-06-30T15:48:52","slug":"onedrive-file-picker-v8-now-generally-available","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/onedrive-file-picker-v8-now-generally-available\/","title":{"rendered":"OneDrive File Picker v8 now generally available!"},"content":{"rendered":"<p>Giving people quick access to what they need is key to providing a great user experience in any application. Today, we\u2019re excited to announce the general release of OneDrive File Picker v8, which enables you to directly integrate Microsoft 365 services into your own web applications. That way, you can bring the OneDrive experience directly into your application to provide a consistent, familiar, user-friendly experience and ensure your users can find the files they need and stay productive\u2014no matter what they\u2019re working on.<\/p>\n<p>By integrating your application with this Microsoft 365 service, you\u2019ll benefit from the same updates, modern token-based authentication, and new features and functionality that all Microsoft 365 users experience.<\/p>\n<h2 id=\"toc-hId-476100332\">What is the OneDrive File Picker?<\/h2>\n<p>The OneDrive File Picker lets you connect your custom web apps to content stored in OneDrive (both the commercial and business versions) and SharePoint. File Picker provides a consistent, familiar UI for your web app users to open, save, and share files stored in OneDrive or SharePoint.<\/p>\n<h3>Integrate with OneDrive and SharePoint<\/h3>\n<p>You can use the File Picker to integrate with OneDrive and SharePoint in the following ways:<\/p>\n<ul>\n<li>Open a file and receive a short-lived URL to download the content of the file.<\/li>\n<li>Create a long-lived sharable link to view or edit a file. These are designed to be sent or shared with co-workers, friends and family, or other individuals.<\/li>\n<li>Get a direct link to the file which requires end user authorization.<\/li>\n<li>Get a file or folder ID for a file that can be used with Microsoft Graph to perform actions on the file.<\/li>\n<li>Save a file to OneDrive or SharePoint team site.<\/li>\n<\/ul>\n<h2 id=\"toc-hId--1331354131\">What\u2019s new in File Picker v8?<\/h2>\n<p>With this latest version of File Picker, you can integrate directly with the Microsoft 365 service, saving you complexity and time during the development phase and providing your users with the same rich, familiar user experience of OneDrive or SharePoint.<\/p>\n<p>Users who are already logged into Microsoft 365 can seamlessly access files and content through your web app, without having to log into the Microsoft 365 account a second time.<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"toc-hId-1156158702\">How can I try the latest version of File Picker?<\/h2>\n<p>Review the <a href=\"https:\/\/aka.ms\/OneDrive\/file-picker\" target=\"_blank\" rel=\"noopener noreferrer\">updated documentation<\/a>\u00a0and\u00a0<a href=\"https:\/\/aka.ms\/OneDrive\/samples\/file-picking\" target=\"_blank\" rel=\"noopener noreferrer\">samples<\/a> to get started. No SDK or additional installation is required. If you have any questions or issues, please let us know using the <a href=\"https:\/\/aka.ms\/OneDrive\/samples\/issues\" target=\"_blank\" rel=\"noopener noreferrer\">issues list<\/a>.<\/p>\n<p>Note: If you\u2019re using File Picker\u00a0<a href=\"https:\/\/docs.microsoft.com\/onedrive\/developer\/controls\/file-pickers\/js-v72\" target=\"_blank\" rel=\"noopener noreferrer\">v7.2 or older<\/a>, we encourage you to use the above resources to transition to the latest version so you can get the benefits of Microsoft 365 apps and services in your own web apps.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2022\/06\/onedrive.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-10962\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2022\/06\/onedrive.gif\" alt=\"Image onedrive\" width=\"998\" height=\"645\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"toc-hId--651295761\">How are developers using the latest version of File Picker?<\/h2>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2022\/06\/clearpeople.png\"><img decoding=\"async\" class=\"alignnone  wp-image-10961\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2022\/06\/clearpeople.png\" alt=\"Image clearpeople\" width=\"350\" height=\"64\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2022\/06\/clearpeople.png 399w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2022\/06\/clearpeople-300x55.png 300w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/a><\/p>\n<p>Microsoft customer and partner\u00a0<a href=\"https:\/\/www.clearpeople.com\/\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">ClearPeople<\/a>\u00a0developed its\u00a0<a href=\"https:\/\/www.clearpeople.com\/products\/atlas\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">Atlas Digital Workspace &amp; Intranet Platform<\/a>\u00a0&#8211;\u00a0a single and intuitive interface that connects\u00a0the digital tools, information, and knowledge\u00a0that\u00a0employees\u00a0need to do their best work.\u00a0 The development team at ClearPeople is using the latest version of OneDrive File Picker to create a user-friendly publishing flow via an Add It option in SharePoint or the Add It Teams app.<\/p>\n<p>Before, users who wanted to publish a private file for a broader audience\u2014think of an HR manager who wants to publish a new policy document on the company\u2019s intranet site&#8211;were required to download the file from Teams, OneDrive, or SharePoint onto their device, and then upload the file from the device to the intranet. Now, Atlas developers have incorporated the OneDrive File Picker, so users can easily navigate to the file stored directly in their OneDrive, Teams channel, or SharePoint site and select it for publishing. Atlas developers also created a custom form to ensure that all published files have the correct associated metadata, so users can easily find the file during a search.<\/p>\n<p>\u201c<em>With the new File Picker, we were able to create the Add It experiences in SharePoint and Teams within a week using just a few parameters<\/em>,\u201d explains\u00a0<strong>Guillermo Bas Ortiz, Product Manager at ClearPeople.<\/strong>\u00a0\u201c<em>In addition, users have a better experience because they can choose files directly from their OneDrive or SharePoint and feel confident that all the relevant information gets carried over when a file is published for a broader audience.<\/em>\u201d<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2022\/06\/comeen.png\"><img decoding=\"async\" class=\"alignnone  wp-image-10960\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2022\/06\/comeen.png\" alt=\"Image comeen\" width=\"307\" height=\"126\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2022\/06\/comeen.png 399w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2022\/06\/comeen-300x123.png 300w\" sizes=\"(max-width: 307px) 100vw, 307px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/dynamicscreen.com\/\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">Comeen Play<\/a>\u00a0(formerly DynamicScreen), is integrating the new picker to connect its\u00a0<a href=\"https:\/\/dynamicscreen.com\/platform\/product\/how-it-works\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">display management platform<\/a>\u00a0to\u00a0<a href=\"https:\/\/dynamicscreen.com\/platform\/product\/integrations\/microsoft-365\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">content stored in OneDrive and SharePoint<\/a>. In this way, customers can easily incorporate files they are already collaborating on into display streams visible all over the world. Prior to this integration in the new picker, it couldn\u2019t use the picker due to its reliance on cookie-based authentication.<\/p>\n<p><strong>Simon Cleriot, CTO &amp; Cofounder of Comeen<\/strong>, explains: \u201c<em>Our system uses a technical account that will be used to access documents for digital signage. So, the\u00a0user isn\u2019t logged in to the browser. Instead, we retrieve a token before the user wants to broadcast content. With the previous version of the picker, you couldn\u2019t set a token, so that&#8217;s a big difference that we\u2019ve been waiting for.<\/em>\u201d<\/p>\n<p>&nbsp;<\/p>\n<p>Check out the\u00a0<strong><a href=\"https:\/\/aka.ms\/OneDrive\/file-picker\" target=\"_blank\" rel=\"noopener noreferrer\">updated documentation<\/a><\/strong>, try out the\u00a0<strong><a href=\"https:\/\/aka.ms\/OneDrive\/samples\/file-picking\" target=\"_blank\" rel=\"noopener noreferrer\">samples<\/a><\/strong> and get started today! \ud83d\ude80<\/p>\n<hr \/>\n<p>Cross-posted from the <a href=\"https:\/\/techcommunity.microsoft.com\/t5\/microsoft-onedrive-blog\/onedrive-file-picker-v8-now-generally-available\/ba-p\/3539477\">OneDrive blog<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, we\u2019re excited to announce the general release of OneDrive File Picker v8, which enables you to directly integrate Microsoft 365 services into your own web applications.<\/p>\n","protected":false},"author":69080,"featured_media":10964,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[166],"tags":[35],"class_list":["post-10959","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sharepoint","tag-onedrive"],"acf":[],"blog_post_summary":"<p>Today, we\u2019re excited to announce the general release of OneDrive File Picker v8, which enables you to directly integrate Microsoft 365 services into your own web applications.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/10959","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\/69080"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=10959"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/10959\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/10964"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=10959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=10959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=10959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}