pnpframework
pnpframework copied to clipboard
Fix for Issue: https://github.com/pnp/pnpcore/pull/1688 when try to deploy empty sections from XML-Template
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