We have used PNP Provisioning framework to deploy Custom Pages. I am facing below issues:

  1. Even if the Overwrite="false" I can see that the page is modified and in some pages the some webparts are duplicated.
  2. I have to delete this page before deploying which is not a good solution.


<pnp:File Src="Deployables\Pages\MyPreferences.aspx" Folder="{site}/Pages" Overwrite="false">
        <pnp:WebPart Title="DocumentFilter" Zone="x8a9421e7bff04b82be6e3ec1ae95be48" Order="0">

    <WebPart ....>


If you have Page Layout that includes predefined Web Parts in the Web Part zones, these web parts will be added whenever the Page Layout is applied, please check this is not the case in your situation.

  • Page layout don't have predefined Webparts only Zone defined there – pradipta nayak Feb 16 '17 at 11:51
  • is there no solution to it ? is it a PNP bug – pradipta nayak Feb 17 '17 at 10:50
  • Overwrite=false probably only relates to the file itself and not the web parts. Probably best to raise issue at PnP Git. – Jussi Palo Feb 27 '17 at 12:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.