Rodrigo Silva SharePoint / Office 365 Developer & Technical Architect

Slides:



Advertisements
Similar presentations
This presentation describes how to save files so that they cannot be changed by any user. This technique is a simple way of giving access to documents,
Advertisements

© Tally Solutions Pvt. Ltd. All Rights Reserved 1 Cataloguing Sales Promotions in Shoper 9 HO August 2010.
MOSS 2007 Document Management Adam McCarthy 1 st April 2009.
* 1 Common Dialog Control. * 2 You want your user to set property or provide your application with some information easily? How do you do it? The Common.
Unveiling ProjectWise V8 XM Edition. ProjectWise V8 XM Edition An integrated system of collaboration servers that enable your AEC project teams, your.
APP-V 5.0 SP2 (MDOP 2013 R2) Presenter - Fred
Visual Studio 2010 SharePoint Developer Tools. Developer Tools for SharePoint  Familiar VS Experience  Build, Debug, Deploy SharePoint projects  Visual.
Maintaining and Updating Windows Server 2008
© Tally Solutions Pvt. Ltd. All Rights Reserved 1 Cataloguing Sales Promotions in Shoper 9 POS August 2010.
Creating a Console Application with Visual Studio
SPC220 Web Template FundamentalsCreating Web Templates Using Web Templates Web Templates and App Webs Wrap Up.
Open source administration software for education research administration Lin-Long Shyu System Analyst Kuali Coeus Technical Team Indiana University
Deploying and Managing Software by Using Group Policy.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Tutorial 11 Installing, Updating, and Configuring Software
Learning Alfresco Forms Service By Examples
Building Search Portals With SP2013 Search. 2 SharePoint 2013 Search  Introduction  Changes in the Architecture  Result Sources  Query Rules/Result.
Managing User Desktops with Group Policy
Module 6: Configuring User Environments Using Group Policy.
Slide 1.NET Development for Project 2003 Samples from the Project 2003 SDK Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation.
Dudok de Wit David.  Documents management in a deskless company  SharePoint Online as a solution  Redesigning the documentary organization  Interoperability.
Packaging for Voracity Solutions Control Panel David Turner.
Module 6: Deploying and Managing Software by Using Group Policy.
Separating the Interface from the Engine: Creating Custom Add-in Tasks for SAS Enterprise Guide ® Peter Eberhardt Fernwood Consulting Group Inc.
Package & Deploy. OBJECTIVES Package Deploy Way to package.
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
ADVANCED DOCUMENT LIBRARY TECHNIQUES Document Sets Document Library Templates Kerry Dirks MCP, MCSD Manager Consultant, Sogeti SharePoint Solution Architect.
Online Conference June 17 th and 18 th Modern SharePoint Development using Visual Studio Code.
Laserfiche Business Process Library: Jumpstart Business Process Automation Brandon Buccowich, Technical Marketing Engineer | Katie Fries, Presales Consultant.
© Tally Solutions Pvt. Ltd. All Rights Reserved SYNCHRONISATION USING IP ADDRESS IN Presentation by Mohammed Ateeq, Tally Solutions Pvt. Ltd. Chennai (May.
Ramping Up On The SharePoint Framework (SPFx)
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
From SharePoint to Office 365 Development
Build Client-side web parts for Microsoft SharePoint
SharePoint + CRM Saturday Zurich 2017
Understanding SharePoint Framework Extensions
What's new in the world of SharePoint development and deployment
Line of Business Solutions in SharePoint Online
Use Office UI Fabric React to Build Beauty with SharePoint
Use Office UI Fabric React to Build Beauty with SharePoint
SharePoint Bruger Gruppe (SPBG) SharePoint Framework Introduction
Creating and Deploying Your First SharePoint Framework Application
New Tricks for Old Dogs: The SharePoint Framework (SPFx)
Working with the SharePoint Framework
SharePoint Practice Lead
SPFx – A modern development tool for SharePoint
Introduction to SharePoint Framework (SPFx)
Understanding SharePoint Framework and Modern Development
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Creating and Deploying Your First SharePoint Framework Application
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Maven IIB9 Plug-in Version 9.0
Introduction to SharePoint Framework (SPFx)
Working with different JavaScript frameworks and libraries
Getting started with SharePoint Framework
Introduction to SharePoint Framework
Tips for SharePoint Framework development
Can I get a side of OneDrive for Business with my SharePoint?
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
Maven IIB9 Plug-in Version 9.0
Microsoft Connect /28/2019 2:20 AM
SharePoint Framework The SPSEvents site wouldn’t let me add the link to my presentation so I uploaded a PowerPoint with a link to my sway.
The use of plugins A plugin (or plug-in, or extension) is a component that adds a specific feature to the “standard” Handbook on IT Audit for Supreme Audit.
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

Build a killer starter template: Using yeoman to create your custom SPFx generator Rodrigo Silva SharePoint / Office 365 Developer & Technical Architect @Spinex Solutions Ltd.

Rodrigo Silva SharePoint Developer and Technical Architect @RodResendeSilva Rodrigo Resende Silva https://rodcoder.blogspot RodCoder

How many times did you find yourself copying the same code across solutions and performing the same manual actions?

Examples of repetitive tasks… Create data providers (Office graph, SharePoint, ...) Create interfaces (Document, People, ...) Implement utility methods Copy previously developed webparts across Extend gulp (sp sync, version sync, …)

Examples of repetitive tasks… Add tslint.json file to the project’s root folder Install PnP.js npm packages Install PnP React Controls npm packages Install PnP Property Controls npm packages

“There’s gotta be a better way! …Right?”

Writing your own generator: Generators are the building blocks of the Yeoman ecosystem. They're the plugins run by yo to generate files for end users. We can create and distribute our own generator to: Initialize the SPFx generator as parent generator using composability Prompting the user and gather the information to install optional components Modify configuration files in the project folder (config.json, gulpfile.js) Copy files to the project folder (models, services, utilities and webparts) Install additional NPM packages

Writing your own generator: Yeoman generators have a specific call order of functions defined. The run loop: initializing() – Your initialization methods prompting() – Where you prompt users for options configuring() – Saving configurations and configure the project writing() – Where you write the generator specific files install() – Where installations are run end() – Called last, cleanup, say good bye

Demo Create your first generator Move files into the templates folder Initialize SPFx generator Prompt user to install additional webparts Apply custom configuration Copy files into the project folder Install NPM packages

Resources Writing your own Yeoman generator http://yeoman.io/authoring/index.html Custom SPFx generator: Make Yarn your default package manager https://n8d.at/blog/custom-spfx-generator-make-yarn-your-default- package-manager/

Thank you! Questions? Rodrigo Silva @RodResendeSilva Rodrigo Resende Silva RodCoder Rodrigo Silva SharePoint / Office 365 Developer & Technical Architect @Spinex Solutions Ltd.