Introduction to SharePoint Framework

Slides:



Advertisements
Similar presentations
Getting Started with SharePoint 2013 Apps
Advertisements

Creating a SharePoint App with Microsoft Access Services
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Thierry Gasser TSP
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
Office 365: Attack of the Clones! Building reusable site templates with the Office 365 PnP Framework.
Ramping Up On The SharePoint Framework (SPFx)
From SharePoint to Office 365 Development
1/10/2018 9:33 PM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
Build Client-side web parts for Microsoft SharePoint
SharePoint + CRM Saturday Zurich 2017
Get an Introduction to the SharePoint Framework
Office Add-ins: Make your solution a native part of Office
Office 365 Developer Overview
Understanding SharePoint Framework Extensions
What's new in the world of SharePoint development and deployment
SharePoint Development in the Enterprise (What's New, What's Coming)
SharePoint Provisioning Success with PnP PowerShell
Building Custom Application With Office Add-Ins for OneNote
Microsoft Ignite /4/2018 8:46 AM
Automate Custom Solutions Deployment on Office 365 and Azure
Microsoft Ignite /17/2018 4:41 AM BRK4016
A Short Introduction to SharePoint Framework Development Model
Line of Business Solutions in SharePoint Online
BRK4031: Best practices from Microsoft for developing with SPFx
SPC Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Presented by Kenny Duenke and Patrick Witbrod
Upgrading from Full Trust Code to Add-in Model and SharePoint Framework Paolo Pialorsi Senior Consultant - PiaSys.com Track: DEV | Level:
8/2/2018 4:49 AM Understanding the SharePoint Framework and how it affects your JavaScript customizations Mark Rackley / Chief Strategy.
SharePoint Bruger Gruppe (SPBG) SharePoint Framework Introduction
Modern UI Extensions with the SharePoint Framework
Creating and Deploying Your First SharePoint Framework Application
New Tricks for Old Dogs: The SharePoint Framework (SPFx)
Modern UI Extensions with the SharePoint Framework
Azure API Management Jothi Prakash A
Working with the SharePoint Framework
SharePoint Framework Extensions
SharePoint Practice Lead
SharePoint Online Development Best Practices
Application Lifecycle Management – Best Practices for SharePoint and Office App development November 2015.
SPFx – A modern development tool for SharePoint
Introduction to SharePoint Framework (SPFx)
Understanding SharePoint Framework and Modern Development
The Future of SharePoint Development - Vision, Strategy, and Roadmap
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Creating and Deploying Your First SharePoint Framework Application
Office Add-ins Sudheer Maremanda Program Manager
Introduction to SharePoint Framework (SPFx)
SharePoint Framework (SPFx)
Working with different JavaScript frameworks and libraries
Getting started with SharePoint Framework
SharePoint User Group Zürich – 1 November 2016.
Tips for SharePoint Framework development
Rodrigo Silva SharePoint / Office 365 Developer & Technical Architect
All About Office UI Fabric
Site scripts and Site Design
The SharePoint framework
SharePoint 2019 Overview and Use SPFx Extensions
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Visual Studio 2010 SharePoint Development Tools Overview
Microsoft Ignite /17/2019 6:00 PM
Getting started with SharePoint Framework
Office 365 Development.
Microsoft Connect /28/2019 2:20 AM
SharePoint Development
Explore PnP Partner Pack for IT pros, admins and architects
Build /19/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Hello, Minnesota! This is the SPC18 recap.
Windows Forms in Visual Studio 2005: An in-depth look at key features
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

Introduction to SharePoint Framework 12/1/2018 11:35 PM Introduction to SharePoint Framework Gosia Borzecka © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Sponsors & Partners

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 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 SharePoint 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

Browser Visual Studio Code Debugging code Developer Console Chrome Debugger Extension

Property Pane PropertyPaneText PropertyPaneButton PropertyPaneCheckbox PropertyPaneChoiseGroup PropertyPaneDropdown PropertyPaneLabel PropertyPaneLink PropertyPaneSlider

Environment import { Environment, EnvironmentType } from '@microsoft/sp-core-library’; Values: EnvironmentType.Tests EnvironmentType.Local EnvironmentType.SharePoint EnvironmentType.ClassicSharePoint

Rest API common config-store graph logging nodejs odata pnpjs sp Provides shared functionality across all pnp libraries common Provides a way to manage configuration within your application config-store Provides a fluent api for working with Microsoft Graph graph Light-weight, subscribable logging framework logging Provides functionality enabling the @pnp libraries within nodejs nodejs Provides shared odata functionality and base classes odata Rollup library of core functionality (mimics sp-pnp-js) pnpjs Provides a fluent api for working with SharePoint REST sp Provides functionality for working within SharePoint add-ins sp-addinhelpers Provides based classes used to create a fluent api for working with SharePoint Managed Metadata sp-clientsvc Provides a fluent api for working with SharePoint Managed Metadata sp-taxonomy

Rest API https://pnp.github.io/pnpjs/sp/index.html 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://developer.microsoft.com/en-us/fabric Office 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

deploy-azure-storage.json Deploy to Azure CDN { "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/deploy-azure-storage.schema.json", "workingDir": "./temp/deploy/", "account": “accountName", "container": "azurehosted-webpart", "accessKey": “accessKey“ }

write-manifest.json Deploy to Azure CDN { "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/write-manifests.schema.json", "cdnBasePath": "https://XXX.azureedge.net/xxx/“ }

DEMO

Application Customizers 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={"a8047e2f-30d5-40fc-b880-b2890c7c16d6":{"location":"ClientSideExtension.ListViewCommandSet.CommandBar","properties":{"sampleTextOne":"One item is selected in the list.","sampleTextTwo":"This command is always visible."}}}

Update SPFx version Find outdated packages Update specific package 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

https://developer.microsoft.com/en-us/office/dev-program

Soon… Global deployment of SPFx Extensions SharePoint Framework Solution in MS Teams

Sharing is caring! Use hashtags: #Office365Dev #MicrosoftGraph #SPFx Log issues & questions on GitHub Repos

Thank you! #SPSWarsaw