In Blogs, Mavention Make

Mavention Make enables you to provision sites based on Make Templates and PnP Templates. This empowers you to use the full set of the PnP Provisioning engine beside the Make Templates.

The SharePoint PnP Provisioning framework is an opensource project and can be found on GitHub.

PnP Template Example

Template

A PnP template is best created in a XML Schema capable editor like Microsoft Visual Studio. In the provided zip-file with the Mavention Make software, you will find in the “Documentation” folder the file called “XMLSchemas_PNPEngine.zip”. Or you can download the XML Schema’s directly from GitHub site PnP Provisioning Schema. These XML Schema’s (XSDs) can be imported in i.e. Visual Studio to get code completion.

<pnp:Provisioning xmlns:pnp="http://schemas.dev.office.com/PnP/2016/05/ProvisioningSchema">
   <pnp:Preferences Generator="OfficeDevPnP.Core, Version=2.16.1706.0, Culture=neutral, PublicKeyToken=3751622786b357c2" />
   <pnp:Templates ID="CONTAINER-TEMPLATE-AEEACB63B4F94D98A33D42099B3E33E1">
      <pnp:ProvisioningTemplate ID="TEMPLATE-AEEACB63B4F94D98A33D42099B3E33E1" Version="1">
         <pnp:Properties>
            <pnp:Property Key="mvMakeBaseTemplate" Value="STS#0" />
         </pnp:Properties>
         <pnp:PropertyBagEntries>
            <pnp:PropertyBagEntry Key="WebTemplate" Value="PnPMinimum" Overwrite="false" />
            <pnp:PropertyBagEntry Key="WebTemplateVersion" Value="1.0.0.0" Overwrite="false" />
         </pnp:PropertyBagEntries>
      </pnp:ProvisioningTemplate>
   </pnp:Templates>
</pnp:Provisioning>

Parameters

{
   "d": {
      "parameters": [
      {
         "id": "url",
         "title": "Site URL",
         "inputType": "text",
         "required": true,
         "sampleValue": "https://tenant.sharepoint.com/sites/sitecollectie"
      },
      {
         "id": "Title",
         "title": "Title",
         "inputType": "text",
         "required": true,
         "sampleValue": "PnP Template site"
      },
      {
         "id": "Lcid",
         "title": "Language",
         "inputType": "text",
         "required": false,
         "sampleValue": "1043"
      },
      {
         "id": "TimeZoneId",
         "title": "TimeZoneId",
         "inputType": "text",
         "required": false,
         "sampleValue": "4"
      },
      {
         "id": "StorageMaximumLevel",
         "title": "StorageMaximumLevel",
         "inputType": "text",
         "required": false,
         "sampleValue": "1024"
      },
      {
         "id": "Owner",
         "title": "Owner",
         "inputType": "text",
         "required": false,
         "sampleValue": "site-owner@mavention.nl"
      }
   ]
   }
}

Configuration List

Mavention PnP configuration

Related articles

Vul je zoekopdracht in.