Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Getting started with the PnP Provisioning Engine
1. Getting started with the Office 365 Developer
Patterns and Practices Provisioning Engine
ERWIN VAN HUNEN, PRODUCT OWNER, RENCORE.COM
PAOLO PIALORSI, CEO, PIASYS.COM
3. Erwin van Hunen
• Project Owner
• Many certifications
• MCSM – Charter SharePoint
• MVP Office Servers and Services
• Office 365 Dev PnP Core Team Member
• Over 20 years of industry experience
• Speaker at main IT conferences
4. Paolo Pialorsi
• Project Manager, Consultant, Trainer
• About 50 Microsoft certification exams passed
• MCSM – Charter SharePoint
• MVP Office Servers and Services
• Office 365 Dev PnP Core Team Member
• Focused on SharePoint and Office 365 since
the beginning
• Author of many books about XML, SOAP,
.NET, LINQ, SharePoint, and Office 365
• Speaker at main IT conferences
15. // Get template from existing site
template = ctx.Web.GetProvisioningTemplate();
1
2
4
3
// Save template using XML provider
XMLFileSystemTemplateProvider provider =
new XMLFileSystemTemplateProvider(@"c:temp", "");
string templateName = "template.xml";
provider.SaveAs(template, templateName);
// Load the saved model again
ProvisioningTemplate p2 =
provider.GetTemplate(templateName);
// Apply template to existing site
ctxTarget.Web.ApplyProvisioningTemplate(template);