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

What's hot (17)

PDF
7-Step Recipe For Continuous Integration Using OpenStack - Part 1
Platform9
 
PDF
7-Step Recipe For Continuous Integration Using OpenStack - Part 2
Platform9
 
PDF
Chef Automate - Wellington DevOps August 2, 2017
Matt Ray
 
PPTX
CI/CD on AWS
Bhargav Amin
 
PPTX
AWS Kochi User Group Presentation
Varun Manik
 
PPTX
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Thomas Daly
 
PDF
DEVELOPING SHAREPOINT FRAMEWORK SOLUTIONS FOR THE ENTERPRISE
European Collaboration Summit
 
PDF
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
NaimishKakkad2
 
PPTX
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
Thomas Daly
 
PDF
Chef Automate - Infracoders Canberra August 8, 2017
Matt Ray
 
PDF
PayPal's History of Microservices Architecture
Postman
 
PDF
Continuous Delivery in the Cloud with Bitbucket Pipelines
Atlassian
 
PDF
Serverless Media Workflow
MooYeol Lee
 
PPTX
Anatomy of an APS 2 appication
Marcello Teodori
 
PPTX
Featfures of asp.net
DivyaDev9
 
PPTX
MS Insights Brazil 2015 containers and devops
Damien Caro
 
PDF
Pivotal CloudFoundry on Google cloud platform
Ronak Banka
 
7-Step Recipe For Continuous Integration Using OpenStack - Part 1
Platform9
 
7-Step Recipe For Continuous Integration Using OpenStack - Part 2
Platform9
 
Chef Automate - Wellington DevOps August 2, 2017
Matt Ray
 
CI/CD on AWS
Bhargav Amin
 
AWS Kochi User Group Presentation
Varun Manik
 
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Thomas Daly
 
DEVELOPING SHAREPOINT FRAMEWORK SOLUTIONS FOR THE ENTERPRISE
European Collaboration Summit
 
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
NaimishKakkad2
 
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
Thomas Daly
 
Chef Automate - Infracoders Canberra August 8, 2017
Matt Ray
 
PayPal's History of Microservices Architecture
Postman
 
Continuous Delivery in the Cloud with Bitbucket Pipelines
Atlassian
 
Serverless Media Workflow
MooYeol Lee
 
Anatomy of an APS 2 appication
Marcello Teodori
 
Featfures of asp.net
DivyaDev9
 
MS Insights Brazil 2015 containers and devops
Damien Caro
 
Pivotal CloudFoundry on Google cloud platform
Ronak Banka
 

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

PDF
aOS Monaco - SPFx deployment
Yannick Borghmans
 
PPTX
SPSCasablanca - SPFx Deployment
Yannick Borghmans
 
PPTX
SPS Paris - SPFx deployment
Yannick Borghmans
 
PDF
Power Saturday 2019 F6 - I developed a SPFx solution, what to do next and how...
PowerSaturdayParis
 
PPTX
M365 global developer bootcamp 2019 PA
Thomas Daly
 
PPTX
Introducción al SharePoint Framework SPFx
SUGES (SharePoint Users Group España)
 
PPTX
SPS Madrid - SPFx deployment
Yannick Borghmans
 
PPTX
M365 global developer bootcamp 2019
Thomas Daly
 
PPTX
Introduction to SharePoint Framework (SPFx)
Fabio Franzini
 
PPTX
SharePoint Framework SPFx
Vladimir Medina
 
PPTX
M365 global developer bootcamp 2019 Intro to SPFx Version
Thomas Daly
 
PDF
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
PDF
How to 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)
 
PPTX
SharePoint Framework tips and tricks
Giuseppe Marchi
 
PDF
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
PPTX
CICD with SharePoint SPFx A useful overview
pdalian
 
PPTX
Build Your First SharePoint Framework Webpart
Eric Overfield
 
PPTX
What's new and what's next in SharePoint Development for Enterprise & SPFx
Vignesh Ganesan I Microsoft MVP
 
PPTX
[Patel] SPFx: An ISV Insight into latest Microsoft's customization model
European Collaboration Summit
 
aOS Monaco - SPFx deployment
Yannick Borghmans
 
SPSCasablanca - SPFx Deployment
Yannick Borghmans
 
SPS Paris - SPFx deployment
Yannick Borghmans
 
Power Saturday 2019 F6 - I developed a SPFx solution, what to do next and how...
PowerSaturdayParis
 
M365 global developer bootcamp 2019 PA
Thomas Daly
 
Introducción al SharePoint Framework SPFx
SUGES (SharePoint Users Group España)
 
SPS Madrid - SPFx deployment
Yannick Borghmans
 
M365 global developer bootcamp 2019
Thomas Daly
 
Introduction to SharePoint Framework (SPFx)
Fabio Franzini
 
SharePoint Framework SPFx
Vladimir Medina
 
M365 global developer bootcamp 2019 Intro to SPFx Version
Thomas Daly
 
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
CDNs para el SharePoint Framework (SPFx)
SUGES (SharePoint Users Group España)
 
SharePoint Framework tips and tricks
Giuseppe Marchi
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
CICD with SharePoint SPFx A useful overview
pdalian
 
Build Your First SharePoint Framework Webpart
Eric Overfield
 
What's new and what's next in SharePoint Development for Enterprise & SPFx
Vignesh Ganesan I Microsoft MVP
 
[Patel] SPFx: An ISV Insight into latest Microsoft's customization model
European Collaboration Summit
 
Ad

Recently uploaded (20)

PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Biography of Daniel Podor.pdf
Daniel Podor
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Ad

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