Forum Discussion
Danny Foncke
Feb 16, 2017Copper Contributor
PnP Provisioning Engine template support for publishing pages ?
Is there any news on the support for publishing pages by the pnp provisioning engine. if this functionality is not for the near future, any suggestions on how best to complement the provisioning (...
BrianPMcCullough00
Copper Contributor
Is there a way to get web parts in zones on the pages as well? I didn't think this was supported yet.
paulpascha
Feb 22, 2017Bronze Contributor
In my experience adding WebParts to Publishing Pages works just fine by including a definition like below in your pnp:File
<pnp:WebParts> <pnp:WebPart Order="0" Title="Your WebPart Title" Zone="Center"> <pnp:Contents> <!-- your exported WebPart XML --> </pnp:Contents> </pnp:WebPart> </pnp:WebParts>