Forum Discussion
Joseph Ackerman
Dec 01, 2017Iron Contributor
Get-PnPProvisioningTemplate and Communication Sites
I understand that the output of Get-PnPProvisioningTemplate is based on a delta between the site you are pointing it at and a default "plain-vanilla" site, but when I try to create a new XML template...
Dec 03, 2017
Joseph Ackerman maybe try to specify the content type groups that you want to export?
Check out example 12 from documentation.
Hope this helps
Joel
Anonymous
Dec 03, 2017By Default the latest versions only export what you added or changed.
- Joseph AckermanDec 04, 2017Iron Contributor
Deleted wrote:
By Default the latest versions only export what you added or changed.
Only when the base site template type is STS#0 (classic team site). When I go against a new ("modern") communication site, I get the delta between one of those and a classic team site. What I want is to get the delta between an unaltered communication site and a communication site where I have made changes. In order to do that, I need the PnP PowerShell cmdlet to know what base site template to compare against.
- BlueSkyOct 24, 2023Copper ContributorYears has past, did you in the meantime find a solution?