Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PnP: JS Core library & Provisioning engine

PnP: JS Core library & Provisioning engine

In this session you'll know more about PnP library. Key concentration is around the scenarios of how you can use PnPjs
library in SharePoint Framework solutions, what is provision engine and how it helps automate sites creation.
You'll see how you can simplifying the access of information in SharePoint sites using PnP JS. How using the PnP provisioning engine, you can model a site and can apply that template to as many target sites as you like.

Avatar for Andrii Karpov

Andrii Karpov

February 03, 2020
Tweet

Other Decks in Programming

Transcript

  1. PnP: JS Core library Install npm install @pnp/sp @pnp/graph --save

    Establish Context import { sp } from '@pnp/sp'; public async onInit(): Promise<void> { await super.onInit(); sp.setup({ spfxContext: this.context }); }
  2. PnP: JS Core library @pnp/sp • Alias Parameters • ALM

    api • Attachments • Client-side Pages • Comments and Likes • Content Types • Entity Merging • Features • Fields • Files • Folders • Forms • Hubsites • List Items • Lists • Navigation • Permissions • Profiles • Regional Settings • Related Items • Search • Security • Search • Sharing • Site Designs • Site Groups • Site Scripts • Site Users • Sites • Social • SP.Utilities.Utility • Subscriptions • Tenant Properties • User custom actions • Views • Webs
  3. PnP: JS Core library @pnp/graph Install the library and required

    dependencies npm install @pnp/logging @pnp/common @pnp/odata @pnp/graph --save import { graph } from '@pnp/graph'; public async onInit(): Promise<void> { await graph.onInit(); sp.setup({ spfxContext: this.context }); }
  4. PnP: JS Core library @pnp/graph • Contacts • Directory Objects

    • Invitations • Onedrive • Planner • Subscriptions • Teams • Users - add and edit both contacts and folders in a users Outlook - the ability invite an external user via the invitation manager - manage drives and drive items in Onedrive - add, update and delete items in Planner - allows a client app to receive notifications about changes to data in Microsoft Graph - add, update and delete items in Teams - Azure Active Directory objects representing users in the organizations