Open
Description
Category
- Feature request
Describe the feature
Flexible sections seem unsupported when using PnPCore in modern pages. Changing only the page title in a page with flexible sections disrupts the page structure.
I'm developing a custom translation solution for modern pages, which works well with regular pages. However, it fails with pages that have flexible sections.
My technical approach involves locating the text web parts in the page and translating them to the respective language. On pages with flexible sections, changing just the page title disrupts the page structure.
Describe the solution you'd like
Could you please let me know if the flexible sections are supported or can be controlled, and if there are any tips or tricks I should be aware of?
Additional context
var page = pages.First();
if (page != null)
{
page.PageTitle = PageControls.PageTitle;
await page.SaveAsync();
await page.PublishAsync();
}