Skip to content

Conversation

@czullu
Copy link
Contributor

@czullu czullu commented Sep 26, 2025

The Issue with provisioning Empty sections from here pnp/pnpcore#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

@PedroMordeP
Copy link
Contributor

PedroMordeP commented Sep 30, 2025

I reverted "my fix" and got your code and it's working, the page opens in edit mode without the issue I reported.

Thank you @czullu very much for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants