spsnl17 - be more effective with the pnp provisioning engine - erwin van hunen

24

Upload: diwug

Post on 22-Jan-2018

148 views

Category:

Software


3 download

TRANSCRIPT

Page 1: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
Page 2: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
Page 3: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen

Erwin van HunenProduct Owner Transformation Tooling

MVP Office Servers and Services

Microsoft Certified Master

[email protected]

www.spcaf.com/blog

@erwinvanhunen

Page 4: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
Page 5: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
Page 6: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
Page 7: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen

Get-PnPProvisioningTemplate

Apply-PnPProvisioningTemplate

Get-PnPProvisioningTemplateFromGallery

Add-PnPFileToProvisioningTemplate

Convert-PnPFolderToProvisioningTemplate

Load-PnPProvisioningTemplate

New-PnPProvisioningTemplate

New-PnPProvisioningTemplateFromFolder

Remove-PnPFileFromProvisioningTemplate

Save-PnPProvisioningTemplate

Set-PnPProvisioningTemplateMetadata

Page 8: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen

3,000,000,000 PnP Core Requests Per

Month

600,000,000 PnP PowerShell Requests

Per Month

Page 9: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
Page 10: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
Page 11: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen

Model

•Abstraction

layer for object

handlers and

providers

Object

handlers

•The ‘workers’

that take care

of extraction

and

provisioning of

artifacts of a

certain type

Providers

•The layer that

provides

functionality

for serialization

and

deserialization

Schema

•The schema

makes sure

we’re all doing

it right

Page 12: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen

// Get Template from existing site

// Save template using provider

// Apply template to new site

1

23

4

Page 13: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
Page 14: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen

#

Extract all

artifacts

Compare with

base template

contents

Remove

duplicate data

from template

Load all artifacts

from template

Compare with

artifacts in site

If present, modify

in place where

appropriate

Page 15: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
Page 16: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
Page 17: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen

#

Page 18: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen

#

Page 19: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen

<?xml version="1.0"?><pnp:Provisioning xmlns:pnp="…">

<pnp:Preferences Generator="…" /><pnp:Localizations>

</pnp:Localizations><pnp:Templates ID="CONTAINER-TEMPLATE-8C075A44E60F4E82B8F013637DB1E654">

#

Page 20: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen

<pnp:Templates ID="…">

<pnp:ProvisioningTemplate ID="…" Version="1">

<pnp:Lists>

<pnp:ListInstance Title="Description="Use the Contacts list …" DocumentTemplate="" OnQuickLaunch="true" TemplateType="105" Url="Lists/contacts" MinorVersionLimit="0" MaxVersionLimit="0" DraftVersionVisibility="0" TemplateFeatureID="00bfea71-7e6d-4186-9ba8-c047ac750105" EnableFolderCreation="false">

<pnp:Views>

#

Page 21: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen

#

Page 22: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
Page 23: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen

Thanks for attending

Page 24: SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen