Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.
Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.

SPFx

VIDEO – Reduce SPFX Node Modules from 50,000 files to 1,000

Recently discovered an efficient centralized node package manager (PNPM) which leverages “symlinks” or symbolic linked folders to reduce disk storage duplication.  Recued from 50,200 to 1,000.  Demo video below.   Cheers!  

shades_smile

Code

Video

Cool Chart

image

References

VIDEO – Create SharePoint Framework (SPFx) “Hello World” Web Part

The video below demo shows how to create a new SPFx SharePoint Framework web part including Gulp, Visual Studio code, project folder tour, and TypeScript import references.

Great way to start developing for Modern pages (SharePoint Online and SharePoint 2016) running localhost on a developer workstation.  No need for a SharePoint virtual machine.  Cheers! 

shades_smile

Video

References

Reduce SPPKG WebParts Features with Powershell

The below steps will reduce a SPPKG to only select Features and WebParts we want to keep.  Every SPPKG file is actually a ZIP with XML manifest and subfolder for each WebPart and Feature.  Extracting the SPPKG as ZIP allows us to review the internal content, enumerate all Features, and then select ones to keep in a final compressed ZIP file (SPPKG file).

If you want to upload only a few WebParts from a SPPKG package to Office 365’s App Catalog then check out the video below.

Cheers!  

shades_smile

Video

Code

Screenshots

image
image
image

References

Office 365 – How to create a Developer Tenant

I wanted to get started with SharePoint Framework and learned that an Office 365 developer tenant is required.   

Below are the steps I followed with screenshots.  Hope that helps! 

shades_smile

 

  1. Register with your Microsoft account at https://profile.microsoft.com/RegSysProfileCenter/wizardnp.aspx?wizid=14b845d0-938c-45af-b061-f798fbb4d170&lcid=1033
  2. Choose a domain prefix (____.sharepoint.com)
  3. Choose an admin username and strong password
  4. Text message verification code
  5. Azure AD is only available for paid subscriptions
  6. Browse admin center and test functionality

 

image

 

image

 

image

 

image

 

image

 

image
image
image
image
image

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲