SlideShare a Scribd company logo
Waldek
Mastykarz
Mikael
Svenson
Thanks to our sponsors
Platinum
Gold
Silver
SharePint
Building solutions with the SharePoint Framework - deep-dive
Don’t bundle frameworks. Load from URL
instead
config/config.json
{
externals: {
"angular": {
"path": "https://cdn.com/…/angular.min.js",
"globalName": "angular"
}
}
}
Different way to reference the framework
based on its format
• Module format (AMD, UMD, etc.)
• URL only
• Non-module format
• URL + globalName
• optional globalDependencies
Building solutions with the SharePoint Framework - deep-dive
Known where you’re running
• Get from this.context.environment.type
• Possible values:
• EnvironmentType.Test – tests context
• EnvironmentType.Local – SharePoint workbench
• EnvironmentType.SharePoint – Modern SharePoint page
• EnvironmentType.ClassicSharePoint – Classic SharePoint page
Validate web part properties values
• Synchronous
• Valid value: return empty string
• Invalid value: return error message
• Asynchronous (using Promises)
• Valid value: resolve promise with empty string
• Invalid value: resolve promise with the error message
• Do not reject the promise!
Pre-configure web part for easy use
• Configuration set provided through preconfiguredEntries
• Different title, description and web part properties value
Consider search
• Use the searchablePropertyNames property to expose web
part configuration to SharePoint search
Building solutions with the SharePoint Framework - deep-dive
Web part configuration
• Standard through web part property pane
• Easy to implement
• Familiar to users
• Custom through the web part surface
• More complex to implement
• Gives developers more freedom
Building solutions with the SharePoint Framework - deep-dive
Analyze SharePoint Framework projects with
SPCAF
• Catch errors and fix easily using the provided guidance
• For developers
• Code analysis
• Best practices
• For administrators
• Solution inventory
• Security assessment
• Available soon (visit spcaf.com for more information)
Get in touch!
@waldekm
blog.mastykarz.nl
@mikaelsvenson
techmikael.com

More Related Content

What's hot (20)

PPTX
Azure Serverless Conf
Jose Javier Columbie
 
PPTX
Going Serverless with Azure Functions
Christos Matskas
 
PPTX
Azure Cloud Services
Guy Barrette
 
PPTX
Azure functions
EducationTamil
 
PDF
Server rendering-talk
Daiwei Lu
 
PPTX
Introduction presentation
Vladislav Hadzhiyski
 
PPTX
ASP.NET MVC 4
Danijel Malik
 
PPTX
Mvc razor and working with data
Vladislav Hadzhiyski
 
PPTX
Single page App
Gaurav Gawande
 
PPTX
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
CodeOps Technologies LLP
 
PPTX
Web forms Overview Presentation
Vladislav Hadzhiyski
 
PPTX
London .NET Developers Azure Websites
Tom Walker
 
PPTX
Building rest services using aspnetwebapi
Brij Mishra
 
PPTX
Why XAF and XPO?
Jose Javier Columbie
 
PPTX
How to automate the SharePoint Provisioning
Knut Relbe-Moe [MVP, MCT]
 
PDF
Go Serverless with Java and Azure Functions
CodeOps Technologies LLP
 
PPTX
How to ease the learning curve
Jose Javier Columbie
 
PPTX
ASP.NET 5
David Voyles
 
PDF
A Simpler Web App Architecture (jDays 2016)
Gustaf Nilsson Kotte
 
PPTX
Building Modern Web Applications with ASP.NET5
Brij Mishra
 
Azure Serverless Conf
Jose Javier Columbie
 
Going Serverless with Azure Functions
Christos Matskas
 
Azure Cloud Services
Guy Barrette
 
Azure functions
EducationTamil
 
Server rendering-talk
Daiwei Lu
 
Introduction presentation
Vladislav Hadzhiyski
 
ASP.NET MVC 4
Danijel Malik
 
Mvc razor and working with data
Vladislav Hadzhiyski
 
Single page App
Gaurav Gawande
 
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
CodeOps Technologies LLP
 
Web forms Overview Presentation
Vladislav Hadzhiyski
 
London .NET Developers Azure Websites
Tom Walker
 
Building rest services using aspnetwebapi
Brij Mishra
 
Why XAF and XPO?
Jose Javier Columbie
 
How to automate the SharePoint Provisioning
Knut Relbe-Moe [MVP, MCT]
 
Go Serverless with Java and Azure Functions
CodeOps Technologies LLP
 
How to ease the learning curve
Jose Javier Columbie
 
ASP.NET 5
David Voyles
 
A Simpler Web App Architecture (jDays 2016)
Gustaf Nilsson Kotte
 
Building Modern Web Applications with ASP.NET5
Brij Mishra
 

Viewers also liked (20)

PPTX
Deep-dive building solutions on the SharePoint Framework
Waldek Mastykarz
 
PPTX
Building productivity solutions with Microsoft Graph
Waldek Mastykarz
 
PPTX
Chris O'Brien - Introduction to the SharePoint Framework for developers
Chris O'Brien
 
PPTX
SharePoint Online
Nigel Price
 
PPTX
Azure Web Apps - Deep Dive
BizTalk360
 
PPTX
How to Break the Zombification of the Enterprise!
Christian Buckley
 
PPTX
Office add ins 0-60
Albert-Jan Schot
 
PPTX
SharePoint Framework do's and don'ts
Waldek Mastykarz
 
PPTX
Where Form Meets Function: Understanding Collaboration's Cultural Fit
Christian Buckley
 
PPTX
Microsoft graph api deep dive
Albert-Jan Schot
 
PPTX
SPSNL16 - Building Office 365 and SharePoint solutions using modern developer...
Waldek Mastykarz
 
PDF
Nuevas Tecnologías de Almacenamiento con 3 par
Omega Peripherals
 
PPTX
Deploying SharePoint Online: What You Need To Know
Haniel Croitoru
 
PDF
Quattro interventi per agevolare la crescita
Xerox Global
 
PPTX
Cami tics
12ca12
 
PDF
Britain 2013: The Trend (So Far)
Ipsos UK
 
PPTX
T h e g u i t a r - presentation
nenaw01kslt
 
DOC
Project Management Article Transport Magazine dual language rev6
Rene Cruz
 
PDF
ATBSS-PROFILE_2016 (1).PDF
ATBSS- All Time Business Setup Services
 
PDF
Live Webinar: Crash Course in Metrics & Analytics
LinkedIn
 
Deep-dive building solutions on the SharePoint Framework
Waldek Mastykarz
 
Building productivity solutions with Microsoft Graph
Waldek Mastykarz
 
Chris O'Brien - Introduction to the SharePoint Framework for developers
Chris O'Brien
 
SharePoint Online
Nigel Price
 
Azure Web Apps - Deep Dive
BizTalk360
 
How to Break the Zombification of the Enterprise!
Christian Buckley
 
Office add ins 0-60
Albert-Jan Schot
 
SharePoint Framework do's and don'ts
Waldek Mastykarz
 
Where Form Meets Function: Understanding Collaboration's Cultural Fit
Christian Buckley
 
Microsoft graph api deep dive
Albert-Jan Schot
 
SPSNL16 - Building Office 365 and SharePoint solutions using modern developer...
Waldek Mastykarz
 
Nuevas Tecnologías de Almacenamiento con 3 par
Omega Peripherals
 
Deploying SharePoint Online: What You Need To Know
Haniel Croitoru
 
Quattro interventi per agevolare la crescita
Xerox Global
 
Cami tics
12ca12
 
Britain 2013: The Trend (So Far)
Ipsos UK
 
T h e g u i t a r - presentation
nenaw01kslt
 
Project Management Article Transport Magazine dual language rev6
Rene Cruz
 
ATBSS-PROFILE_2016 (1).PDF
ATBSS- All Time Business Setup Services
 
Live Webinar: Crash Course in Metrics & Analytics
LinkedIn
 
Ad

Similar to Building solutions with the SharePoint Framework - deep-dive (20)

PPTX
European SharePoint Conference 2017 - SharePoint Framework, Angular & Azure F...
Sébastien Levert
 
PPTX
SharePoint Framework tips and tricks
Giuseppe Marchi
 
PPTX
Deep dive into share point framework webparts
Prabhu Nehru
 
PPTX
SharePoint Saturday Lisbon 2017 - SharePoint Framework, Angular & Azure Funct...
Sébastien Levert
 
PPTX
[Patel] SPFx: An ISV Insight into latest Microsoft's customization model
European Collaboration Summit
 
PPTX
SharePoint Framework, Angular and Azure Functions
Sébastien Levert
 
PDF
Spunite17 Converting your CEWP Customisations
NCCOMMS
 
PPTX
Learn from my Mistakes - Building Better Solutions in SPFx
Thomas Daly
 
PPTX
SharePoint Framework at a glance
Haaron Gonzalez
 
PPTX
SharePoint Fest Seattle - SharePoint Framework, Angular & Azure Functions
Sébastien Levert
 
PPTX
Angular vs React: Building modern SharePoint interfaces with SPFx
Dimcho Tsanov
 
PDF
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
Bill Ayers
 
PDF
D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...
SPS Paris
 
PPTX
German introduction to sp framework
Bob German
 
PPTX
SharePoint Saturday Twin Cities - SharePoint Framework, Angular & Azure Funct...
Sébastien Levert
 
PPTX
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
Brian Culver
 
PDF
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
PPTX
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...
Anupam Ranku
 
PPTX
SharePoint Saturday New York 2017 - SharePoint Framework, Angular and Azure F...
Sébastien Levert
 
PPTX
SharePoint Saturday Vancouver - SharePoint Framework, Angular and Azure Funct...
Sébastien Levert
 
European SharePoint Conference 2017 - SharePoint Framework, Angular & Azure F...
Sébastien Levert
 
SharePoint Framework tips and tricks
Giuseppe Marchi
 
Deep dive into share point framework webparts
Prabhu Nehru
 
SharePoint Saturday Lisbon 2017 - SharePoint Framework, Angular & Azure Funct...
Sébastien Levert
 
[Patel] SPFx: An ISV Insight into latest Microsoft's customization model
European Collaboration Summit
 
SharePoint Framework, Angular and Azure Functions
Sébastien Levert
 
Spunite17 Converting your CEWP Customisations
NCCOMMS
 
Learn from my Mistakes - Building Better Solutions in SPFx
Thomas Daly
 
SharePoint Framework at a glance
Haaron Gonzalez
 
SharePoint Fest Seattle - SharePoint Framework, Angular & Azure Functions
Sébastien Levert
 
Angular vs React: Building modern SharePoint interfaces with SPFx
Dimcho Tsanov
 
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
Bill Ayers
 
D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...
SPS Paris
 
German introduction to sp framework
Bob German
 
SharePoint Saturday Twin Cities - SharePoint Framework, Angular & Azure Funct...
Sébastien Levert
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
Brian Culver
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...
Anupam Ranku
 
SharePoint Saturday New York 2017 - SharePoint Framework, Angular and Azure F...
Sébastien Levert
 
SharePoint Saturday Vancouver - SharePoint Framework, Angular and Azure Funct...
Sébastien Levert
 
Ad

More from Waldek Mastykarz (17)

PPTX
Building Office 365 solutions with React
Waldek Mastykarz
 
PPTX
Building contextual experiences with the Office Graph
Waldek Mastykarz
 
PPTX
NextGen Portal for Your Organization
Waldek Mastykarz
 
PPTX
NextGen Portal for Your Organization
Waldek Mastykarz
 
PPTX
Building solutions with the Office Graph (Unity Connect Amsterdam 2015)
Waldek Mastykarz
 
PPTX
Building contextual experiences with the Office Graph (SPSMUC 15)
Waldek Mastykarz
 
PPTX
Building solutions with the Office Graph
Waldek Mastykarz
 
PPTX
Optimizing SharePoint 2013 public-facing websites for Internet search engines
Waldek Mastykarz
 
PPTX
Building rich search experiences Apps for SharePoint
Waldek Mastykarz
 
PPTX
Building solutions with Office Graph
Waldek Mastykarz
 
PDF
Building solutions with Office Graph - SharePoint Connect 2014 Amsterdam
Waldek Mastykarz
 
PPTX
SharePoint Connections Amsterdam 2013: Real-life building public-facing websi...
Waldek Mastykarz
 
PPTX
SPSNL13 - Building intelligent websites with SharePoint 2013
Waldek Mastykarz
 
PPT
P&M307 Building intelligent websites with SharePoint 2013
Waldek Mastykarz
 
PPT
P&M302 Real-life building public-facing websites with SharePoint 2013
Waldek Mastykarz
 
PDF
BIWUG - What’s new in SharePoint 2013 for public-facing websites
Waldek Mastykarz
 
PPTX
SharePoint 2010 Web Content Management - The Developer Story
Waldek Mastykarz
 
Building Office 365 solutions with React
Waldek Mastykarz
 
Building contextual experiences with the Office Graph
Waldek Mastykarz
 
NextGen Portal for Your Organization
Waldek Mastykarz
 
NextGen Portal for Your Organization
Waldek Mastykarz
 
Building solutions with the Office Graph (Unity Connect Amsterdam 2015)
Waldek Mastykarz
 
Building contextual experiences with the Office Graph (SPSMUC 15)
Waldek Mastykarz
 
Building solutions with the Office Graph
Waldek Mastykarz
 
Optimizing SharePoint 2013 public-facing websites for Internet search engines
Waldek Mastykarz
 
Building rich search experiences Apps for SharePoint
Waldek Mastykarz
 
Building solutions with Office Graph
Waldek Mastykarz
 
Building solutions with Office Graph - SharePoint Connect 2014 Amsterdam
Waldek Mastykarz
 
SharePoint Connections Amsterdam 2013: Real-life building public-facing websi...
Waldek Mastykarz
 
SPSNL13 - Building intelligent websites with SharePoint 2013
Waldek Mastykarz
 
P&M307 Building intelligent websites with SharePoint 2013
Waldek Mastykarz
 
P&M302 Real-life building public-facing websites with SharePoint 2013
Waldek Mastykarz
 
BIWUG - What’s new in SharePoint 2013 for public-facing websites
Waldek Mastykarz
 
SharePoint 2010 Web Content Management - The Developer Story
Waldek Mastykarz
 

Recently uploaded (20)

PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PPTX
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
PPTX
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
PPTX
Practical Applications of AI in Local Government
OnBoard
 
PDF
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
PPTX
Wondershare Filmora Crack Free Download 2025
josanj305
 
PDF
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
PDF
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
PDF
“A Re-imagination of Embedded Vision System Design,” a Presentation from Imag...
Edge AI and Vision Alliance
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
PPTX
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
Practical Applications of AI in Local Government
OnBoard
 
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
Wondershare Filmora Crack Free Download 2025
josanj305
 
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
“A Re-imagination of Embedded Vision System Design,” a Presentation from Imag...
Edge AI and Vision Alliance
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 

Building solutions with the SharePoint Framework - deep-dive

  • 2. Thanks to our sponsors Platinum Gold Silver SharePint
  • 4. Don’t bundle frameworks. Load from URL instead config/config.json { externals: { "angular": { "path": "https://cdn.com/…/angular.min.js", "globalName": "angular" } } }
  • 5. Different way to reference the framework based on its format • Module format (AMD, UMD, etc.) • URL only • Non-module format • URL + globalName • optional globalDependencies
  • 7. Known where you’re running • Get from this.context.environment.type • Possible values: • EnvironmentType.Test – tests context • EnvironmentType.Local – SharePoint workbench • EnvironmentType.SharePoint – Modern SharePoint page • EnvironmentType.ClassicSharePoint – Classic SharePoint page
  • 8. Validate web part properties values • Synchronous • Valid value: return empty string • Invalid value: return error message • Asynchronous (using Promises) • Valid value: resolve promise with empty string • Invalid value: resolve promise with the error message • Do not reject the promise!
  • 9. Pre-configure web part for easy use • Configuration set provided through preconfiguredEntries • Different title, description and web part properties value
  • 10. Consider search • Use the searchablePropertyNames property to expose web part configuration to SharePoint search
  • 12. Web part configuration • Standard through web part property pane • Easy to implement • Familiar to users • Custom through the web part surface • More complex to implement • Gives developers more freedom
  • 14. Analyze SharePoint Framework projects with SPCAF • Catch errors and fix easily using the provided guidance • For developers • Code analysis • Best practices • For administrators • Solution inventory • Security assessment • Available soon (visit spcaf.com for more information)