From 4626d9c669c54c8b0bad4a167f9a072e752c81b6 Mon Sep 17 00:00:00 2001 From: Christian Zuellig Date: Mon, 28 Oct 2024 09:47:57 +0100 Subject: [PATCH] Modern Page Title in OneColumnFullWithSection also allowed in TEAMCHANNEL Sites --- src/sdk/PnP.Core/Model/SharePoint/Pages/Internal/Page.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sdk/PnP.Core/Model/SharePoint/Pages/Internal/Page.cs b/src/sdk/PnP.Core/Model/SharePoint/Pages/Internal/Page.cs index 534a8a5a2d..8cf25f1eb7 100644 --- a/src/sdk/PnP.Core/Model/SharePoint/Pages/Internal/Page.cs +++ b/src/sdk/PnP.Core/Model/SharePoint/Pages/Internal/Page.cs @@ -2084,6 +2084,7 @@ private async Task ValidateOneColumnFullWidthSectionUsageAsync() // we allow enabling communication site features on STS and EHS sites, so don't block adding full width sections on those sites !PnPContext.Web.WebTemplate.Equals("STS", StringComparison.InvariantCultureIgnoreCase) && !PnPContext.Web.WebTemplate.Equals("GROUP", StringComparison.InvariantCultureIgnoreCase) && + !PnPContext.Web.WebTemplate.Equals("TEAMCHANNEL", StringComparison.InvariantCultureIgnoreCase) && !PnPContext.Web.WebTemplate.Equals("EHS", StringComparison.InvariantCultureIgnoreCase) && // SharePoint Syntex Content Center sites can also have full width sections !PnPContext.Web.WebTemplate.Equals("CONTENTCTR", StringComparison.InvariantCultureIgnoreCase))