SharePoint PNP Template xml for Pages not overwriting the existing page webparts

%3CLINGO-SUB%20id%3D%22lingo-sub-1713152%22%20slang%3D%22en-US%22%3ESharePoint%20PNP%20Template%20xml%20for%20Pages%20not%20overwriting%20the%20existing%20page%20webparts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1713152%22%20slang%3D%22en-US%22%3E%3CP%3ESharePoint%20PNP%20Template%20xml%20for%20Pages%20not%20overwriting%20the%20existing%20page%20webparts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20using%20the%20SharePoint%20PNP%20template%20xml%20based%20deployment.%20In%20this%20we%20are%20trying%20to%20overwrite%20the%20existing%20page%20with%20new%20webpart%20but%20it%20not%20worked.%20I%20have%20tried%20adding%20the%20property%20of%26nbsp%3BOverwrite%3D%22true%22%20%26amp%3B%20Level%3D%22Published%22.%20The%20deployment%20status%20shows%20success%20but%20same%20old%20webpart%20is%20showing%20in%20the%20page%2C%20new%20webpart%20is%20not%20overwritten.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ecan%20any%20one%20suggest%20how%20to%20create%20a%20template%20xml%20for%20overwriting%20the%20existing%20page%20with%20new%20webparts%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1713152%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Pnp%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1713701%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20PNP%20Template%20xml%20for%20Pages%20not%20overwriting%20the%20existing%20page%20webparts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1713701%22%20slang%3D%22en-US%22%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EAre%20you%20using%20site%20design%20to%20trigger%20the%20flow%3F%20Azure%20storage%20queue%20-%26gt%3B%20Azure%20function%20-%26gt%3B%20PnP%20XML%20%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

SharePoint PNP Template xml for Pages not overwriting the existing page webparts.

 

We are using the SharePoint PNP template xml based deployment. In this we are trying to overwrite the existing page with new webpart but it not worked. I have tried adding the property of Overwrite="true" & Level="Published". The deployment status shows success but same old webpart is showing in the page, new webpart is not overwritten.

 

can any one suggest how to create a template xml for overwriting the existing page with new webparts?

3 Replies
Highlighted
Hello,

Are you using site design to trigger the flow? Azure storage queue -> Azure function -> PnP XML ?

Highlighted

@ArefHalmstrand  we are using exe files for running the deployed. It is PNP XML template based deployment

Highlighted
I am sure that I have done this in the past. I will try to come back to you as soon as I have had time to find my old solution.