I expect the -ListsToExtract parameter of Get-PnPProvisioningTemplate to also accept root folder names (the one you see in the URL).
Why do I need this? When managing template sites for multiple languages the title and ID will be different across the sites or tenants but the root folder name might be the same. Having -ListsToExtract accept this root folder name makes things easier.
(This would also make the parameter compatible with the Get-PnPList cmdlet which already supports root folder names.)
Observed Behavior
Currently only title and ID are supported for the -ListsToExtract parameter.
Steps to Reproduce
Call Get-PnPProvisioningTemplate -Out "template.xml" -Handlers Lists -ListsToExtract "User Photos" on a list with root folder User Photos and localized title Benutzerfotos. It will fail. Only -ListsToExtract "Benutzerfotos" works.
Category
Environment
Expected or Desired Behavior
I expect the
-ListsToExtract
parameter ofGet-PnPProvisioningTemplate
to also accept root folder names (the one you see in the URL).Why do I need this? When managing template sites for multiple languages the title and ID will be different across the sites or tenants but the root folder name might be the same. Having
-ListsToExtract
accept this root folder name makes things easier.(This would also make the parameter compatible with the
Get-PnPList
cmdlet which already supports root folder names.)Observed Behavior
Currently only title and ID are supported for the
-ListsToExtract
parameter.Steps to Reproduce
Call
Get-PnPProvisioningTemplate -Out "template.xml" -Handlers Lists -ListsToExtract "User Photos"
on a list with root folder User Photos and localized title Benutzerfotos. It will fail. Only-ListsToExtract "Benutzerfotos"
works.