pnpframework icon indicating copy to clipboard operation
pnpframework copied to clipboard

Fix for Issue: https://github.com/pnp/pnpcore/pull/1688 when try to deploy empty sections from XML-Template

Open czullu opened this issue 4 months ago • 9 comments

The Issue with provisioning Empty sections from here https://github.com/pnp/pnpcore/pull/1688 is on translation from XML back to PnP.Core. The EmptySections have been translated to CustomWebPart but they should not be added to Page-Model as we add EmptySections if we try to save Sections without webParts.

Other Solution would have been to create NewEmptySection() Methode to Page.cs in PnP.Core and then add a EmptySection-CanvasControl to Page-Model.

@PedroMordeP I was able to correctly provision your XML-Template with default PnP.Core and this fix in PnP.Framework

czullu avatar Sep 26 '25 21:09 czullu