SlideShare a Scribd company logo
Gosia Borzecka
About me
@gosiaborzecka
Agenda
SharePoint Framework
Deployment
What next?
SharePoint Development options
Add-Ins
•Decoupling customizations from SharePoint
•Provides security model for the customization permissions
•Limited web part experience as add-in part
•Additional operational and maintenance requirements
External Apps/SPAs
•Decouples customizations from SharePoint
•Bring your own technology stack
•Provides security model for customization permissions
•Requires custom implementation of user interface
SharePoint Framework
•Customization runs as part of the SharePoint page
•Flexible web part experience
•Runs under permissions of current user
•Industry standard development model
SharePoint Framework
Modern Client Site Development
Lightweight web and mobile
Powers our own experience
Backward compatible
Supports open source tools and JavaScript Web Frameworks
SharePoint Framework Tooling
Tooling
• Node.js
• Yeoman
• Gulp
• TypeScipt
• Visual Studio Code
Frameworks:
• React
• Angular.js
• Knockout
• etc
https://www.voitanos.io/
Client-side Web Part Build Flow
Build SPFx solution
Package your webpart:
• Use bundle gulp task to build, localize, and bundle the
project
• Use the package-solution gulp task to package the
project into a .sppkg file
• The ship parameter build task created a minified version
of the bundle and copies all of the webpart assets
Workbench
Local
• Runs on https://localhost:4321/temp/workbench.html
• Has no SharePoint Context
• Use Mock Data
• Available offline
SharePoint
• Runs on SharePoint Site https://<YOUR-SHAREPOINT-
SITE>/_layouts/15/workbench.aspx
• Has SharePoint Context
• Use SharePoint Data
Debugging code
Browser
•Developer Console
Visual Studio Code
•Chrome Debugger Extension
Property Pane
PropertyPaneTextField
PropertyPaneButton
PropertyPaneCheckbox
PropertyPaneChoiseGroup
PropertyPaneDropdown
PropertyPaneLabel
PropertyPaneLink
PropertyPaneSlider
PropertyPaneToggle
Environment
import { Environment, EnvironmentType } from
'@microsoft/sp-core-library’;
Values:
• EnvironmentType.Tests
• EnvironmentType.Local
• EnvironmentType.SharePoint
• EnvironmentType.ClassicSharePoint
Rest API
•Provides shared functionality across all pnp librariescommon
•Provides a way to manage configuration within your applicationconfig-store
•Provides a fluent api for working with Microsoft Graphgraph
•Light-weight, subscribable logging frameworklogging
•Provides functionality enabling the @pnp libraries within nodejsnodejs
•Provides shared odata functionality and base classesodata
•Rollup library of core functionality (mimics sp-pnp-js)pnpjs
•Provides a fluent api for working with SharePoint RESTsp
•Provides functionality for working within SharePoint add-inssp-addinhelpers
•Provides based classes used to create a fluent api for working with SharePoint Managed
Metadatasp-clientsvc
•Provides a fluent api for working with SharePoint Managed Metadatasp-taxonomy
Rest API
•Alias Parameters •ALM api •Attachments •Client-side Pages
•Features •Fields •Files •List Items
•Navigation
Service
•Permissions •Related Items •Search
•Sharing •Social •SP.Utilities.Utility •Tenant Properties
•Views •Webs
•Comments and
Likes
https://pnp.github.io/pnpjs/sp/index.html
Office Fabric
https://developer.microsoft.com/en-us/fabric
Microsoft Graph
Deploy to Office 365 Public CDN
• Connect-SPOService -Url https://contoso-admin.sharepoint.com
• Get-SPOTenantCdnEnabled -CdnType Public
• Get-SPOTenantCdnOrigins -CdnType Public
• Get-SPOTenantCdnPolicies -CdnType Public
• Set-SPOTenantCdnEnabled -CdnType Public
Deploy to Office 365 Public CDN
Deploy to Azure CDN
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/deploy-web-
part-to-cdn
Deploy to Azure CDN
deploy-azure-
storage.json {
"$schema": "https://developer.microsoft.com/json-
schemas/spfx-build/deploy-azure-storage.schema.json",
"workingDir": "./temp/deploy/",
"account": “accountName",
"container": "azurehosted-webpart",
"accessKey": “accessKey“
}
Deploy to Azure CDN
write-
manifest.json {
"$schema":
"https://developer.microsoft.com/json-
schemas/spfx-build/write-
manifests.schema.json",
"cdnBasePath":
"https://XXX.azureedge.net/xxx/“
}
DEMO
SPFx 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
behaviours.
SPFx Extensions
SPFx Extensions: Application Customizer
?loadSPFX=true&debugManifestsFile=https://localhost:4321/temp/manifests.js&customActions={"e5625e23-
5c5a-4007-a335-
e6c2c3afa485":{"location":"ClientSideExtension.ApplicationCustomizer","properties":{"testMessage":"Hello as
property!"}}}
SPFx Extension: Field Customizer
?loadSPFX=true&debugManifestsFile=https://localhost:4321/temp/manifests.js&fieldCustomizers={"Percent":{"
id":"45a1d299-990d-4917-ba62-7cb67158be16","properties":{"sampleText":"Hello!"}}}
SPFx Extension: ListView Command Set
?loadSpfx=true&debugManifestsFile=https://localhost:4321/temp/manifests.js&customActions={"a8047e2
f-30d5-40fc-b880-
b2890c7c16d6":{"location":"ClientSideExtension.ListViewCommandSet.CommandBar","properties":{"sampl
eTextOne":"One item is selected in the list.","sampleTextTwo":"This command is always visible."}}}
Update SPFx version
Find outdated packages
• npm outdated
Update specific package
• npm install mypackage@newversion –save
Clean old build artifacts
• Gulp clean
Any problems?
• Delete node_modules and execute npm install
Update SPFx version - Yeoman
Find outdated Yeoman generator (installed
globally)
• npm outdated –g
Update
• npm install @microsoft/generator-sharepoint@latest -g
Open source Starter Kit
Automated provisioning of simple demo content within a
communication site
Automated provisioning of the whole solution to any tenant within
minutes
Automated configuration of Site Scripts and Site Designs at the
tenant level using the PnP Remote Provisioning engine
Implementation of different customizations for SharePoint Online
Usage of Office UI Fabric and reusable PnP SPFx controls within the
customizations
The Greatest Introduction to SharePoint Framework (SPFx) on earth!
https://developer.microsoft.com/en-us/office/dev-program
Just few days ago..
Sharing is caring!
• Use hashtags:
• #Office365Dev
• #MicrosoftGraph
• #SPFx
• Log issues & questions on GitHub Repos
Thank you!
#SPSLeicester
Thank You To All Of Our Sponsors!
#spsleicester

More Related Content

What's hot (19)

PPTX
D2 - Automate Custom Solutions Deployment on Office 365 and Azure - Paolo Pia...
SPS Paris
 
PPTX
Deep dive into share point framework webparts
Prabhu Nehru
 
PPTX
SharePoint Framework 101 (SPFx)
Matthew J. Bailey , MCT
 
PDF
SPUnite17 Introduction to the Office Dev PnP Core Libraries
NCCOMMS
 
PDF
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
Bill Ayers
 
PPTX
SharePoint Framework - Developer Preview
Sean McLellan
 
PDF
SPUnite17 SPFx Extensions
NCCOMMS
 
PPTX
[Jansen] Transforming your classic team sites into modern group connected tea...
European Collaboration Summit
 
PPTX
SharePoint Framework, React and Office UI SPS Paris 2016 - d01
Sonja Madsen
 
PPTX
Chris O'Brien - Introduction to the SharePoint Framework for developers
Chris O'Brien
 
PPTX
Overview of SharePoint Framework (SPFx)
Małgorzata Borzęcka
 
PDF
SPUnite17 Timer Jobs Event Handlers
NCCOMMS
 
PPTX
[Patel] SPFx: An ISV Insight into latest Microsoft's customization model
European Collaboration Summit
 
PDF
Introduction To Form Services In Mos22007 Csug
drudolph11
 
PDF
ecs19 - Bill Ayers - RE-USE YOUR SHAREPOINT FRAMEWORK SKILLZ TO BUILD OFFICE ...
European Collaboration Summit
 
PDF
Developing with SharePoint Framework (SPFx) on-premises
Dragan Panjkov
 
PDF
SPUnite17 Migrating your Customizations from On-prem to SharePoint Online
NCCOMMS
 
PPTX
O365: Attack of the Clones
Christopher Johnson
 
PPTX
Modern SharePoint, the Good, the Bad, and the Ugly
Bob German
 
D2 - Automate Custom Solutions Deployment on Office 365 and Azure - Paolo Pia...
SPS Paris
 
Deep dive into share point framework webparts
Prabhu Nehru
 
SharePoint Framework 101 (SPFx)
Matthew J. Bailey , MCT
 
SPUnite17 Introduction to the Office Dev PnP Core Libraries
NCCOMMS
 
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
Bill Ayers
 
SharePoint Framework - Developer Preview
Sean McLellan
 
SPUnite17 SPFx Extensions
NCCOMMS
 
[Jansen] Transforming your classic team sites into modern group connected tea...
European Collaboration Summit
 
SharePoint Framework, React and Office UI SPS Paris 2016 - d01
Sonja Madsen
 
Chris O'Brien - Introduction to the SharePoint Framework for developers
Chris O'Brien
 
Overview of SharePoint Framework (SPFx)
Małgorzata Borzęcka
 
SPUnite17 Timer Jobs Event Handlers
NCCOMMS
 
[Patel] SPFx: An ISV Insight into latest Microsoft's customization model
European Collaboration Summit
 
Introduction To Form Services In Mos22007 Csug
drudolph11
 
ecs19 - Bill Ayers - RE-USE YOUR SHAREPOINT FRAMEWORK SKILLZ TO BUILD OFFICE ...
European Collaboration Summit
 
Developing with SharePoint Framework (SPFx) on-premises
Dragan Panjkov
 
SPUnite17 Migrating your Customizations from On-prem to SharePoint Online
NCCOMMS
 
O365: Attack of the Clones
Christopher Johnson
 
Modern SharePoint, the Good, the Bad, and the Ugly
Bob German
 

Similar to The Greatest Introduction to SharePoint Framework (SPFx) on earth! (20)

PPTX
Introducción al SharePoint Framework SPFx
SUGES (SharePoint Users Group España)
 
PPTX
SharePoint Framework SPFx
Vladimir Medina
 
PDF
SPUnite17 Building Great Client Side Web Parts with SPFx
NCCOMMS
 
PPTX
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
Thomas Daly
 
PDF
Free Online SharePoint Framework Webinar
Manoj Mittal
 
PDF
aOS Monaco - SPFx deployment
Yannick Borghmans
 
PDF
aOS Monaco 2019 - B7 - I Developed a SPFx solution, what to do next and how t...
aOS Community
 
PDF
Power Saturday 2019 F6 - I developed a SPFx solution, what to do next and how...
PowerSaturdayParis
 
PDF
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
PPTX
CDNs para el SharePoint Framework (SPFx)
SUGES (SharePoint Users Group España)
 
PDF
Real World SharePoint Framework and Azure Services
Brian Culver
 
PDF
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
PPTX
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Thomas Daly
 
PPTX
Developing SharePoint Framework Solutions for the Enterprise - SEF 2019
Eric Shupps
 
PPTX
SharePoint Framework tips and tricks
Giuseppe Marchi
 
PPTX
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next...
Yannick Borghmans
 
PPTX
SharePoint Development with the SharePoint Framework
JoAnna Cheshire
 
PDF
SPS Dakar 2018 - I developed a SharePoint framework solution, what to do next...
aOS Community
 
PPTX
Build Your First SharePoint Framework Webpart
Eric Overfield
 
PPTX
Learn from my Mistakes - Building Better Solutions in SPFx
Thomas Daly
 
Introducción al SharePoint Framework SPFx
SUGES (SharePoint Users Group España)
 
SharePoint Framework SPFx
Vladimir Medina
 
SPUnite17 Building Great Client Side Web Parts with SPFx
NCCOMMS
 
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
Thomas Daly
 
Free Online SharePoint Framework Webinar
Manoj Mittal
 
aOS Monaco - SPFx deployment
Yannick Borghmans
 
aOS Monaco 2019 - B7 - I Developed a SPFx solution, what to do next and how t...
aOS Community
 
Power Saturday 2019 F6 - I developed a SPFx solution, what to do next and how...
PowerSaturdayParis
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
CDNs para el SharePoint Framework (SPFx)
SUGES (SharePoint Users Group España)
 
Real World SharePoint Framework and Azure Services
Brian Culver
 
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Thomas Daly
 
Developing SharePoint Framework Solutions for the Enterprise - SEF 2019
Eric Shupps
 
SharePoint Framework tips and tricks
Giuseppe Marchi
 
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next...
Yannick Borghmans
 
SharePoint Development with the SharePoint Framework
JoAnna Cheshire
 
SPS Dakar 2018 - I developed a SharePoint framework solution, what to do next...
aOS Community
 
Build Your First SharePoint Framework Webpart
Eric Overfield
 
Learn from my Mistakes - Building Better Solutions in SPFx
Thomas Daly
 
Ad

More from Małgorzata Borzęcka (20)

PPTX
Add more Speech API to your bot
Małgorzata Borzęcka
 
PPTX
Cognitive Services Extravaganza #DDDNorth
Małgorzata Borzęcka
 
PPTX
Cognitive Services Extravaganza
Małgorzata Borzęcka
 
PPTX
Cognitive Services Extravaganza
Małgorzata Borzęcka
 
PPTX
Cognitive Services Extravaganza
Małgorzata Borzęcka
 
PPTX
Introduction to Cognitive Services
Małgorzata Borzęcka
 
PPTX
Cognitive Services
Małgorzata Borzęcka
 
PPTX
Cognitive Services
Małgorzata Borzęcka
 
PPTX
SPFx (SharePoint Framework)
Małgorzata Borzęcka
 
PDF
Introduction to asp.net Wroclaw
Małgorzata Borzęcka
 
PDF
ASP.NET MVC Workshop for Women in Technology
Małgorzata Borzęcka
 
PPTX
Introduction to .NET Framework
Małgorzata Borzęcka
 
PPT
Project Siena
Małgorzata Borzęcka
 
PPTX
Balans życia
Małgorzata Borzęcka
 
PPTX
Global Windows Azure Bootcamp
Małgorzata Borzęcka
 
PPTX
1 spotkanie Women in Technology na Śląsku
Małgorzata Borzęcka
 
ODP
10 spotkanie Women in Technology we Wrocław
Małgorzata Borzęcka
 
PPT
Technologiczna pigułka 2014 123
Małgorzata Borzęcka
 
PDF
Technologiczna pigułka 2012/2013
Małgorzata Borzęcka
 
PPT
Women in Technology.. Twitter.. Damn! (Łódzka Grupa DotNet)
Małgorzata Borzęcka
 
Add more Speech API to your bot
Małgorzata Borzęcka
 
Cognitive Services Extravaganza #DDDNorth
Małgorzata Borzęcka
 
Cognitive Services Extravaganza
Małgorzata Borzęcka
 
Cognitive Services Extravaganza
Małgorzata Borzęcka
 
Cognitive Services Extravaganza
Małgorzata Borzęcka
 
Introduction to Cognitive Services
Małgorzata Borzęcka
 
Cognitive Services
Małgorzata Borzęcka
 
Cognitive Services
Małgorzata Borzęcka
 
SPFx (SharePoint Framework)
Małgorzata Borzęcka
 
Introduction to asp.net Wroclaw
Małgorzata Borzęcka
 
ASP.NET MVC Workshop for Women in Technology
Małgorzata Borzęcka
 
Introduction to .NET Framework
Małgorzata Borzęcka
 
Project Siena
Małgorzata Borzęcka
 
Balans życia
Małgorzata Borzęcka
 
Global Windows Azure Bootcamp
Małgorzata Borzęcka
 
1 spotkanie Women in Technology na Śląsku
Małgorzata Borzęcka
 
10 spotkanie Women in Technology we Wrocław
Małgorzata Borzęcka
 
Technologiczna pigułka 2014 123
Małgorzata Borzęcka
 
Technologiczna pigułka 2012/2013
Małgorzata Borzęcka
 
Women in Technology.. Twitter.. Damn! (Łódzka Grupa DotNet)
Małgorzata Borzęcka
 
Ad

Recently uploaded (20)

PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Biography of Daniel Podor.pdf
Daniel Podor
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 

The Greatest Introduction to SharePoint Framework (SPFx) on earth!

  • 4. SharePoint Development options Add-Ins •Decoupling customizations from SharePoint •Provides security model for the customization permissions •Limited web part experience as add-in part •Additional operational and maintenance requirements External Apps/SPAs •Decouples customizations from SharePoint •Bring your own technology stack •Provides security model for customization permissions •Requires custom implementation of user interface SharePoint Framework •Customization runs as part of the SharePoint page •Flexible web part experience •Runs under permissions of current user •Industry standard development model
  • 5. SharePoint Framework Modern Client Site Development Lightweight web and mobile Powers our own experience Backward compatible Supports open source tools and JavaScript Web Frameworks
  • 6. SharePoint Framework Tooling Tooling • Node.js • Yeoman • Gulp • TypeScipt • Visual Studio Code Frameworks: • React • Angular.js • Knockout • etc
  • 8. Client-side Web Part Build Flow
  • 9. Build SPFx solution Package your webpart: • Use bundle gulp task to build, localize, and bundle the project • Use the package-solution gulp task to package the project into a .sppkg file • The ship parameter build task created a minified version of the bundle and copies all of the webpart assets
  • 10. Workbench Local • Runs on https://localhost:4321/temp/workbench.html • Has no SharePoint Context • Use Mock Data • Available offline SharePoint • Runs on SharePoint Site https://<YOUR-SHAREPOINT- SITE>/_layouts/15/workbench.aspx • Has SharePoint Context • Use SharePoint Data
  • 11. Debugging code Browser •Developer Console Visual Studio Code •Chrome Debugger Extension
  • 13. Environment import { Environment, EnvironmentType } from '@microsoft/sp-core-library’; Values: • EnvironmentType.Tests • EnvironmentType.Local • EnvironmentType.SharePoint • EnvironmentType.ClassicSharePoint
  • 14. Rest API •Provides shared functionality across all pnp librariescommon •Provides a way to manage configuration within your applicationconfig-store •Provides a fluent api for working with Microsoft Graphgraph •Light-weight, subscribable logging frameworklogging •Provides functionality enabling the @pnp libraries within nodejsnodejs •Provides shared odata functionality and base classesodata •Rollup library of core functionality (mimics sp-pnp-js)pnpjs •Provides a fluent api for working with SharePoint RESTsp •Provides functionality for working within SharePoint add-inssp-addinhelpers •Provides based classes used to create a fluent api for working with SharePoint Managed Metadatasp-clientsvc •Provides a fluent api for working with SharePoint Managed Metadatasp-taxonomy
  • 15. Rest API •Alias Parameters •ALM api •Attachments •Client-side Pages •Features •Fields •Files •List Items •Navigation Service •Permissions •Related Items •Search •Sharing •Social •SP.Utilities.Utility •Tenant Properties •Views •Webs •Comments and Likes https://pnp.github.io/pnpjs/sp/index.html
  • 18. Deploy to Office 365 Public CDN • Connect-SPOService -Url https://contoso-admin.sharepoint.com • Get-SPOTenantCdnEnabled -CdnType Public • Get-SPOTenantCdnOrigins -CdnType Public • Get-SPOTenantCdnPolicies -CdnType Public • Set-SPOTenantCdnEnabled -CdnType Public
  • 19. Deploy to Office 365 Public CDN
  • 20. Deploy to Azure CDN https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/deploy-web- part-to-cdn
  • 21. Deploy to Azure CDN deploy-azure- storage.json { "$schema": "https://developer.microsoft.com/json- schemas/spfx-build/deploy-azure-storage.schema.json", "workingDir": "./temp/deploy/", "account": “accountName", "container": "azurehosted-webpart", "accessKey": “accessKey“ }
  • 22. Deploy to Azure CDN write- manifest.json { "$schema": "https://developer.microsoft.com/json- schemas/spfx-build/write- manifests.schema.json", "cdnBasePath": "https://XXX.azureedge.net/xxx/“ }
  • 23. DEMO
  • 24. SPFx 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 behaviours.
  • 26. SPFx Extensions: Application Customizer ?loadSPFX=true&debugManifestsFile=https://localhost:4321/temp/manifests.js&customActions={"e5625e23- 5c5a-4007-a335- e6c2c3afa485":{"location":"ClientSideExtension.ApplicationCustomizer","properties":{"testMessage":"Hello as property!"}}}
  • 27. SPFx Extension: Field Customizer ?loadSPFX=true&debugManifestsFile=https://localhost:4321/temp/manifests.js&fieldCustomizers={"Percent":{" id":"45a1d299-990d-4917-ba62-7cb67158be16","properties":{"sampleText":"Hello!"}}}
  • 28. SPFx Extension: ListView Command Set ?loadSpfx=true&debugManifestsFile=https://localhost:4321/temp/manifests.js&customActions={"a8047e2 f-30d5-40fc-b880- b2890c7c16d6":{"location":"ClientSideExtension.ListViewCommandSet.CommandBar","properties":{"sampl eTextOne":"One item is selected in the list.","sampleTextTwo":"This command is always visible."}}}
  • 29. Update SPFx version Find outdated packages • npm outdated Update specific package • npm install mypackage@newversion –save Clean old build artifacts • Gulp clean Any problems? • Delete node_modules and execute npm install
  • 30. Update SPFx version - Yeoman Find outdated Yeoman generator (installed globally) • npm outdated –g Update • npm install @microsoft/generator-sharepoint@latest -g
  • 31. Open source Starter Kit Automated provisioning of simple demo content within a communication site Automated provisioning of the whole solution to any tenant within minutes Automated configuration of Site Scripts and Site Designs at the tenant level using the PnP Remote Provisioning engine Implementation of different customizations for SharePoint Online Usage of Office UI Fabric and reusable PnP SPFx controls within the customizations
  • 34. Just few days ago..
  • 35. Sharing is caring! • Use hashtags: • #Office365Dev • #MicrosoftGraph • #SPFx • Log issues & questions on GitHub Repos
  • 36. Thank you! #SPSLeicester Thank You To All Of Our Sponsors! #spsleicester