Forum Discussion
Mar 03, 2017
Welcome pages and lists and PnP
In one of my environment someone has set the welcome page of the site to:
https://tenant.sharepoint.com/clients/Lists/ClientList/AllItems.aspx
Is this a valid thing to do?
When I tried to export this site as a PnP template I got the following error:
Get-PnPProvisioningTemplate : Cannot invoke method or retrieve property from null object. Object returned by the following call stack is null. "ListItemAllFields " At D:\Temp\Powershell\GetPnPTemplateClients.ps1:9 char:1 + Get-PnPProvisioningTemplate -Web $sourceWeb -Out "d:\Temp\DMPowershel ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (:) [Get-PnPProvisioningTemplate], ServerException + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.GetProvisioningTemplate
Is this something PnP should handle?
I found the solution. I can exlude the Pages Contents from my template.
For more details see:
I found the solution. I can exlude the Pages Contents from my template.
For more details see: