Download presentation
Presentation is loading. Please wait.
Published byTiffany Foster Modified over 6 years ago
1
Microsoft Ignite 2016 6/17/2018 4:41 AM BRK4016 Access SharePoint files and lists using SharePoint API in Microsoft Graph API Luca Bandinelli and Ryan Gregg Program Mangers, ODSP © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
Agenda What is Microsoft Graph API SharePoint in Microsoft Graph API
Demo What’s available in the beta API roadmap– what’s coming next Q&A
3
Session takeaways Key questions we’ll answer: What is available today?
Tech Ready 15 6/17/2018 Session takeaways Key questions we’ll answer: What is available today? What’s coming next? What are the best practices and preferred directions for new projects? © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
4
What is Microsoft Graph?
6/17/2018 What is Microsoft Graph? Single API for: Accessing data /me, /users, /groups, /messages, /drive, …. Traversing data /drive/items/<id>/lastmodifiedByUser Accessing insights /insights/trending Work/School and Personal © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
5
State of the world before Microsoft Graph
Work and school Personal Many different APIs to access data Separate auth stacks for work and personal
6
Today’s world with Microsoft Graph
( Work and school Personal …
7
Announcing: SharePoint in Microsoft Graph API
SharePoint has finally come to Microsoft Graph Early beta We want your feedback early so we can iterate Shows our direction for the future
8
Demo: SharePoint in Microsoft Graph
Microsoft Ignite 2016 6/17/2018 4:41 AM Demo: SharePoint in Microsoft Graph Ryan Gregg © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
9
Goals of the new API Simplify API surface for SharePoint
We know you still need a lot of that functionality, though Use concepts familiar to all developers SPSite -> Site Collection SPWeb -> Site SPList -> List SPListItem -> ListItem Follows new Microsoft REST API Guidelines One API to learn that connects your app to all Office 365 data
10
What's available today Navigate sites, lists, and list items
Create, update, delete list items No site/list provisioning or management
11
Microsoft Graph in the SharePoint System
SharePoint Apps C# Microsoft Graph API SharePoint REST CSOM SharePoint API List and Libraries OneDrive For Business Pages Team Sites News
12
Usage Scenarios `/drive` entity `/list` entity
Best for files-focused applications Common interface for files across SharePoint and OneDrive `/list` entity Best for SharePoint-focused apps Common interface for all SharePoint entities Access to custom columns, data types, and other SharePoint concepts Document libraries in SharePoint can be used either way
13
API Spectrum CSOM + REST Microsoft Graph Shares same core pipeline
Deep extensibility across SharePoint, Project, and beyond CSOM: JS and .NET client libraries; more advanced REST: Web-based projection with REST semantics Microsoft Graph Unified API endpoint for accessing Microsoft data Follows new Microsoft REST API guidelines Consistent look and feel between services Seamless navigation between entities
14
Building with the new API
Badge Scanner app C# app running on Raspberry Pi 2 RFID badge scanner Records data to an Entry Log list Uses Microsoft Graph API to update SharePoint lists Client Side Web Part Client side web part to display entry log data Uses new API directly from SharePoint
15
Badge Scanner Ryan Gregg & Luca Bandinelli Microsoft Ignite 2016
6/17/2018 4:41 AM Badge Scanner Ryan Gregg & Luca Bandinelli © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
16
Demo Parts A badge is scanned to the CardScanner.py IoT application
Microsoft Ignite 2016 6/17/2018 4:41 AM Demo Parts A badge is scanned to the CardScanner.py IoT application The application creates a new entry in the list using Microsoft Graph APIs A Web Part using SPFx follows changes in the list by using Microsoft Graph APIs js 3 Microsoft Graph SharePoint Service CardScanner.py Microsoft Graph 2 1 © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
17
SharePoint REST/CSOM isn't going away
API Roadmap SharePoint REST/CSOM isn't going away Today: Sites and lists in Microsoft Graph are in beta Long term: Microsoft Graph is the focus for apps IT/Admin scenarios still leverage the full power of CSOM and REST
18
What's coming next More depth Content types Create/modify lists
Create/modify/read views Send your feedback and tell us what to build next through GitHub / UserVoice
19
Additional resources https://graph.microsoft.io
20
Q&A
21
Deploy, ramp-up on new services and onboard new users with Microsoft FastTrack:
22
Join the Microsoft Tech Community to collaborate, share, and learn from the experts:
23
Please evaluate this session
6/17/2018 4:41 AM Please evaluate this session Your feedback is important to us! From your PC or Tablet visit MyIgnite at From your phone download and use the Ignite Mobile App by scanning the QR code above or visiting © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
24
6/17/2018 4:41 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.