SlideShare a Scribd company logo
I developed a SharePoint
Framework solution, what to do
next and how to install it by code?
Yannick Borghmans
Special thanks to our sponsors
Veldkant 37 – 2550 Kontich
+32 497 28 83 24
Linkedin.com/in/yborghmans
@yborghmans
Yannick Borghmans
Office 365/SharePoint Technical Lead
Agenda
Building SPFx Deployment
SharePoint
Azure
App catalog
ALM API
Building SPFx solution
Package your webpart
• Use the 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 creates a minified version of the
bundle and copies all of the web part assets
Package your webpart
Deploy App to the SharePoint App Catalog
Hint => Create a specific view for checked out packages
Upload static assets
• JSON source file
• Manifest for webpart
• JS Files
• Minified version of your code
• Localized strings
• Located in /temp/deploy folder
Install the app
• Go to your SharePoint Site
• Add an app
Add the web part to a SharePoint page
• Create a page on your Office 365 site
• Add the web part to the page
Demo
Files
Updating solutions
Update SPFx solution
• Upgrade version (./config/package-solution.json)
Update SPFx solution
• Gulp clean (optional)
• Gulp bundle --ship
• Gulp package-solution --ship
• Upload to app catalog & upload static assets (.js, .json)
Update SPFx solution
• No need to update app on sites => webparts are
automaticaly using the latest code
• Attention! => Updating an app where SPFx v1.4 is
used, can break all webparts on the site.
=> v1.4.1 solves this problem
Demo
Update SPFx version
• Find outdated packages
• npm outdated
Update SPFx version
• 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
Update SPFx version
• BE CAREFULL!
• Always take a backup
Deploy possibilities
What defines the hosting location?
Deploy possibilities
SharePoint
Document library
Client side assets
Office 365
CDN
Azure
CDN
Extra
Tenant deploy
SHAREPOINT
Document library
SharePoint – document library
• Create a document library
• Create a folder/solution you want to host
SharePoint – document library
• Update the CDNBasePath in write-manifest.json
SharePoint – document library
• Upload app package to app catalog
SharePoint – document library
• Upload .js files to document library
SharePoint – document library
AZURE
CDN
DEMO Azure
Client side assets
Introduced in SPFx v1.4 to include static assets in .sppkg file
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next and how to install it by code?
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next and how to install it by code?
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next and how to install it by code?
DEMO CLIENT SIDE ASSETS
Office 365
CDN
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next and how to install it by code?
Enable the SharePoint CDN origin
• Open the SharePoint Online Management Shell
• Execute the following Powershell commands to enable the CDN, set
the CDN origin, and return the CDN Origin ID
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next and how to install it by code?
DEMO
Office 365 CDN
Tenant deploy
Introduced in SPFx v1.4
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next and how to install it by code?
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next and how to install it by code?
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next and how to install it by code?
SharePoint Application
Lifecycle Management API
API to manage the deployment of your SharePoint Framework solutions
SharePoint
Application
Lifecycle
Management
• Add SharePoint Framework solution or SharePoint Add-in to tenant
app catalog.
• Remove SharePoint Framework solution or SharePoint Add-in from
tenant app catalog.
• Enable SharePoint Framework solution or SharePoint Add-in to be
available for installation in tenant app catalog.
• Disable SharePoint Framework solution or SharePoint Add-in not to
be available for installation in tenant app catalog.
• Install SharePoint Framework solution or SharePoint Add-in from
tenant app catalog to a site.
• Upgrade SharePoint Framework solution or SharePoint Add-in to a
site, which has a newer version available in the tenant app catalog.
• Uninstall SharePoint Framework solution or SharePoint Add-in from
the site.
• List all and get details about SharePoint Framework solutions or
SharePoint Add-ins in the tenant app catalog.
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next and how to install it by code?
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next and how to install it by code?
Supported operations
Demo
Plain REST Calls
PnP ALM
Questions?

More Related Content

PDF
SPS Dakar 2018 - I developed a SharePoint framework solution, what to do next...
PPTX
SPSNL - SPFx Deployment
PDF
aOS Monaco 2019 - B7 - I Developed a SPFx solution, what to do next and how t...
PPTX
#ATAGTR2019 Presentation "Role of QA in world of DevOps" By Prashant Beniwal
PPTX
Alfresco Process Services REST API - Alfresco DevCon 2018
PPTX
What's new in ASP.NET vNext
PPTX
Alfresco Digital Business Platform - Why, How, What
PPTX
#SPFestDc dev302 Is it possible to do #DevOps with the SharePoint Framework?
SPS Dakar 2018 - I developed a SharePoint framework solution, what to do next...
SPSNL - SPFx Deployment
aOS Monaco 2019 - B7 - I Developed a SPFx solution, what to do next and how t...
#ATAGTR2019 Presentation "Role of QA in world of DevOps" By Prashant Beniwal
Alfresco Process Services REST API - Alfresco DevCon 2018
What's new in ASP.NET vNext
Alfresco Digital Business Platform - Why, How, What
#SPFestDc dev302 Is it possible to do #DevOps with the SharePoint Framework?

What's hot (17)

PDF
7-Step Recipe For Continuous Integration Using OpenStack - Part 1
PDF
7-Step Recipe For Continuous Integration Using OpenStack - Part 2
PDF
Chef Automate - Wellington DevOps August 2, 2017
PPTX
CI/CD on AWS
PPTX
AWS Kochi User Group Presentation
PPTX
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
PDF
DEVELOPING SHAREPOINT FRAMEWORK SOLUTIONS FOR THE ENTERPRISE
PDF
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
PPTX
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
PDF
Chef Automate - Infracoders Canberra August 8, 2017
PDF
PayPal's History of Microservices Architecture
PDF
Continuous Delivery in the Cloud with Bitbucket Pipelines
PDF
Serverless Media Workflow
PPTX
Anatomy of an APS 2 appication
PPTX
Featfures of asp.net
PPTX
MS Insights Brazil 2015 containers and devops
PDF
Pivotal CloudFoundry on Google cloud platform
7-Step Recipe For Continuous Integration Using OpenStack - Part 1
7-Step Recipe For Continuous Integration Using OpenStack - Part 2
Chef Automate - Wellington DevOps August 2, 2017
CI/CD on AWS
AWS Kochi User Group Presentation
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
DEVELOPING SHAREPOINT FRAMEWORK SOLUTIONS FOR THE ENTERPRISE
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
Chef Automate - Infracoders Canberra August 8, 2017
PayPal's History of Microservices Architecture
Continuous Delivery in the Cloud with Bitbucket Pipelines
Serverless Media Workflow
Anatomy of an APS 2 appication
Featfures of asp.net
MS Insights Brazil 2015 containers and devops
Pivotal CloudFoundry on Google cloud platform
Ad

Similar to Biwug 20180410 - I developed a SharePoint Framework solution, what to do next and how to install it by code? (20)

PPTX
SPSCasablanca - SPFx Deployment
PDF
aOS Monaco - SPFx deployment
PPTX
CICD with SharePoint SPFx A useful overview
PPTX
Deep dive into share point framework webparts
PDF
Understanding SharePoint Framework Extensions
PPTX
Build Your First SharePoint Framework Webpart
PPTX
The Greatest Introduction to SharePoint Framework (SPFx) on earth!
PPTX
Introduction to SharePoint Framework
PPTX
Heading to the Cloud : Introduction to deploying a Provider-Hosted App in Azure
PPTX
Introduction to development using the share point framework mv ps
PPTX
OSH01 - Developing SharePoint Framework Solutions for the Enterprise
PPTX
Introduction to Office Development Topics
PPTX
D2 - Automate Custom Solutions Deployment on Office 365 and Azure - Paolo Pia...
PDF
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
PDF
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
PPTX
Introducción al SharePoint Framework SPFx
PPTX
Introduction to SharePoint Framework (SPFx)
PPTX
An introduction to the office devpnp community initiative
PPT
Best Practices Configuring And Developing Share Point Solutions
PDF
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
SPSCasablanca - SPFx Deployment
aOS Monaco - SPFx deployment
CICD with SharePoint SPFx A useful overview
Deep dive into share point framework webparts
Understanding SharePoint Framework Extensions
Build Your First SharePoint Framework Webpart
The Greatest Introduction to SharePoint Framework (SPFx) on earth!
Introduction to SharePoint Framework
Heading to the Cloud : Introduction to deploying a Provider-Hosted App in Azure
Introduction to development using the share point framework mv ps
OSH01 - Developing SharePoint Framework Solutions for the Enterprise
Introduction to Office Development Topics
D2 - Automate Custom Solutions Deployment on Office 365 and Azure - Paolo Pia...
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Introducción al SharePoint Framework SPFx
Introduction to SharePoint Framework (SPFx)
An introduction to the office devpnp community initiative
Best Practices Configuring And Developing Share Point Solutions
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
Ad

Recently uploaded (20)

PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation theory and applications.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Modernizing your data center with Dell and AMD
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
cuic standard and advanced reporting.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
MYSQL Presentation for SQL database connectivity
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Unlocking AI with Model Context Protocol (MCP)
NewMind AI Weekly Chronicles - August'25 Week I
Machine learning based COVID-19 study performance prediction
Encapsulation theory and applications.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Diabetes mellitus diagnosis method based random forest with bat algorithm
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Modernizing your data center with Dell and AMD
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Spectral efficient network and resource selection model in 5G networks
Reach Out and Touch Someone: Haptics and Empathic Computing
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Network Security Unit 5.pdf for BCA BBA.
cuic standard and advanced reporting.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
MYSQL Presentation for SQL database connectivity

Biwug 20180410 - I developed a SharePoint Framework solution, what to do next and how to install it by code?

Editor's Notes

  • #40: Administrator enables Office 365 Public CDN for the tenant using SharePoint Online Management Shell. Static assets to be shared from CDN are uploaded to the SharePoint libraries, which are enabled as CDN origins. Assets are being exposed from the configured libraries and folders and they can be accessed using CDN URLs. URLs pointing to CDN location are available to be used in the SharePoint sites and in the customizations hosted from SharePoint.
  • #41: Open the SharePoint Online Management Shell. Connect to your Office 365 Developer Tenant within PowerShell session by executing the following commands: $creds = Get-Credential Connect-SPOService -Url https://<TENANCY>-admin.sharepoint.com/ -Credential $creds Enable the Public CDN in the tenant by executing the following command: Set-SPOTenant -PublicCdnEnabled $true Configure the allowed file extensions by executing the following command: Set-SPOTenant -PublicCdnAllowedFileTypes "CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,TXT“ Add the CDN Origin by executing the following command: New-SPOPublicCdnOrigin -Url "https://<TENANCY>.sharepoint.com/sites/dev/siteassets/cdn“ Get the CDN Origin Id by executing the following command: Get-SPOPublicCdnOrigins