SlideShare uma empresa Scribd logo
1 de 49
Extending MicrosoftTeams with SPFx webparts
Level: 100-200 ||Teams track
Who wouldn't want to just develop once and then run their code everywhere? Now with SPFx (SharePoint
Framework) 1.8 being out, we're getting one step closer to that, as we're given an elegant way to bridge the gap
between your portals built on SharePoint, and MicrosoftTeams where most of the collaboration happens.Teams is
just getting more and more powerful - and you can make it even more powerful by extending it.
This session contains an overview ofTeams extensibility scenarios, what SPFx is, and a closer look on how they
work together.We're taking a closer look (with demos!) at two different scenarios: how to create a new SPFx
webpart to be used withTeams, and how to modernize a webpart you already have running in your environment.
After this session, you're familiar with the basics of developing SPFx webparts to be used both in SharePoint and
Teams, as well as how to modify your existing webparts to surface them inTeams.
All of the code included in the demo will be available on GitHub after the session.
@koskila | https://www.koskila.net
Extending MicrosoftTeams with SPFx
webparts
Platinum Sponsors
Gold Sponsors
Silver Sponsors
Thank You for being a part of
Office 365 & SharePoint
Saturday Nashville!
Office 365 & SharePoint Users Group
Who’s speaking?
• Antti K. Koskela, Escalation Engineer for
Valo Solutions
• From Finland, 2017 USA, 2018 Montréal
• A dev since 2004 (an accountant before
that, started with PHP, then Java,
eventually C#)
• Bending and twisting SharePoint into
different shapes since MOSS
• Blogging at https://www.koskila.net and
https://www.valointranet.com !
@koskila | https://www.koskila.net
Jyväskylä
Montréal
Nashville
Session
The session will include a quick overview and a few demos of
the capabilities of:
Overview ofTeams & its extensibility scenarios
What is SPFx ?
How do they work together?
3 demos:
How to create a new SPFx webpart to be used withTeams
How to import a previously existing webpart toTeams
How to modernize a webpart you already have running in your
environment.
@koskila | https://www.koskila.net
Session: Structure
A quick look intoTeams (5 mins)
A quick look into SFPx (5 mins)
An overview ofTeams extensibility (5 mins)
SPFx +Teams (5 mins)
Demos (30 mins)
Discussion (5 mins)
@koskila | https://www.koskila.net
Session: Goals
The attendees (that’s you!) are familiar with:
Teams extensibility and SPFx
The basics of developing SPFx webparts to be used both in
SharePoint andTeams
How to modify your existing webparts to surface them in
Teams.
@koskila | https://www.koskila.net
Your turn!
@koskila | https://www.koskila.net
Are/were you …
A developer?
An IT Pro?
A power user?
UsingTeams?
Familiar with SPFx?
Familiar withTeams extensions?
Here last year?
@koskila | https://www.koskila.net
Teams – why should I care?
@koskila | https://www.koskila.net
“To empower every person and every organization on the
planet to achieve more.”
Microsoft’s mission statement.
https://www.microsoft.com/en-us/about
Teams (both free and enterprise version) possess a huge role in this.
@koskila | https://www.koskila.net
@koskila | https://www.koskila.nethttps://slideplayer.com/slide/13397477/
@koskila | https://www.koskila.net
Teams adoption is huge and growing
91 of Fortune100 useTeam
@koskila | https://www.koskila.net
https://www.microsoft.com/en-us/microsoft-365/blog/2019/03/19/microsoft-teams-experiences-intelligent-workplace/
https://office365itpros.com/2019/01/31/teams-growth-accelerating/
Adoption in IT companies
@koskila | https://www.koskila.net
Spiceworks’ business chat app report
November 2018
https://www.spiceworks.com/press/releases/spiceworks-study-reveals-adoption-of-microsoft-teams-accelerating-in-the-workplace/
https://techcommunity.microsoft.com/t5/Microsoft-Teams/NEW-Teams-IT-architecture-posters-published/td-p/480928
SPFx
A new thing, again?
@koskila | https://www.koskila.net
SPFx vs “Traditional” SharePoint
SharePoint Framework
Client-side execution model
Rendered & executed in page context
Only way to customize modern pages
Open source cross-platform tooling
Responsive, accessible & mobile friendly
Scoped to tenant or site
Limited to creating client-side web parts
& UI extensions
Farm solutions
• Full server-side API
• Only supported in on-premises
environments
• Built withVisual Studio on
Windows
• Scoped to farm
• Build web parts, timer jobs,
event receivers, feature
receivers, etc.
https://www.linkedin.com/pulse/what-sharepoint-framework-spfx-mark-kashman/
SPFx vs “classic” client-side options
• Script EditorWebParts
• Obvious choice of developers for customizing DOM on classic SharePoint sites.
• Script can be edited by any user with permissions
• Cannot be added to “NoScript” sites
• App Parts
• Developed using Add-in model (iframe)
• Cannot access DOM of SharePoint page
• Development and deployment is complicated, performance is questionable
• SPFxWebParts
• Client side web parts, leverages modern JavaScript frameworks
• Can be used with classic or modern SharePoint pages
• Development can be complicated, but at least the community is good and
possible side effects are limited
Teams Extensibility
@koskila | https://www.koskila.net
Teams Extensibility
Tabs (Team and Personal)
Bots
Connectors
Messaging extensions
Activity feed integrations
Outgoing web hooks
Teams Extensibility
Using SPFx is not necessarily – it’s just one scenario!
Citizen Developer scenarios:
ExtendTeams with Flow (https://flow.microsoft.com/en-
us/blog/introducing-the-flow-tab-in-teams-and-new-teams-triggers/
)
QnA Maker & Bot Framework enable no-code bots forTeams (and
other channels): https://thomy.tech/how-to-create-your-own-qa-
bot-for-microsoft-teams-with-no-code/
@koskila | https://www.koskila.net
Teams + SPFx
@koskila | https://www.koskila.net
@koskila | https://www.koskila.net
SharePoint as the hosting platform for your MicrosoftTeams solutions
SharePoint
Online
js
JavaScript Library
js
JavaScript Library
Office 365 public CDN
js
SPFxTeams solutions are deployed to
Office 365 tenants using tenant app
catalog-Typical options for the sppkg
file packaging and hosting available.
SPFxTeams
Application
SPFxTeams application exposed in the
MicrosoftTeams as a tab (IFrame).Assets
are hosted in SharePoint and published to
Teams using standardTeams model.
All typical configuration available as for
any SPFx solution – like asset
packaging, CDN configuration, asset
provisioning etc.
1
2
3
Objective:Simplifydeploymentand
hostingfordevelopers.Remove
requirementsforAzureADspecificappsor
configurationsthroughAzureAdminUI
ExtendingTeams in practice
@koskila | https://www.koskila.net
Business value
• The demos show how to
develop or reuse your SPFx
webparts inTeams
• Single effort -> multiple
channels
@koskila | https://www.koskila.net
DEMO 1
How to create a new extension
using SPFx?
@koskila | https://www.koskila.net
How
Following these steps:
https://docs.microsoft.com/en-
us/sharepoint/dev/spfx/web-parts/get-
started/using-web-part-as-ms-teams-tab
@koskila | https://www.koskila.net
DEMO 1 -Video
DEMO 2
How to modernize an existing
SPFx webpart to work in
Teams?
@koskila | https://www.koskila.net
DEMO 2
• AddTeams manifest
• Surface same webpart in bothTeams and
SharePointOnline
DEMO 2 – video
What’s next?
• So, first step ofTeamsifying an SPFx webpart is easy
• You might run into issues with authentication, pop-ups, style inconsistencies or your webpart
trying to navigate elsewhere
• Most of the stuff probably works in browser, desktop could cause issues
• Improvement:
• RecognizeTeams context and make styles compatible
DEMO 3
Update the webpart to
actually function withTeams.
@koskila | https://www.koskila.net
DEMO 3
1. Reupload a dev version of the package
2. Verify it’s now loaded from localhost
3. Update to SFPx 1.8
4. Grab the context if it exists
5. Adjust the styles
6. Reload in browser and enjoy
DEMO 3 - video
Using App Studio to create manifests
Conclusions & Final words
@koskila | https://www.koskila.net
Conclusions
• Teams:
• Microsoft’s Hub for collaboration
• SPFx:
• Client-side framework for building SharePoint extensions
• Teams + SPFx:
• Develop with SPFx = works inTeams and SharePoint
• Demo 1:
• Creating a new SPFx webpart that’s compatible from the get-go
• Demo 2:
• Surfacing your SPFx webpart inTeams
• Demo 3:
• Modifying your existing SPFx webparts to be compatible withTeams
@koskila | https://www.koskila.net
@koskila | https://www.koskila.net
Discussion
Resources & Further reading
• Code samples:
• https://github.com/koskila/sp-dev-fx-
webparts/commits/moderncalendarteamsdemo_v2/samples/js-modern-calendar
• Microsoft’s guides etc:
• https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/using-
web-part-as-ms-teams-tab
• My blog post containing slides, code, etc:
• Will be published at https://www.koskila.net/?p=4278
@koskila | https://www.koskila.net
#SharePint
4:30PM
51 North Taproom
704 51st Ave N,
Nashville, TN
Giveaways
3:30PM
Room MPR2
Must be present
to win!
Feedback, Ideas,
Questions? Let’s connect!
• antti@valointranet.com
• @koskila
• www.koskila.net
• https://github.com/koskila
• https://www.linkedin.com/in/koski
la/
@koskila | https://www.koskila.net

Mais conteúdo relacionado

Mais procurados

Microsoft Teams - Transform Workplace Collaboration
Microsoft Teams - Transform Workplace CollaborationMicrosoft Teams - Transform Workplace Collaboration
Microsoft Teams - Transform Workplace Collaboration
David J Rosenthal
 
Microsoft 365 Tenant Administration: Understanding Microsoft 365 Administrati...
Microsoft 365 Tenant Administration: Understanding Microsoft 365 Administrati...Microsoft 365 Tenant Administration: Understanding Microsoft 365 Administrati...
Microsoft 365 Tenant Administration: Understanding Microsoft 365 Administrati...
Joel Oleson
 

Mais procurados (20)

Microsoft Viva - understanding the four types of Viva
Microsoft Viva - understanding the four types of VivaMicrosoft Viva - understanding the four types of Viva
Microsoft Viva - understanding the four types of Viva
 
Blazor + Bot Framework = a Microsoft Teams Platform Dream Team
Blazor + Bot Framework = a Microsoft Teams Platform Dream TeamBlazor + Bot Framework = a Microsoft Teams Platform Dream Team
Blazor + Bot Framework = a Microsoft Teams Platform Dream Team
 
Microsoft Teams Governance Quickstart - The Experts Conference
Microsoft Teams Governance Quickstart - The Experts ConferenceMicrosoft Teams Governance Quickstart - The Experts Conference
Microsoft Teams Governance Quickstart - The Experts Conference
 
Modern Workplace with Microsoft 365
Modern Workplace with Microsoft 365Modern Workplace with Microsoft 365
Modern Workplace with Microsoft 365
 
2018-10-18 J2 1A - What's new in MS Teams - Stephanie Delcroix - Maelle Toiron
2018-10-18 J2 1A - What's new in MS Teams - Stephanie Delcroix - Maelle Toiron2018-10-18 J2 1A - What's new in MS Teams - Stephanie Delcroix - Maelle Toiron
2018-10-18 J2 1A - What's new in MS Teams - Stephanie Delcroix - Maelle Toiron
 
What's new and what's next in SharePoint Development for Enterprise & SPFx
What's new and what's next in SharePoint Development for Enterprise & SPFx What's new and what's next in SharePoint Development for Enterprise & SPFx
What's new and what's next in SharePoint Development for Enterprise & SPFx
 
Administering power platform deployment planning
Administering power platform deployment planningAdministering power platform deployment planning
Administering power platform deployment planning
 
December 2022 Microsoft 365 Need to Know Webinar
December 2022 Microsoft 365 Need to Know WebinarDecember 2022 Microsoft 365 Need to Know Webinar
December 2022 Microsoft 365 Need to Know Webinar
 
Microsoft 365 Certification - How to become Enterprise Administrator Expert
Microsoft 365 Certification - How to become Enterprise Administrator ExpertMicrosoft 365 Certification - How to become Enterprise Administrator Expert
Microsoft 365 Certification - How to become Enterprise Administrator Expert
 
Microsoft Teams: Ask Me Anything
Microsoft Teams: Ask Me AnythingMicrosoft Teams: Ask Me Anything
Microsoft Teams: Ask Me Anything
 
March 2022 CIAOPS Need to Know Webinar
March 2022 CIAOPS Need to Know WebinarMarch 2022 CIAOPS Need to Know Webinar
March 2022 CIAOPS Need to Know Webinar
 
Microsoft Teams - Transform Workplace Collaboration
Microsoft Teams - Transform Workplace CollaborationMicrosoft Teams - Transform Workplace Collaboration
Microsoft Teams - Transform Workplace Collaboration
 
Administrators guide to managing Microsoft 365 and collaboration workloads - ...
Administrators guide to managing Microsoft 365 and collaboration workloads - ...Administrators guide to managing Microsoft 365 and collaboration workloads - ...
Administrators guide to managing Microsoft 365 and collaboration workloads - ...
 
Microsoft Teams 7 Key Concepts for Planning and Strategy for Success
Microsoft Teams 7 Key Concepts for Planning and Strategy for SuccessMicrosoft Teams 7 Key Concepts for Planning and Strategy for Success
Microsoft Teams 7 Key Concepts for Planning and Strategy for Success
 
Microsoft Teams - A Collaboration Story
Microsoft Teams - A Collaboration StoryMicrosoft Teams - A Collaboration Story
Microsoft Teams - A Collaboration Story
 
Microsoft 365 Tenant Administration: Understanding Microsoft 365 Administrati...
Microsoft 365 Tenant Administration: Understanding Microsoft 365 Administrati...Microsoft 365 Tenant Administration: Understanding Microsoft 365 Administrati...
Microsoft 365 Tenant Administration: Understanding Microsoft 365 Administrati...
 
Introduction to Microsoft Kaizala And How to Empower Your Mobile Workforce us...
Introduction to Microsoft Kaizala And How to Empower Your Mobile Workforce us...Introduction to Microsoft Kaizala And How to Empower Your Mobile Workforce us...
Introduction to Microsoft Kaizala And How to Empower Your Mobile Workforce us...
 
Office 365 Saturday - Office 365 Security Best Practices
Office 365 Saturday - Office 365 Security Best PracticesOffice 365 Saturday - Office 365 Security Best Practices
Office 365 Saturday - Office 365 Security Best Practices
 
Presentation on Microsoft Teams
Presentation on Microsoft Teams Presentation on Microsoft Teams
Presentation on Microsoft Teams
 
SPSHEL18 - Microsoft Teams Deep Dive
SPSHEL18 - Microsoft Teams Deep DiveSPSHEL18 - Microsoft Teams Deep Dive
SPSHEL18 - Microsoft Teams Deep Dive
 

Semelhante a Extending Microsoft Teams with SPFx webparts

Semelhante a Extending Microsoft Teams with SPFx webparts (20)

CCI 2017 - Introduzione a SharePoint Framework (SPFx) - Fabio Franzini
CCI 2017 - Introduzione a SharePoint Framework (SPFx) - Fabio FranziniCCI 2017 - Introduzione a SharePoint Framework (SPFx) - Fabio Franzini
CCI 2017 - Introduzione a SharePoint Framework (SPFx) - Fabio Franzini
 
Introduction to SharePoint Framework (SPFx)
Introduction to SharePoint Framework (SPFx)Introduction to SharePoint Framework (SPFx)
Introduction to SharePoint Framework (SPFx)
 
Building share point framework solutions
Building share point framework solutionsBuilding share point framework solutions
Building share point framework solutions
 
SPUnite17 Building Great Client Side Web Parts with SPFx
SPUnite17 Building Great Client Side Web Parts with SPFxSPUnite17 Building Great Client Side Web Parts with SPFx
SPUnite17 Building Great Client Side Web Parts with SPFx
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
 
Build MSTeams Customizations with SPFx
Build MSTeams Customizations with SPFxBuild MSTeams Customizations with SPFx
Build MSTeams Customizations with SPFx
 
M365 global developer bootcamp 2019 Intro to SPFx Version
M365 global developer bootcamp 2019 Intro to SPFx VersionM365 global developer bootcamp 2019 Intro to SPFx Version
M365 global developer bootcamp 2019 Intro to SPFx Version
 
ecs19 - Bill Ayers - RE-USE YOUR SHAREPOINT FRAMEWORK SKILLZ TO BUILD OFFICE ...
ecs19 - Bill Ayers - RE-USE YOUR SHAREPOINT FRAMEWORK SKILLZ TO BUILD OFFICE ...ecs19 - Bill Ayers - RE-USE YOUR SHAREPOINT FRAMEWORK SKILLZ TO BUILD OFFICE ...
ecs19 - Bill Ayers - RE-USE YOUR SHAREPOINT FRAMEWORK SKILLZ TO BUILD OFFICE ...
 
SharePoint development 2017 wrap-up
SharePoint development   2017 wrap-upSharePoint development   2017 wrap-up
SharePoint development 2017 wrap-up
 
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
 
VSTS Migration Briefing
VSTS Migration BriefingVSTS Migration Briefing
VSTS Migration Briefing
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hourConvert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
 
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem. SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
 
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
 
Lightning Web Component - LWC
Lightning Web Component - LWCLightning Web Component - LWC
Lightning Web Component - LWC
 
Introducción al SharePoint Framework SPFx
Introducción al SharePoint Framework SPFxIntroducción al SharePoint Framework SPFx
Introducción al SharePoint Framework SPFx
 
SFDC Lightning Demo
SFDC Lightning DemoSFDC Lightning Demo
SFDC Lightning Demo
 
Move past bootstrap and build our lightweight responsive framework w.v1.2
Move past bootstrap and build our lightweight responsive framework w.v1.2Move past bootstrap and build our lightweight responsive framework w.v1.2
Move past bootstrap and build our lightweight responsive framework w.v1.2
 
Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...
Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...
Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...
 
Start developing Microsoft Teams tabs and SharePoint webparts with SharePoint...
Start developing Microsoft Teams tabs and SharePoint webparts with SharePoint...Start developing Microsoft Teams tabs and SharePoint webparts with SharePoint...
Start developing Microsoft Teams tabs and SharePoint webparts with SharePoint...
 

Último

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 

Último (20)

WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 

Extending Microsoft Teams with SPFx webparts

  • 1. Extending MicrosoftTeams with SPFx webparts Level: 100-200 ||Teams track Who wouldn't want to just develop once and then run their code everywhere? Now with SPFx (SharePoint Framework) 1.8 being out, we're getting one step closer to that, as we're given an elegant way to bridge the gap between your portals built on SharePoint, and MicrosoftTeams where most of the collaboration happens.Teams is just getting more and more powerful - and you can make it even more powerful by extending it. This session contains an overview ofTeams extensibility scenarios, what SPFx is, and a closer look on how they work together.We're taking a closer look (with demos!) at two different scenarios: how to create a new SPFx webpart to be used withTeams, and how to modernize a webpart you already have running in your environment. After this session, you're familiar with the basics of developing SPFx webparts to be used both in SharePoint and Teams, as well as how to modify your existing webparts to surface them inTeams. All of the code included in the demo will be available on GitHub after the session. @koskila | https://www.koskila.net
  • 3. Platinum Sponsors Gold Sponsors Silver Sponsors Thank You for being a part of Office 365 & SharePoint Saturday Nashville! Office 365 & SharePoint Users Group
  • 4. Who’s speaking? • Antti K. Koskela, Escalation Engineer for Valo Solutions • From Finland, 2017 USA, 2018 Montréal • A dev since 2004 (an accountant before that, started with PHP, then Java, eventually C#) • Bending and twisting SharePoint into different shapes since MOSS • Blogging at https://www.koskila.net and https://www.valointranet.com ! @koskila | https://www.koskila.net
  • 6. Session The session will include a quick overview and a few demos of the capabilities of: Overview ofTeams & its extensibility scenarios What is SPFx ? How do they work together? 3 demos: How to create a new SPFx webpart to be used withTeams How to import a previously existing webpart toTeams How to modernize a webpart you already have running in your environment. @koskila | https://www.koskila.net
  • 7. Session: Structure A quick look intoTeams (5 mins) A quick look into SFPx (5 mins) An overview ofTeams extensibility (5 mins) SPFx +Teams (5 mins) Demos (30 mins) Discussion (5 mins) @koskila | https://www.koskila.net
  • 8. Session: Goals The attendees (that’s you!) are familiar with: Teams extensibility and SPFx The basics of developing SPFx webparts to be used both in SharePoint andTeams How to modify your existing webparts to surface them in Teams. @koskila | https://www.koskila.net
  • 9. Your turn! @koskila | https://www.koskila.net
  • 10. Are/were you … A developer? An IT Pro? A power user? UsingTeams? Familiar with SPFx? Familiar withTeams extensions? Here last year? @koskila | https://www.koskila.net
  • 11. Teams – why should I care? @koskila | https://www.koskila.net
  • 12. “To empower every person and every organization on the planet to achieve more.” Microsoft’s mission statement. https://www.microsoft.com/en-us/about Teams (both free and enterprise version) possess a huge role in this. @koskila | https://www.koskila.net
  • 15. Teams adoption is huge and growing 91 of Fortune100 useTeam @koskila | https://www.koskila.net https://www.microsoft.com/en-us/microsoft-365/blog/2019/03/19/microsoft-teams-experiences-intelligent-workplace/ https://office365itpros.com/2019/01/31/teams-growth-accelerating/
  • 16. Adoption in IT companies @koskila | https://www.koskila.net Spiceworks’ business chat app report November 2018 https://www.spiceworks.com/press/releases/spiceworks-study-reveals-adoption-of-microsoft-teams-accelerating-in-the-workplace/
  • 18. SPFx A new thing, again? @koskila | https://www.koskila.net
  • 19.
  • 20. SPFx vs “Traditional” SharePoint SharePoint Framework Client-side execution model Rendered & executed in page context Only way to customize modern pages Open source cross-platform tooling Responsive, accessible & mobile friendly Scoped to tenant or site Limited to creating client-side web parts & UI extensions Farm solutions • Full server-side API • Only supported in on-premises environments • Built withVisual Studio on Windows • Scoped to farm • Build web parts, timer jobs, event receivers, feature receivers, etc.
  • 21.
  • 23.
  • 24. SPFx vs “classic” client-side options • Script EditorWebParts • Obvious choice of developers for customizing DOM on classic SharePoint sites. • Script can be edited by any user with permissions • Cannot be added to “NoScript” sites • App Parts • Developed using Add-in model (iframe) • Cannot access DOM of SharePoint page • Development and deployment is complicated, performance is questionable • SPFxWebParts • Client side web parts, leverages modern JavaScript frameworks • Can be used with classic or modern SharePoint pages • Development can be complicated, but at least the community is good and possible side effects are limited
  • 25. Teams Extensibility @koskila | https://www.koskila.net
  • 26. Teams Extensibility Tabs (Team and Personal) Bots Connectors Messaging extensions Activity feed integrations Outgoing web hooks
  • 27. Teams Extensibility Using SPFx is not necessarily – it’s just one scenario! Citizen Developer scenarios: ExtendTeams with Flow (https://flow.microsoft.com/en- us/blog/introducing-the-flow-tab-in-teams-and-new-teams-triggers/ ) QnA Maker & Bot Framework enable no-code bots forTeams (and other channels): https://thomy.tech/how-to-create-your-own-qa- bot-for-microsoft-teams-with-no-code/ @koskila | https://www.koskila.net
  • 28. Teams + SPFx @koskila | https://www.koskila.net
  • 29. @koskila | https://www.koskila.net SharePoint as the hosting platform for your MicrosoftTeams solutions SharePoint Online js JavaScript Library js JavaScript Library Office 365 public CDN js SPFxTeams solutions are deployed to Office 365 tenants using tenant app catalog-Typical options for the sppkg file packaging and hosting available. SPFxTeams Application SPFxTeams application exposed in the MicrosoftTeams as a tab (IFrame).Assets are hosted in SharePoint and published to Teams using standardTeams model. All typical configuration available as for any SPFx solution – like asset packaging, CDN configuration, asset provisioning etc. 1 2 3 Objective:Simplifydeploymentand hostingfordevelopers.Remove requirementsforAzureADspecificappsor configurationsthroughAzureAdminUI
  • 30. ExtendingTeams in practice @koskila | https://www.koskila.net
  • 31. Business value • The demos show how to develop or reuse your SPFx webparts inTeams • Single effort -> multiple channels @koskila | https://www.koskila.net
  • 32. DEMO 1 How to create a new extension using SPFx? @koskila | https://www.koskila.net
  • 36. DEMO 2 How to modernize an existing SPFx webpart to work in Teams? @koskila | https://www.koskila.net
  • 37. DEMO 2 • AddTeams manifest • Surface same webpart in bothTeams and SharePointOnline
  • 38. DEMO 2 – video
  • 39. What’s next? • So, first step ofTeamsifying an SPFx webpart is easy • You might run into issues with authentication, pop-ups, style inconsistencies or your webpart trying to navigate elsewhere • Most of the stuff probably works in browser, desktop could cause issues • Improvement: • RecognizeTeams context and make styles compatible
  • 40. DEMO 3 Update the webpart to actually function withTeams. @koskila | https://www.koskila.net
  • 41. DEMO 3 1. Reupload a dev version of the package 2. Verify it’s now loaded from localhost 3. Update to SFPx 1.8 4. Grab the context if it exists 5. Adjust the styles 6. Reload in browser and enjoy
  • 42. DEMO 3 - video
  • 43. Using App Studio to create manifests
  • 44. Conclusions & Final words @koskila | https://www.koskila.net
  • 45. Conclusions • Teams: • Microsoft’s Hub for collaboration • SPFx: • Client-side framework for building SharePoint extensions • Teams + SPFx: • Develop with SPFx = works inTeams and SharePoint • Demo 1: • Creating a new SPFx webpart that’s compatible from the get-go • Demo 2: • Surfacing your SPFx webpart inTeams • Demo 3: • Modifying your existing SPFx webparts to be compatible withTeams @koskila | https://www.koskila.net
  • 47. Resources & Further reading • Code samples: • https://github.com/koskila/sp-dev-fx- webparts/commits/moderncalendarteamsdemo_v2/samples/js-modern-calendar • Microsoft’s guides etc: • https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/using- web-part-as-ms-teams-tab • My blog post containing slides, code, etc: • Will be published at https://www.koskila.net/?p=4278 @koskila | https://www.koskila.net
  • 48. #SharePint 4:30PM 51 North Taproom 704 51st Ave N, Nashville, TN Giveaways 3:30PM Room MPR2 Must be present to win!
  • 49. Feedback, Ideas, Questions? Let’s connect! • antti@valointranet.com • @koskila • www.koskila.net • https://github.com/koskila • https://www.linkedin.com/in/koski la/ @koskila | https://www.koskila.net

Notas do Editor

  1. 5 min
  2. https://www.gartner.com/it-glossary/citizen-developer/
  3. https://www.gartner.com/it-glossary/citizen-developer/
  4. https://www.gartner.com/it-glossary/citizen-developer/
  5. 10 min
  6. https://www.voitanos.io/pages/ec-spfxdev-day-3-of-10-how-the-sharepoint-framework-differs-from-traditional-development-and-deployment
  7. “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.” https://docs.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview https://www.linkedin.com/pulse/what-sharepoint-framework-spfx-mark-kashman/
  8. https://www.linkedin.com/pulse/what-sharepoint-framework-spfx-mark-kashman/
  9. https://www.linkedin.com/pulse/what-sharepoint-framework-spfx-mark-kashman/
  10. https://www.c-sharpcorner.com/article/spfx-part-1-sharepoint-framework-spfx-overview/
  11. 15 min
  12. 20 min
  13. 20-25 min
  14. 40-45 min
  15. 45-50 min
  16. 55 min