Forum Discussion
Shaun Pitt
Mar 15, 2017Copper Contributor
PnP Provisioning of SP Apps or multiple files/directories
Hi there all, I'm fairly new to pnp so i have a lot to cover. Not in this discussion - but in general. I am very excited by it. This question is about pnp provisioning template. I just wanted...
Luis Mañez
Mar 15, 2017MVP
Hi,
This Directory node is working fine for me:
<pnp:Directory
Src=".\MyLocalStyleLibrary\images"
Folder="{site}/Style Library/MyProject/images"
Overwrite="true" Level="Published"></pnp:Directory>
The only difference is that I'm using the {site} token in the Folder.
Also, How are you applying the template? using PnP PowerShell command? or with custom C# code calling PnPCore library?