SharePoint Practice Lead

Slides:



Advertisements
Similar presentations
Microsoft SharePoint 2010 technology for Developers
Advertisements

Visual Studio 2010 SharePoint Developer Tools. Developer Tools for SharePoint  Familiar VS Experience  Build, Debug, Deploy SharePoint projects  Visual.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Thierry Gasser TSP
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
ASP.NET vNEXT & development tools Marco De
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Office 365 Platform Flexible Tools Understand different provisioning options and their advantages and disadvantages…
SharePoint Online – Developing Solutions for the Cloud Chris Mayo Microsoft Corporation
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
Back to Basics A Tour of Microsoft SharePoint. Who am I? Kenny Duenke Lead Systems Analyst RGA
Both Dutch and Swedish nationality 20+ years of industry experience Living in Stockholm, Sweden MCSM, MCM, MVP, MCSE, MCSD, MCSA, MCPD, MCITP, MCTS PnP.
Modern Development Technologies in SharePoint SHAREPOINT SATURDAY OMAHA APRIL, 2016.
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Understanding and implementing the remote provision pattern in SharePoint.
Online Conference June 17 th and 18 th Modern SharePoint Development using Visual Studio Code.
Apps for the modern enterprise INTRODUCTION TO SHAREPOINT AS A DEVELOPMENT PLATFORM RON COURVILLE.
Virtual techdays INDIA │ November 2010 SharePoint 2010 – Your one stop shop for all portal requirements Saranya Sriram │ Developer Evangelist, Microsoft.
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.
How to be a SharePoint Developer
Build Client-side web parts for Microsoft SharePoint
SharePoint + CRM Saturday Zurich 2017
Branding Without MasterPages, the Future of UX in SharePoint Online
Get an Introduction to the SharePoint Framework
5/9/2018 9:30 AM BRK2215 Deliver better experiences with SharePoint Patterns and Practices Community Solutions Mike Ammerlaan Product Marketing Manager,
Understanding SharePoint Framework Extensions
What's new in the world of SharePoint development and deployment
About Bill Bill Baer (ˈbɛər)
SharePoint Development in the Enterprise (What's New, What's Coming)
SharePoint Provisioning Success with PnP PowerShell
Automate Custom Solutions Deployment on Office 365 and Azure
A Short Introduction to SharePoint Framework Development Model
Line of Business Solutions in SharePoint Online
Use Office UI Fabric React to Build Beauty with SharePoint
SPC Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Who Needs a Developer for Automated SharePoint Provisioning?
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:
Use Office UI Fabric React to Build Beauty with SharePoint
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
Working with the SharePoint Framework
PowerApps for SharePoint Users
SharePoint Framework Extensions
Advancing the SharePoint Developer Community (PnP)
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
Learn about PnP initiative and the new SharePoint Framework
Introduction to SharePoint Framework (SPFx)
Office 365 Development.
Working with different JavaScript frameworks and libraries
Getting started with SharePoint Framework
Introduction to SharePoint Framework
SharePoint User Group Zürich – 1 November 2016.
12/27/2018 4:59 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or.
The SharePoint framework
SharePoint 2019 Overview and Use SPFx Extensions
Office 365 Development.
Microsoft Connect /28/2019 2:20 AM
SPSVB Sponsors Platinum Gold Silver.
An introduction to the SharePoint Patterns and Patterns initiative
Explore PnP Partner Pack for IT pros, admins and architects
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

SharePoint Practice Lead Framework S t harePoin GETTING STARTED CHRIS KENT SharePoint Practice Lead

Agenda Mee-OW! Title Slide Agenda Me reading the agenda to you

GOALS

What it is | When to use it SharePoint Framework What it is | When to use it

SharePoint Framework EXTENSIONS Know the Types | Purpose

SharePoint Framework development Setup | Tooling | Quick Tips

Patterns And Practices Samples | Guidance

Chris Kent @theChrisKent theChrisKent.com #SPSCincy Can I possibly get my name on a single slide even more? Wow. theChrisKent.com Chris Kent #SPSCincy

dminc.com We work for them! Wow!

HUMAN NEEDS FOR FELLOW HUMANS Questions OTHER HUMAN NEEDS Slides will be Available on my website Survey You will need to be connected to the Internet Follow the Steps

Thank you to our Sponsors!

@SPSCincinnati #SPSCincy

Audience Participation! Your Role(s) IT Pro Management Developer Other Versions of SharePoint 2003 2007 2010 2013 2016 O365 None Experience with SPFx Huh? Heard of it Messed with it Made something in Production Extensions and More! SPFx Plans? Not Sure SP 2016

https://nodejs.org 1. Installing NodeJS LTS node -v . If already installed, check version with: node -v . If using a Mac, use homebrew to install and manage SPFx Build Pipeline does NOT support npm v5.x! Use npm v3 or v4 NodeJS LTS (v6.11.4) installs 3.x so just don’t update it Homebrew (Macs Only) http://brew.sh https://dev.office.com/sharepoint/docs/spfx/set-up-your-development-environment #SPSCincy

https://code.visualstudio.com 2. Installing VS Code Recommended Extensions Debugger for Chrome Import Cost VSCode Great Icons Instant Markdown You can also use Atom Visual Studio Webstorm Notepad Runs on Mac and Linux too https://dev.office.com/sharepoint/docs/spfx/set-up-your-development-environment 1. NodeJS LTS: nodejs.org

SharePoint Development A Brief History 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

SharePoint as a Platform Branding User Experience Business Intelligence APIs Processes Packaging & Deployment 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

SharePoint as a Platform 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

SharePoint as a Platform SP 2010 On-Premises Only Recent Excel Services Themes PowerPivot Alternate CSS Reporting Services CSOM & JSOM 2010 Workflows Web Services Declarative Sandbox PerformancePoint Server Side APIs OOTB Web Parts Event Receivers .NET Sandbox Custom Master Page InfoPath & SPD SSIS Full Trust Solutions 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

SharePoint as a Platform SP 2013 On-Premises Only Recent Power BI Excel Services PnP PowerShell PnP Provisioning Themes Client Side Rendering PowerPivot REST 2013 Workflows PnP Partner Pack Alternate CSS Reporting Services CSOM & JSOM 2010 Workflows Add-ins Custom Actions Composed Looks Web Services Remote Event Receivers Declarative Sandbox Add-in Parts PerformancePoint JS Injection Server Side APIs OOTB Web Parts Event Receivers .NET Sandbox Custom Master Page InfoPath & SPD SSIS Full Trust Solutions ASP.NET 4.5 Integration 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

SharePoint as a Platform SP2016 On-Premises Only Recent SPFx Power BI SPFx Client Side Solutions Excel Services PnP PowerShell PnP Provisioning Themes Client Side Rendering PowerPivot REST 2013 Workflows PnP Partner Pack Alternate CSS Reporting Services CSOM & JSOM 2010 Workflows Add-ins Custom Actions Composed Looks Web Services Remote Event Receivers Declarative Sandbox Add-in Parts PerformancePoint JS Injection Server Side APIs OOTB Web Parts Event Receivers .NET Sandbox Custom Master Page InfoPath & SPD SSIS Full Trust Solutions ASP.NET 4.5 Integration 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

SharePoint as a Platform Not Recommended On-Premises Only On-Prem Opts SPFx Power BI SPFx Client Side Solutions Excel Services PnP PowerShell PnP Provisioning Themes Client Side Rendering PowerPivot REST 2013 Workflows PnP Partner Pack Alternate CSS Reporting Services CSOM & JSOM 2010 Workflows Add-ins Custom Actions Composed Looks Web Services Remote Event Receivers Declarative Sandbox Add-in Parts PerformancePoint JS Injection Server Side APIs OOTB Web Parts Event Receivers .NET Sandbox Custom Master Page InfoPath & SPD SSIS Full Trust Solutions ASP.NET 4.5 Integration 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

SharePoint as a Platform On-Premises Only Recent Site Designs SPFx Power BI Microsoft Graph Microsoft Flow SPFx Client Side Solutions SPFx Extensions Power Apps Excel Services PnP PowerShell Webhooks PnP Provisioning Themes Client Side Rendering PowerPivot REST 2013 Workflows PnP Partner Pack Alternate CSS CSOM & JSOM 2010 Workflows Add-ins Custom Actions Composed Looks Web Services Remote Event Receivers Add-in Parts JS Injection OOTB Web Parts Custom Master Page InfoPath & SPD 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

SharePoint as a Platform Not Recommended On-Premises Only O365 Opts Site Designs SPFx Power BI Microsoft Graph Microsoft Flow SPFx Client Side Solutions SPFx Extensions Power Apps Excel Services PnP PowerShell Webhooks PnP Provisioning Themes Client Side Rendering* PowerPivot REST 2013 Workflows PnP Partner Pack Alternate CSS CSOM & JSOM 2010 Workflows Add-ins Custom Actions* Composed Looks Web Services Remote Event Receivers Add-in Parts JS Injection OOTB Web Parts Custom Master Page InfoPath & SPD *Classic Pages Only 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

Modern Pages Kiss your postbacks goodbye 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

Modern SharePoint Pages Better OOTB User Experience Built using SPFx Instant update experience Pages and Web Parts are responsive by design Supports existing add-ins (Apps) Office 365 Only 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

Modern Sites Modern Pages Modern Team Sites Communication Sites Associated with an O365 Group Communication Sites Modern Pages Add Webparts Sections & Columns Modern List Views Modern Admin Pages Site Contents 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

Demo Modern Pages Very briefly showed off a Communications Site and a Modern Team Site. Also showed how to add a webpart to a new page. 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

3. Installing Yeoman & Gulp From a Command Prompt use this command: npm install -g yo gulp . You can also use the VS Code Terminal (View > Terminal) http://yeoman.io http://gulpjs.com https://dev.office.com/sharepoint/docs/spfx/set-up-your-development-environment 1. NodeJS LTS: nodejs.org | 2. VS Code: code.visualstudio.com

The SharePoint Framework SPF + mysterious x = SPFx 3. From a Command Prompt: npm install -g yo gulp

LOB Systems and Cloud Services SharePoint Framework (SPFx) Modern client-side development Lightweight web and mobile Powers OOTB experiences Backward compatible* Supports open source tools and JavaScript web frameworks SharePoint Framework Microsoft Graph LOB Systems and Cloud Services 3. From a Command Prompt: npm install -g yo gulp

Client-side Web Parts They are still web parts! (Mostly) Built for the modern, JavaScript-driven web. Runs directly inside a SharePoint Page. (Even Classic pages) 3. From a Command Prompt: npm install -g yo gulp

~ ~ ~ SPFx Extensions Application Customizer Field Customizer Injects your code on every page Provides Placeholders for custom markup Top & Bottom – eventually more Field Customizer Customize the display of specific fields Only the list view is currently supported No form views ListView Command Set Extend command bar and/or context menu Run code against selected items Delegate Controls Or JavaScript Injection via Custom Action ~ Client Side Rendering for Fields (JS Link) ~ Custom Actions ~ 3. From a Command Prompt: npm install -g yo gulp

SPFx Extension Locations 3. From a Command Prompt: npm install -g yo gulp

3. From a Command Prompt: npm install -g yo gulp

4. Installing the SPFx Generator From a Command Prompt use this command: npm install -g @Microsoft/generator- sharepoint. You can also use the VS Code Terminal (View > Terminal) Same generator is used for O365 & SP2016 https://dev.office.com/sharepoint/docs/spfx/set-up-your-development-environment 3. From a Command Prompt: npm install -g yo gulp

Tool Comparison C# Traditional SPFx MSBuild Dev Server Templates IIS Express Project Templates MSBuild Traditional Dev Server Templates Packages Editor Language Build Tasks VS Code SPFx 4. From a Command Prompt: npm install -g @Microsoft/generator-sharepoint

Tool Comparison C# Traditional SPFx MSBuild Dev Server Templates IIS Express Project Templates MSBuild Traditional Dev Server Templates Packages Editor Language Build Tasks VS Code SPFx 4. From a Command Prompt: npm install -g @Microsoft/generator-sharepoint

SharePoint Workbench Developer tool to debug web parts Local development experience SharePoint Framework available offline Available in SharePoint Online/2016 as well Client-Side Web Parts Only 4. From a Command Prompt: npm install -g @Microsoft/generator-sharepoint

4. From a Command Prompt: npm install -g @Microsoft/generator-sharepoint

Development Environment Checklist NodeJS http://nodejs.org Visual Studio Code https://code.visualstudio.com Yeoman Gulp Microsoft Generator SharePoint npm install -g yo gulp npm install -g @Microsoft/generator-sharepoint

Creating your first WebPart Demo Creating your first WebPart Very briefly showed off a Communications Site and a Modern Team Site. Also showed how to add a webpart to a new page.

SharePoint Patterns & Practices (PnP) Documentation Guidance Tutorials Videos Samples Tools Reusable Components

What’s in PnP (Selective Highlights) PnP Core - https://github.com/SharePoint/PnP-Sites-Core PnP PowerShell - https://github.com/SharePoint/PnP-PowerShell PnP Remote Provisioning - https://github.com/SharePoint/PnP-Provisioning- Schema PnP JS-Core - https://github.com/SharePoint/PnP-JS-Core SharePoint Docs - https://github.com/SharePoint/sp-dev-docs SPFx Web Part Samples - https://github.com/SharePoint/sp-dev-fx-webparts SPFx Extension Samples - https://github.com/SharePoint/sp-dev-fx-extensions PnP Partner Pack - https://github.com/SharePoint/PnP-Partner-Pack PnP Tools - https://github.com/SharePoint/PnP-Tools

Staying Up to Date with PnP https://dev.office.com/pnp Join the calls (or watch on YouTube later) http://aka.ms/sppnp-videos Monthly Update call Bi Weekly Special Interest Groups JavaScript Core & PowerShell Read the Updates http://dev.office.com/blogs Visit the Tech Community http://aka.ms/sppnp-community

Thank you to our Sponsors!

SharePoint Practice Lead Framework S t harePoin GETTING STARTED CHRIS KENT SharePoint Practice Lead

md HelloCincy cd HelloCincy yo @Microsoft/sharepoint Solution Name: hello-cincy Baseline: SharePoint Online only (latest) Use the current folder Tenant Deployment: y Type: WebPart Web part name: HelloCincy Description: HelloCincy description Framework: No JavaScript framework

Look at that Local Workbench! gulp trust-dev-cert code . Behold VS Code! Return to Cmd gulp serve Look at that Local Workbench! Click the + button Choose HelloCincy Hover over the WP Click the Pencil Change the Description

Open HelloCincyWebPart.ts Scroll to line 5 Return to VS Code Expand src Open HelloCincyWebPart.ts Scroll to line 5 Add a comma and press enter Type PropertyPaneDropDown 3. Look at that sweet Import!

Scroll to line 14 Scroll to line 24 Press enter to add a new line Type background: string; Scroll to line 24 Replace themeDark with ${this.properties.background}

Scroll to line 55 Save the file Return to the browser Add a comma and press enter Type PropertyPaneDropDown(‘background’, { label: ‘Background’, options: [ {text:’Theme’, key:’themePrimary’}, {text:’Yellow’, key:’yellow’} ] }) Save the file Return to the browser

Open HelloCincyWebPart.manifest.json Scroll to line 23 Add a comma and press enter Type “background”: “themePrimary” Save the file