Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit 2c859e8

Browse files
committed
Merge pull request #299 from OfficeDev/dev
April 2016 Intermediate Release
2 parents 13f20ed + 8b63b5e commit 2c859e8

7 files changed

+9
-6
lines changed

Binaries/PnPPowerShellCommands15.msi

0 Bytes
Binary file not shown.

Binaries/PnPPowerShellCommands16.msi

0 Bytes
Binary file not shown.

Commands/Branding/GetProvisioningTemplate.cs

+6-3
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public class GetProvisioningTemplate : SPOWebCmdlet
9292
public Handlers ExcludeHandlers;
9393

9494
[Parameter(Mandatory = false, HelpMessage = "Allows you to specify ExtensbilityHandlers to execute while extracting a template")]
95-
public ExtensibilityHandler[] ExtensbilityHandlers;
95+
public ExtensibilityHandler[] ExtensibilityHandlers;
9696

9797
[Parameter(Mandatory = false, HelpMessage = "Overwrites the output file if it exists.")]
9898
public SwitchParameter Force;
@@ -104,7 +104,7 @@ public class GetProvisioningTemplate : SPOWebCmdlet
104104
[Parameter(Mandatory = false)]
105105
public System.Text.Encoding Encoding = System.Text.Encoding.Unicode;
106106

107-
107+
108108

109109
protected override void ExecuteCmdlet()
110110
{
@@ -164,7 +164,10 @@ private string GetProvisioningTemplateXML(XMLPnPSchemaVersion schema, string pat
164164
creationInformation.PersistPublishingFiles = PersistPublishingFiles;
165165
creationInformation.IncludeNativePublishingFiles = IncludeNativePublishingFiles;
166166
creationInformation.IncludeSiteGroups = IncludeSiteGroups;
167-
creationInformation.ExtensibilityHandlers = ExtensbilityHandlers.ToList<ExtensibilityHandler>();
167+
if (ExtensibilityHandlers != null)
168+
{
169+
creationInformation.ExtensibilityHandlers = ExtensibilityHandlers.ToList<ExtensibilityHandler>();
170+
}
168171
creationInformation.FileConnector = new FileSystemConnector(path, "");
169172

170173
#pragma warning disable CS0618 // Type or member is obsolete
Binary file not shown.
Binary file not shown.

Documentation/GetSPOProvisioningTemplate.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Generates a provisioning template from a web
33
##Syntax
44
```powershell
5-
Get-SPOProvisioningTemplate [-IncludeAllTermGroups [<SwitchParameter>]] [-IncludeSiteCollectionTermGroup [<SwitchParameter>]] [-IncludeSiteGroups [<SwitchParameter>]] [-PersistBrandingFiles [<SwitchParameter>]] [-PersistPublishingFiles [<SwitchParameter>]] [-IncludeNativePublishingFiles [<SwitchParameter>]] [-Handlers <Handlers>] [-ExcludeHandlers <Handlers>] [-ExtensbilityHandlers <ExtensibilityHandler[]>] [-Force [<SwitchParameter>]] [-Encoding <Encoding>] [-Web <WebPipeBind>] [-Out <String>] [-Schema <XMLPnPSchemaVersion>]
5+
Get-SPOProvisioningTemplate [-IncludeAllTermGroups [<SwitchParameter>]] [-IncludeSiteCollectionTermGroup [<SwitchParameter>]] [-IncludeSiteGroups [<SwitchParameter>]] [-PersistBrandingFiles [<SwitchParameter>]] [-PersistPublishingFiles [<SwitchParameter>]] [-IncludeNativePublishingFiles [<SwitchParameter>]] [-Handlers <Handlers>] [-ExcludeHandlers <Handlers>] [-ExtensibilityHandlers <ExtensibilityHandler[]>] [-Force [<SwitchParameter>]] [-Encoding <Encoding>] [-Web <WebPipeBind>] [-Out <String>] [-Schema <XMLPnPSchemaVersion>]
66
```
77

88

@@ -11,7 +11,7 @@ Parameter|Type|Required|Description
1111
---------|----|--------|-----------
1212
|Encoding|Encoding|False||
1313
|ExcludeHandlers|Handlers|False|Allows you to run all handlers, excluding the ones specified.|
14-
|ExtensbilityHandlers|ExtensibilityHandler[]|False|Allows you to specify ExtensbilityHandlers to execute while extracting a template|
14+
|ExtensibilityHandlers|ExtensibilityHandler[]|False|Allows you to specify ExtensbilityHandlers to execute while extracting a template|
1515
|Force|SwitchParameter|False|Overwrites the output file if it exists.|
1616
|Handlers|Handlers|False|Allows you to only process a specific type of artifact in the site. Notice that this might result in a non-working template, as some of the handlers require other artifacts in place if they are not part of what your extracting.|
1717
|IncludeAllTermGroups|SwitchParameter|False|If specified, all term groups will be included. Overrides IncludeSiteCollectionTermGroup.|

Setup/Product.wxs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Product Id="*"
1717
Name="$(var.ProductName)"
1818
Language="1033"
19-
Version="2.3.1604.0"
19+
Version="2.3.1604.1"
2020
Manufacturer="OfficeDev PnP"
2121
UpgradeCode="630fe2af-dc42-467d-94c8-6eefd065cbfa">
2222

0 commit comments

Comments
 (0)