Home

PnP Provisioning a renamed list on the same site.

Highlighted
Daniel Westerdale
Contributor

PnP Provisioning a renamed list on the same site.

Hi

 

 

I have noticed that certain lists on SharePoint Online can be saved as a template and appear in the List Gallery but cannot be added as an app.  In my case I want a provision an archive library. Done a bit of research and this was previously a problem with the missing "feature id" and "product version" which could be remedied with on-prem PS:

 

$web = Get-SPWeb <url of web> 
$web.ParserEnabled = $true 
$web.Update()

 

I normally get around this with a PnPProvisioning template  with the List Handler. The issue is I can't seem to be able provision the same library in the same destination site, even with hacking the provisioning template: names and paths.  Which leaves the many GUIDS in the source list.. Am I looking at using the OM in say console app.

  • Developer
  • PnP
Related Conversations
SPFx and SQL in Azure
Pieter Veenstra  in  SharePoint Developer  on
3 Replies
Enable modern site pages
Odd Arne Nohr  in  SharePoint  on
11 Replies