SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Building SharePoint
Framework Web Parts using
the Microsoft Graph
Shawn Fagan
Marathon Consulting
www.marathonus.com | 757.427.6999 2
SharePoint Saturday Virginia Beach 2020 | Thank our sponsors!
Platinum Sponsors
Gold Sponsors
Silver Sponsors
#SPSVB20
www.marathonus.com | 757.427.6999 3
SharePoint Saturday Virginia Beach 2020 | SharePint!
ATC
Ynot Pizza, Address
3276 Princess Anne Rd, Virginia Beach, VA 23456
in Landstown Commons shopping center
Following SPSVB Closing (5:30)
Some appetizers will be provided, drinks are on
your own
www.marathonus.com | 757.427.6999 4
• About Me
• Getting Started with SharePoint Framework
• What the Microsoft Graph?
• Graph Explorer Demo Time
• SharePoint Framework + Microsoft Graph
• SPFx Demo Time
• Resources
• Questions
Overview
www.marathonus.com | 757.427.6999 5
• Senior Information Technology Consultant / Team Lead at Marathon Consulting focus on
SharePoint, Office 365 and Azure
• Father of energetic two boys
4 year old & 15 month old
• Over 18 years of IT and Development experience
• Over 14 years experience with SharePoint for
as an Administrator and Developer
• SharePoint experience with Farm Configuration,
Branding, Web Part Development (including SPFx)
and Workflow (OOB & 3rd Party Tools)
• Not much free time lately, but I play Kickball,
Softball and love coding code!
About Me | Shawn Fagan
@FaganSC https://github.com/FaganSC
www.marathonus.com | 757.427.6999 6
About Me | Star Wars: Galaxy's Edge (Orlando, FL)
www.marathonus.com | 757.427.6999 7
Getting Started with
SharePoint Framework
www.marathonus.com | 757.427.6999 8
• SharePoint Framework (SPFx) is a page and web part model that provides full support
for client-side SharePoint development, easy integration with SharePoint data, and support
for open source tooling. With the SharePoint Framework, you can use modern web
technologies and tools in your preferred development environment to build productive
experiences and apps that are responsive and mobile-ready from day one. The SharePoint
Framework works for SharePoint Online and also for on-premises (SharePoint 2016
Feature Pack 2 and SharePoint 2019).
• Client-side web parts using modern script development tools and the SharePoint
workbench (a development test surface), and you can deploy your client-side web parts to
modern pages and classic web part pages in Office 365 tenants
• Web Parts are controls that appear inside a SharePoint page but run locally in the
browser. They're the building blocks of pages that appear on a SharePoint site
• Extensions enable you to extend the SharePoint user experience within modern pages
and document libraries
• Library Components are shared code, which multiple SharePoint Framework can easily
share in the context of the SharePoint or Microsoft Teams..
SPFx | What is SharePoint Framework?
www.marathonus.com | 757.427.6999 9
• Office 365 Tenant
• You’ll need an Office 365 tenant
• Office 365 Developer Program
• https://developer.microsoft.com/en-us/office/dev-program
• App Catalog Site
• Should have this already setup in your SP Tenant
• Site Collection
• Any site Collection if using Development Tenant
• Developer Site Collection if it’s your production Tenant
• SharePoint Workbench
• Built-in Tool for SPFx
SPFx | What do you need for SPFx?
www.marathonus.com | 757.427.6999 10
• NodeJS - Install NodeJS LTS version 10
• Code Editor
• Visual Studio Code
• Atom
• Webstorm
• Yeoman - Scaffolding Tool
• Gulp – Task automation Tool
• Yeoman SharePoint generator
• Optional tools
• Fiddler
• Postman
SPFx | Development Environment
www.marathonus.com | 757.427.6999 11
What the
Microsoft Graph?
www.marathonus.com | 757.427.6999 12
• Microsoft Graph is the gateway to data and intelligence in Microsoft 365
• It provides a unified programmability model that you can use to access the tremendous
amount of data in Office 365, Windows 10, and Enterprise Mobility + Security.
• Single API Endpoint to provide access to people-centric data within Microsoft 365
services
• REST APIs or SDKs to access the endpoint and build apps that support scenarios
spanning across productivity, collaboration, education, security, identity, access, device
management, and much more.
• REST APIs and client libraries to access data on the following Microsoft 365 services:
• Office 365 services
• Enterprise Mobility and Security services
• Windows 10 services: activities, devices, notifications
• Dynamics 365 Business Central
MS Graph | Overview of Microsoft Graph
www.marathonus.com | 757.427.6999 13
MS Graph | Graph Relationships
www.marathonus.com | 757.427.6999 14
MS Graph | Supported Platforms
www.marathonus.com | 757.427.6999 15
Graph Explorer
Demo Time
https://developer.microsoft.com/en-us/graph/graph-explorer
www.marathonus.com | 757.427.6999 16
SharePoint Framework
+ Microsoft Graph
www.marathonus.com | 757.427.6999 17
• SharePoint Framework solutions with Microsoft Graph can easily connect by using the
MSGraphClient.
• MSGraphClient is a new HTTP client introduced in SharePoint Framework v1.6.0
• Replaces the need to use AadHttpClient
• It simplifies connecting to the Microsoft Graph inside SharePoint Framework
• Uses existing Microsoft Graph JavaScript Client Library
• Directly handles authenticating
• REST APIs and client libraries to access data on the following Microsoft 365 services:
• Office 365 services
• Enterprise Mobility and Security services
• Windows 10 services: activities, devices, notifications
• Dynamics 365 Business Central
SPFx + Graph | Working together!
www.marathonus.com | 757.427.6999 18
SPFx + Graph | How does it all work?
www.marathonus.com | 757.427.6999 19
Demo Time
www.marathonus.com | 757.427.6999 20
Resources
www.marathonus.com | 757.427.6999 21
• Graph Explorer - https://developer.microsoft.com/en-us/graph/graph-explorer
• Overview of the SharePoint Framework - https://docs.microsoft.com/en-
us/sharepoint/dev/spfx/sharepoint-framework-overview
• Overview of Microsoft Graph - https://docs.microsoft.com/en-us/graph/overview
• SPFx & MS Graph Training Module - https://github.com/microsoftgraph/msgraph-training-spfx
• MS Graph Github - https://github.com/microsoftgraph
• SPFx Webpart Github - https://github.com/SharePoint/sp-dev-fx-webparts
• SPFx Extensions Github - https://github.com/SharePoint/sp-dev-fx-extensions
Resources | Links to help you out
www.marathonus.com | 757.427.6999 22
Questions
www.marathonus.com | 757.427.6999 23
Speaker Survey | Let me know what you think!
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Power Users Guide to Office 365 - SharePoint Saturday Belgium 2016 #spsbe
Power Users Guide to Office 365 - SharePoint Saturday Belgium 2016 #spsbePower Users Guide to Office 365 - SharePoint Saturday Belgium 2016 #spsbe
Power Users Guide to Office 365 - SharePoint Saturday Belgium 2016 #spsbeChirag Patel
 
SharePoint Saturday Madrid 2016 - SharePoint Upgrade or Migration, or is it b...
SharePoint Saturday Madrid 2016 - SharePoint Upgrade or Migration, or is it b...SharePoint Saturday Madrid 2016 - SharePoint Upgrade or Migration, or is it b...
SharePoint Saturday Madrid 2016 - SharePoint Upgrade or Migration, or is it b...Chirag Patel
 
Ensuring Successful Office 365 Tenant to Tenant Migration SharePoint Saturday...
Ensuring Successful Office 365 Tenant to Tenant Migration SharePoint Saturday...Ensuring Successful Office 365 Tenant to Tenant Migration SharePoint Saturday...
Ensuring Successful Office 365 Tenant to Tenant Migration SharePoint Saturday...Chirag Patel
 
Transforming your classic team sites in group connected team sites
Transforming your classic team sites in group connected team sitesTransforming your classic team sites in group connected team sites
Transforming your classic team sites in group connected team sitesBIWUG
 
Share point development services case study
Share point development services case studyShare point development services case study
Share point development services case studyNandita Nityanandam
 
Modern SharePoint Development - A quick guide
Modern SharePoint Development - A quick guideModern SharePoint Development - A quick guide
Modern SharePoint Development - A quick guideMint Group
 
Why Upgrade to SharePoint 2016: Including Future of SharePoint Feature Updates
Why Upgrade to SharePoint 2016: Including Future of SharePoint Feature UpdatesWhy Upgrade to SharePoint 2016: Including Future of SharePoint Feature Updates
Why Upgrade to SharePoint 2016: Including Future of SharePoint Feature UpdatesJoel Oleson
 
What's new in SharePoint Online - London SharePoint User Group March 2018
What's new in SharePoint Online - London SharePoint User Group March 2018What's new in SharePoint Online - London SharePoint User Group March 2018
What's new in SharePoint Online - London SharePoint User Group March 2018Chirag Patel
 
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...Rencore
 
SPSBE18: New era of customizing site provisioning
SPSBE18: New era of customizing site provisioningSPSBE18: New era of customizing site provisioning
SPSBE18: New era of customizing site provisioningOlli Jääskeläinen
 
Ensuring Successful Office 365 Tenant to Tenant Migration Collab365 Global Co...
Ensuring Successful Office 365 Tenant to Tenant Migration Collab365 Global Co...Ensuring Successful Office 365 Tenant to Tenant Migration Collab365 Global Co...
Ensuring Successful Office 365 Tenant to Tenant Migration Collab365 Global Co...Chirag Patel
 
Image Now Interact For Share Point
Image Now Interact For Share PointImage Now Interact For Share Point
Image Now Interact For Share PointMarcus Hinterseer
 
How to Create a Windows App with Project Siena, SharePoint & Office 365
 How to Create a Windows App with Project Siena, SharePoint & Office 365 How to Create a Windows App with Project Siena, SharePoint & Office 365
How to Create a Windows App with Project Siena, SharePoint & Office 365Knut Relbe-Moe [MVP, MCT]
 
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...Chirag Patel
 
Understanding SharePoint Framework Extensions
Understanding SharePoint Framework ExtensionsUnderstanding SharePoint Framework Extensions
Understanding SharePoint Framework ExtensionsBIWUG
 
Navigating your way to different admin centres in Microsoft 365 - M365 Saturd...
Navigating your way to different admin centres in Microsoft 365 - M365 Saturd...Navigating your way to different admin centres in Microsoft 365 - M365 Saturd...
Navigating your way to different admin centres in Microsoft 365 - M365 Saturd...Chirag Patel
 
SPSOslo 2014 - Visio 2013 & Visio Services – A Quick Guide
SPSOslo 2014 - Visio 2013 & Visio Services – A Quick GuideSPSOslo 2014 - Visio 2013 & Visio Services – A Quick Guide
SPSOslo 2014 - Visio 2013 & Visio Services – A Quick GuideKnut Relbe-Moe [MVP, MCT]
 
SharePoint wizards - no magic needed, just use Microsoft Flow
SharePoint wizards - no magic needed, just use Microsoft FlowSharePoint wizards - no magic needed, just use Microsoft Flow
SharePoint wizards - no magic needed, just use Microsoft FlowBIWUG
 
Deploying in a Cloud First World
Deploying in a Cloud First WorldDeploying in a Cloud First World
Deploying in a Cloud First WorldBIWUG
 
Customizing SharePoint Online
Customizing SharePoint OnlineCustomizing SharePoint Online
Customizing SharePoint OnlineBert Johnson
 

Was ist angesagt? (20)

Power Users Guide to Office 365 - SharePoint Saturday Belgium 2016 #spsbe
Power Users Guide to Office 365 - SharePoint Saturday Belgium 2016 #spsbePower Users Guide to Office 365 - SharePoint Saturday Belgium 2016 #spsbe
Power Users Guide to Office 365 - SharePoint Saturday Belgium 2016 #spsbe
 
SharePoint Saturday Madrid 2016 - SharePoint Upgrade or Migration, or is it b...
SharePoint Saturday Madrid 2016 - SharePoint Upgrade or Migration, or is it b...SharePoint Saturday Madrid 2016 - SharePoint Upgrade or Migration, or is it b...
SharePoint Saturday Madrid 2016 - SharePoint Upgrade or Migration, or is it b...
 
Ensuring Successful Office 365 Tenant to Tenant Migration SharePoint Saturday...
Ensuring Successful Office 365 Tenant to Tenant Migration SharePoint Saturday...Ensuring Successful Office 365 Tenant to Tenant Migration SharePoint Saturday...
Ensuring Successful Office 365 Tenant to Tenant Migration SharePoint Saturday...
 
Transforming your classic team sites in group connected team sites
Transforming your classic team sites in group connected team sitesTransforming your classic team sites in group connected team sites
Transforming your classic team sites in group connected team sites
 
Share point development services case study
Share point development services case studyShare point development services case study
Share point development services case study
 
Modern SharePoint Development - A quick guide
Modern SharePoint Development - A quick guideModern SharePoint Development - A quick guide
Modern SharePoint Development - A quick guide
 
Why Upgrade to SharePoint 2016: Including Future of SharePoint Feature Updates
Why Upgrade to SharePoint 2016: Including Future of SharePoint Feature UpdatesWhy Upgrade to SharePoint 2016: Including Future of SharePoint Feature Updates
Why Upgrade to SharePoint 2016: Including Future of SharePoint Feature Updates
 
What's new in SharePoint Online - London SharePoint User Group March 2018
What's new in SharePoint Online - London SharePoint User Group March 2018What's new in SharePoint Online - London SharePoint User Group March 2018
What's new in SharePoint Online - London SharePoint User Group March 2018
 
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
 
SPSBE18: New era of customizing site provisioning
SPSBE18: New era of customizing site provisioningSPSBE18: New era of customizing site provisioning
SPSBE18: New era of customizing site provisioning
 
Ensuring Successful Office 365 Tenant to Tenant Migration Collab365 Global Co...
Ensuring Successful Office 365 Tenant to Tenant Migration Collab365 Global Co...Ensuring Successful Office 365 Tenant to Tenant Migration Collab365 Global Co...
Ensuring Successful Office 365 Tenant to Tenant Migration Collab365 Global Co...
 
Image Now Interact For Share Point
Image Now Interact For Share PointImage Now Interact For Share Point
Image Now Interact For Share Point
 
How to Create a Windows App with Project Siena, SharePoint & Office 365
 How to Create a Windows App with Project Siena, SharePoint & Office 365 How to Create a Windows App with Project Siena, SharePoint & Office 365
How to Create a Windows App with Project Siena, SharePoint & Office 365
 
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
 
Understanding SharePoint Framework Extensions
Understanding SharePoint Framework ExtensionsUnderstanding SharePoint Framework Extensions
Understanding SharePoint Framework Extensions
 
Navigating your way to different admin centres in Microsoft 365 - M365 Saturd...
Navigating your way to different admin centres in Microsoft 365 - M365 Saturd...Navigating your way to different admin centres in Microsoft 365 - M365 Saturd...
Navigating your way to different admin centres in Microsoft 365 - M365 Saturd...
 
SPSOslo 2014 - Visio 2013 & Visio Services – A Quick Guide
SPSOslo 2014 - Visio 2013 & Visio Services – A Quick GuideSPSOslo 2014 - Visio 2013 & Visio Services – A Quick Guide
SPSOslo 2014 - Visio 2013 & Visio Services – A Quick Guide
 
SharePoint wizards - no magic needed, just use Microsoft Flow
SharePoint wizards - no magic needed, just use Microsoft FlowSharePoint wizards - no magic needed, just use Microsoft Flow
SharePoint wizards - no magic needed, just use Microsoft Flow
 
Deploying in a Cloud First World
Deploying in a Cloud First WorldDeploying in a Cloud First World
Deploying in a Cloud First World
 
Customizing SharePoint Online
Customizing SharePoint OnlineCustomizing SharePoint Online
Customizing SharePoint Online
 

Ähnlich wie Building SharePoint framework Web Parts using the Microsoft Graph

Busines productivity with SharePoint Online
Busines productivity with SharePoint OnlineBusines productivity with SharePoint Online
Busines productivity with SharePoint Onlinejems7
 
SPFx- A modern development model for SharePoint
SPFx- A modern development model  for SharePointSPFx- A modern development model  for SharePoint
SPFx- A modern development model for SharePointKirti Prajapati
 
LightUp SharePoint with Silverlight
LightUp SharePoint with SilverlightLightUp SharePoint with Silverlight
LightUp SharePoint with SilverlightSpiffy
 
Suresh_Kumar_Mahala [10729857]
Suresh_Kumar_Mahala [10729857]Suresh_Kumar_Mahala [10729857]
Suresh_Kumar_Mahala [10729857]sureshmahala
 
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - RoadmapECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - RoadmapEuropean Collaboration Summit
 
Grow your SharePoint development platform with SPFx
Grow your SharePoint development platform with SPFxGrow your SharePoint development platform with SPFx
Grow your SharePoint development platform with SPFxDipti Chhatrapati
 
Share point enhancement announcements in ignite talk
Share point enhancement announcements in ignite talkShare point enhancement announcements in ignite talk
Share point enhancement announcements in ignite talkwebitgurus
 
Uncovering the Latest in SharePoint Development
Uncovering the Latest in SharePoint DevelopmentUncovering the Latest in SharePoint Development
Uncovering the Latest in SharePoint DevelopmentEric Overfield
 
SharePoint 2013 introduction | What's new in SharePoint 2013 | SharePoint 20...
SharePoint 2013 introduction  | What's new in SharePoint 2013 | SharePoint 20...SharePoint 2013 introduction  | What's new in SharePoint 2013 | SharePoint 20...
SharePoint 2013 introduction | What's new in SharePoint 2013 | SharePoint 20...Nitin Khubani
 
SPFestDc AZR204 Microsoft Graph and SharePoint Framework under steroids with ...
SPFestDc AZR204 Microsoft Graph and SharePoint Framework under steroids with ...SPFestDc AZR204 Microsoft Graph and SharePoint Framework under steroids with ...
SPFestDc AZR204 Microsoft Graph and SharePoint Framework under steroids with ...Vincent Biret
 
Real World SharePoint Framework and Azure Services
Real World SharePoint Framework and Azure ServicesReal World SharePoint Framework and Azure Services
Real World SharePoint Framework and Azure ServicesBrian Culver
 
Real World Add-in Development for Office365
Real World Add-in Development for Office365Real World Add-in Development for Office365
Real World Add-in Development for Office365Brian Culver
 
Get Ready for SharePoint 2016
Get Ready for SharePoint 2016Get Ready for SharePoint 2016
Get Ready for SharePoint 2016Trigent_Senthil
 
SharePoint Saturday Calgary 2017 - From SharePoint to Office 365 Development
SharePoint Saturday Calgary 2017 - From SharePoint to Office 365 DevelopmentSharePoint Saturday Calgary 2017 - From SharePoint to Office 365 Development
SharePoint Saturday Calgary 2017 - From SharePoint to Office 365 DevelopmentSébastien Levert
 
SharePoint Fest Seattle 2018 - From SharePoint to Office 365 Development
SharePoint Fest Seattle 2018 - From SharePoint to Office 365 DevelopmentSharePoint Fest Seattle 2018 - From SharePoint to Office 365 Development
SharePoint Fest Seattle 2018 - From SharePoint to Office 365 DevelopmentSébastien Levert
 
Building share point framework solutions
Building share point framework solutionsBuilding share point framework solutions
Building share point framework solutionsDipti Chhatrapati
 
SharePoint Fest DC 2018 - From SharePoint to Office 365 Development
SharePoint Fest DC 2018 - From SharePoint to Office 365 DevelopmentSharePoint Fest DC 2018 - From SharePoint to Office 365 Development
SharePoint Fest DC 2018 - From SharePoint to Office 365 DevelopmentSébastien Levert
 
Relearning SharePoint Development
Relearning SharePoint DevelopmentRelearning SharePoint Development
Relearning SharePoint Developmentbgerman
 

Ähnlich wie Building SharePoint framework Web Parts using the Microsoft Graph (20)

Busines productivity with SharePoint Online
Busines productivity with SharePoint OnlineBusines productivity with SharePoint Online
Busines productivity with SharePoint Online
 
CGI-IgniteChicago
CGI-IgniteChicagoCGI-IgniteChicago
CGI-IgniteChicago
 
SPFx- A modern development model for SharePoint
SPFx- A modern development model  for SharePointSPFx- A modern development model  for SharePoint
SPFx- A modern development model for SharePoint
 
LightUp SharePoint with Silverlight
LightUp SharePoint with SilverlightLightUp SharePoint with Silverlight
LightUp SharePoint with Silverlight
 
Suresh_Kumar_Mahala [10729857]
Suresh_Kumar_Mahala [10729857]Suresh_Kumar_Mahala [10729857]
Suresh_Kumar_Mahala [10729857]
 
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - RoadmapECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
 
Grow your SharePoint development platform with SPFx
Grow your SharePoint development platform with SPFxGrow your SharePoint development platform with SPFx
Grow your SharePoint development platform with SPFx
 
Share point enhancement announcements in ignite talk
Share point enhancement announcements in ignite talkShare point enhancement announcements in ignite talk
Share point enhancement announcements in ignite talk
 
Uncovering the Latest in SharePoint Development
Uncovering the Latest in SharePoint DevelopmentUncovering the Latest in SharePoint Development
Uncovering the Latest in SharePoint Development
 
SharePoint 2013 introduction | What's new in SharePoint 2013 | SharePoint 20...
SharePoint 2013 introduction  | What's new in SharePoint 2013 | SharePoint 20...SharePoint 2013 introduction  | What's new in SharePoint 2013 | SharePoint 20...
SharePoint 2013 introduction | What's new in SharePoint 2013 | SharePoint 20...
 
SPFestDc AZR204 Microsoft Graph and SharePoint Framework under steroids with ...
SPFestDc AZR204 Microsoft Graph and SharePoint Framework under steroids with ...SPFestDc AZR204 Microsoft Graph and SharePoint Framework under steroids with ...
SPFestDc AZR204 Microsoft Graph and SharePoint Framework under steroids with ...
 
Real World SharePoint Framework and Azure Services
Real World SharePoint Framework and Azure ServicesReal World SharePoint Framework and Azure Services
Real World SharePoint Framework and Azure Services
 
Real World Add-in Development for Office365
Real World Add-in Development for Office365Real World Add-in Development for Office365
Real World Add-in Development for Office365
 
SPS Gulf : SharePoint 2013 Cloud Business App
SPS Gulf : SharePoint 2013 Cloud Business AppSPS Gulf : SharePoint 2013 Cloud Business App
SPS Gulf : SharePoint 2013 Cloud Business App
 
Get Ready for SharePoint 2016
Get Ready for SharePoint 2016Get Ready for SharePoint 2016
Get Ready for SharePoint 2016
 
SharePoint Saturday Calgary 2017 - From SharePoint to Office 365 Development
SharePoint Saturday Calgary 2017 - From SharePoint to Office 365 DevelopmentSharePoint Saturday Calgary 2017 - From SharePoint to Office 365 Development
SharePoint Saturday Calgary 2017 - From SharePoint to Office 365 Development
 
SharePoint Fest Seattle 2018 - From SharePoint to Office 365 Development
SharePoint Fest Seattle 2018 - From SharePoint to Office 365 DevelopmentSharePoint Fest Seattle 2018 - From SharePoint to Office 365 Development
SharePoint Fest Seattle 2018 - From SharePoint to Office 365 Development
 
Building share point framework solutions
Building share point framework solutionsBuilding share point framework solutions
Building share point framework solutions
 
SharePoint Fest DC 2018 - From SharePoint to Office 365 Development
SharePoint Fest DC 2018 - From SharePoint to Office 365 DevelopmentSharePoint Fest DC 2018 - From SharePoint to Office 365 Development
SharePoint Fest DC 2018 - From SharePoint to Office 365 Development
 
Relearning SharePoint Development
Relearning SharePoint DevelopmentRelearning SharePoint Development
Relearning SharePoint Development
 

Kürzlich hochgeladen

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 

Kürzlich hochgeladen (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

Building SharePoint framework Web Parts using the Microsoft Graph

  • 1. Building SharePoint Framework Web Parts using the Microsoft Graph Shawn Fagan Marathon Consulting
  • 2. www.marathonus.com | 757.427.6999 2 SharePoint Saturday Virginia Beach 2020 | Thank our sponsors! Platinum Sponsors Gold Sponsors Silver Sponsors #SPSVB20
  • 3. www.marathonus.com | 757.427.6999 3 SharePoint Saturday Virginia Beach 2020 | SharePint! ATC Ynot Pizza, Address 3276 Princess Anne Rd, Virginia Beach, VA 23456 in Landstown Commons shopping center Following SPSVB Closing (5:30) Some appetizers will be provided, drinks are on your own
  • 4. www.marathonus.com | 757.427.6999 4 • About Me • Getting Started with SharePoint Framework • What the Microsoft Graph? • Graph Explorer Demo Time • SharePoint Framework + Microsoft Graph • SPFx Demo Time • Resources • Questions Overview
  • 5. www.marathonus.com | 757.427.6999 5 • Senior Information Technology Consultant / Team Lead at Marathon Consulting focus on SharePoint, Office 365 and Azure • Father of energetic two boys 4 year old & 15 month old • Over 18 years of IT and Development experience • Over 14 years experience with SharePoint for as an Administrator and Developer • SharePoint experience with Farm Configuration, Branding, Web Part Development (including SPFx) and Workflow (OOB & 3rd Party Tools) • Not much free time lately, but I play Kickball, Softball and love coding code! About Me | Shawn Fagan @FaganSC https://github.com/FaganSC
  • 6. www.marathonus.com | 757.427.6999 6 About Me | Star Wars: Galaxy's Edge (Orlando, FL)
  • 7. www.marathonus.com | 757.427.6999 7 Getting Started with SharePoint Framework
  • 8. www.marathonus.com | 757.427.6999 8 • SharePoint Framework (SPFx) is a page and web part model that provides full support for client-side SharePoint development, easy integration with SharePoint data, and support for open source tooling. With the SharePoint Framework, you can use modern web technologies and tools in your preferred development environment to build productive experiences and apps that are responsive and mobile-ready from day one. The SharePoint Framework works for SharePoint Online and also for on-premises (SharePoint 2016 Feature Pack 2 and SharePoint 2019). • Client-side web parts using modern script development tools and the SharePoint workbench (a development test surface), and you can deploy your client-side web parts to modern pages and classic web part pages in Office 365 tenants • Web Parts are controls that appear inside a SharePoint page but run locally in the browser. They're the building blocks of pages that appear on a SharePoint site • Extensions enable you to extend the SharePoint user experience within modern pages and document libraries • Library Components are shared code, which multiple SharePoint Framework can easily share in the context of the SharePoint or Microsoft Teams.. SPFx | What is SharePoint Framework?
  • 9. www.marathonus.com | 757.427.6999 9 • Office 365 Tenant • You’ll need an Office 365 tenant • Office 365 Developer Program • https://developer.microsoft.com/en-us/office/dev-program • App Catalog Site • Should have this already setup in your SP Tenant • Site Collection • Any site Collection if using Development Tenant • Developer Site Collection if it’s your production Tenant • SharePoint Workbench • Built-in Tool for SPFx SPFx | What do you need for SPFx?
  • 10. www.marathonus.com | 757.427.6999 10 • NodeJS - Install NodeJS LTS version 10 • Code Editor • Visual Studio Code • Atom • Webstorm • Yeoman - Scaffolding Tool • Gulp – Task automation Tool • Yeoman SharePoint generator • Optional tools • Fiddler • Postman SPFx | Development Environment
  • 11. www.marathonus.com | 757.427.6999 11 What the Microsoft Graph?
  • 12. www.marathonus.com | 757.427.6999 12 • Microsoft Graph is the gateway to data and intelligence in Microsoft 365 • It provides a unified programmability model that you can use to access the tremendous amount of data in Office 365, Windows 10, and Enterprise Mobility + Security. • Single API Endpoint to provide access to people-centric data within Microsoft 365 services • REST APIs or SDKs to access the endpoint and build apps that support scenarios spanning across productivity, collaboration, education, security, identity, access, device management, and much more. • REST APIs and client libraries to access data on the following Microsoft 365 services: • Office 365 services • Enterprise Mobility and Security services • Windows 10 services: activities, devices, notifications • Dynamics 365 Business Central MS Graph | Overview of Microsoft Graph
  • 13. www.marathonus.com | 757.427.6999 13 MS Graph | Graph Relationships
  • 14. www.marathonus.com | 757.427.6999 14 MS Graph | Supported Platforms
  • 15. www.marathonus.com | 757.427.6999 15 Graph Explorer Demo Time https://developer.microsoft.com/en-us/graph/graph-explorer
  • 16. www.marathonus.com | 757.427.6999 16 SharePoint Framework + Microsoft Graph
  • 17. www.marathonus.com | 757.427.6999 17 • SharePoint Framework solutions with Microsoft Graph can easily connect by using the MSGraphClient. • MSGraphClient is a new HTTP client introduced in SharePoint Framework v1.6.0 • Replaces the need to use AadHttpClient • It simplifies connecting to the Microsoft Graph inside SharePoint Framework • Uses existing Microsoft Graph JavaScript Client Library • Directly handles authenticating • REST APIs and client libraries to access data on the following Microsoft 365 services: • Office 365 services • Enterprise Mobility and Security services • Windows 10 services: activities, devices, notifications • Dynamics 365 Business Central SPFx + Graph | Working together!
  • 18. www.marathonus.com | 757.427.6999 18 SPFx + Graph | How does it all work?
  • 21. www.marathonus.com | 757.427.6999 21 • Graph Explorer - https://developer.microsoft.com/en-us/graph/graph-explorer • Overview of the SharePoint Framework - https://docs.microsoft.com/en- us/sharepoint/dev/spfx/sharepoint-framework-overview • Overview of Microsoft Graph - https://docs.microsoft.com/en-us/graph/overview • SPFx & MS Graph Training Module - https://github.com/microsoftgraph/msgraph-training-spfx • MS Graph Github - https://github.com/microsoftgraph • SPFx Webpart Github - https://github.com/SharePoint/sp-dev-fx-webparts • SPFx Extensions Github - https://github.com/SharePoint/sp-dev-fx-extensions Resources | Links to help you out
  • 23. www.marathonus.com | 757.427.6999 23 Speaker Survey | Let me know what you think!

Hinweis der Redaktion

  1. Extensions Application Customizers. Adds scripts to the page, and accesses well-known HTML element placeholders and extends them with custom renderings. Field Customizers. Provides modified views to data for fields within a list. Command Sets. Extends the SharePoint command surfaces to add new actions, and provides client-side code that you can use to implement behaviors.
  2. Office 365 services: Delve, Excel, Microsoft Bookings, Microsoft Teams, OneDrive, OneNote, Outlook/Exchange, Planner, and SharePoint Enterprise Mobility and Security services: Advanced Threat Analytics, Advanced Threat Protection, Azure Active Directory, Identity Manager, and Intune Windows 10 services: activities, devices, notifications Dynamics 365 Business Central
  3. HTTP Request Action – Rest API Endpoint SharePoint List – Custom SharePoint List Approval Process – Built-In Approval Action Ability to setup Guest Access – REST API to invoke Action (MS Graph) Ability to setup SP Permissions – SharePoint REST API to invoke Action End User Notification – Office 365 Outlook Send Email Action
  4. The MSGraphClient is available only in projects built using SharePoint Framework v1.6.0 and later. While the MSGraphClient is explained in this article by using a client-side web part, you can also use it in SharePoint Framework Extensions. The single sign-on for the MSGraphClient is only available in SharePoint Online today. You can leverage the client for on premises developments but your users will be requested to sign in again within the webpart.