pnp/PnP

Apply-PnPProvisioningTemplate to create document library using .spt doc_library template

GPintonova opened this issue · 0 comments

Category

[ ] Bug
[X] Enhancement

Environment#

[X] Office 365 / SharePoint Online
[ ] SharePoint 2016
[ ] SharePoint 2013

Hi team,
We are currently doing a manual association of the global "Approval- Sharepoint 2010" workflow to some of our document libraries everytime a new site is created. We are trying to automate this task using Apply-PnPProvisioningTemplate. Kindly advice what is the best way to do so?

One solution I could think of is creating a document library template in the topsite and manually associated the global workflows to the same. Wanted to know which xml element can be used to associate this template to all the future document libraries.

Any help will be much appreciated? I look forward to hear from you.

Regards,
Gren