340 likes | 386 Views
Explore the latest Microsoft Graph features for file sharing, collaboration, and integration between OneDrive and SharePoint. Learn about new APIs and enhancements for a seamless user experience. Join us for demos and insights on optimizing your development projects.
E N D
Integrate OneDrive and SharePoint Files, Collaboration, and Sharing using Microsoft Graph Jeremy Kelley – Senior Program Manager Daron Spektor – Principal Group Engineering Manager BRK3290
Who are we? Jeremy Kelley Senior Program Manager OneDrive and SharePoint Developer Platform Team Daron Spektor Principal Group Engineering Manager OneDrive and SharePoint Developer Platform Team
OneDrive and SharePoint development platform BRK3315: Kick-start your development with SharePoint Developer Community (PnP) open-source projects and assets. Wednesday 2:15 PM BRK3314: SharePoint Development for Enterprises - What's New and what’s next. Wednesday 4:00 PM BRK3319: Design and build modern experiences with Office UI Fabric and Fluent. Thursday, 11:30 AM BRK3290: Integrate OneDrive and SharePoint files, collaboration, and sharing using Microsoft Graph. Thursday, 12:30 PM App Platform SharePoint Framework User Experience Platform Office UI Fabric Data Platform Microsoft Graph
Agenda Overview What’s new in files Scanning guidance Demo! What’s new in lists What’s new in sites Demo! What’s new in UX components Demo! Wrap up
OneDrive and SharePoint in Microsoft Graph Files (Drives) SharePoint Sites (Sites) SharePoint Lists (Lists) SharePoint Document Libraries (Drives + Lists)
New Files APIs in Microsoft Graph File Preview (1.0 Generally Available for View) Documents I Follow (Beta) Analytics APIs (Beta) ACL Changes in WebHooks (Coming soon) Bulk Move / Copy (Coming soon)
File Preview Get the OneDrive Previewer URL for the requested DriveItem Example call POST /me/drive/items/{itemId}/preview Example Results { "getUrl": https://www.onedrive.com/embed?foo=bar&bar=baz, "postParameters": "param1=value¶m2=another%20value", "postUrl": "https://www.onedrive.com/embed_by_post" } Note: Either getUrl or postUrl will be present
Documents I Follow (Beta) Add or remove a file from my followed documents list Example calls GET /me/drive/following POST /me/drive/items/{itemId}/follow DELETE /me/drive/following/{item-id} Example Results for GET { "value": [ { "id": "1312abc!1231", "name": "March Proposal.docx", "size": 19121, "lastModifiedDateTime": "2017-12-12T10:40:59Z" } ] }
Analytics (Beta) Get analytics for DriveItem, Site Example calls GET /me/drive/items/{itemId}/analytics/lastSevenDays GET /me/drive/items/{itemId}/analytics/allTime Example Results { "startDateTime": "2018-09-20T00:00:00Z", "endDateTime": "2018-09-26T00:00:00Z", "isTrending": true, "access": { "actionCount": 65, "actorCount": 3 } }
Best practices for scanning at scale Follow guidance at https://aka.ms/scanguidance Discover Sites Crawl with delta query (no token) Monitor changes with webhooks Process changes with delta query (using token)
Demo – Webhooks, Delta, reading and writing with Microsoft Graph Daron Spektor
New Lists APIs in Microsoft Graph Location Column (Beta) List Views (Coming soon)
Location Column (Beta) New column type in a list Example Results { ... "Location": { "address": { "city": "Orlando", "countryOrRegion": "US", "postalCode": "32819", "state": "FL", "street": "9800 International Dr" }, "coordinates": { "latitude": 28.424774169921875, "longitude": -81.46978759765625 }, "displayName": "Orange County Convention Center" } ... }
New Sites APIs in Microsoft Graph Pages API (Beta) Get Pages Create Page Delete Page Publish Page
Pages API (Beta) Get the list of pages in a site Example call GET /sites/root/pages Example Results { "value": [ { "eTag": "\"{79ACDA93-C28E-432A-B1D6-A1FCDBE80D78},4\"", "id": "79acda93-c28e-432a-b1d6-a1fcdbe80d78", "lastModifiedDateTime": "2017-07-29T02:21:33Z", "name": "Home.aspx", "webUrl": "SitePages/Home.aspx", … },…] }
Pages API (Beta) Create a new page Example call POST /sites/root/pages { "name":"ContosoHomePage.aspx", "title":"Contoso Home Page", "webParts":[{ "type": "rte", "innerHTML": "<p>Hello World!</p>" },…] }
Pages API (Beta) Delete a page Example call DELETE /sites/root/pages/{id} Publish a page Example call POST /sites/root/pages/{id}/publish
Demo – Web Part Integration, Pages API Jeremy Kelley
New UX component for Files File Browser Control
Demo – Integrating with a Custom Web App(File browser control, Preview API) Daron Spektor
What did we learn? Lots of new stuff! Scanning guidance available: https://aka.ms/scanguidance Resources: https://dev.onedrive.com, https://github.com/onedrive
Related sessions THR3094 Design for engaging webparts and Microsoft Teams tabs Wednesday, September 26 10:10 AM – 10:30 AM West Building Theater BRK3316 Kick-start your development with the SharePoint Developer Community (PnP) open-source projects and assets Wednesday, September 26 2:15 PM – 3:30 PM OCC W311 E-H BRK3314 SharePoint Development for Enterprises: What’s New and What’s Next Wednesday, September 26 4:00 PM – 5:15PM BRK3314 SharePoint Development for Enterprises: What’s New and What’s Next Wednesday, September 26 4:00 PM – 5:15PM BRK3319 Design and build modern experiences with Office UI Fabric and Fluent Thursday, September 27 11:30 AM – 12:15 PM OCC W300 BRK3290 Integrate OneDrive and SharePoint files, collaboration and sharing using Microsoft Graph Thursday, September 27 1 2:30 PM – 1:45 PM OCCC W311 E-H THR3095 Migrating legacy solutions to modern framework Tuesday, September 25 11:20 AM – 12:15 PM Expo Theater #11 SharePoint Developer meet-up! Thursday 3:00-4:00pm Located at Community Central, Microsoft Ignite (OCCC West Hall)
We want to hear from you! Please complete a survey regarding modern SharePoint features. Go to: https://aka.ms/shareWithSP
Please evaluate this sessionYour feedback is important to us! Please evaluate this session through MyEvaluations on the mobile appor website. Download the app:https://aka.ms/ignite.mobileApp Go to the website: https://myignite.techcommunity.microsoft.com/evaluations