Jul 07 2018 12:51 AM
In our recent intranet projects, we recommend users to go with main Intranet site using communication site template and we expect that to be the root site collection of the tenant. The issue is every tenant root site collection is a based on classic team site template and we will never be able to convert it to a communication site template. Apart from this big limitation, it gives other design challenges like missing global navigation, left nav etc.
One of the blog says about create a communication site, save the template as wsp. Delete the root site collection and recreate the site using the communication template that we saved earlier. Is this method is approved by Microsoft?
Ravi
Jul 07 2018 07:06 AM
Jul 07 2018 08:46 AM
Jul 07 2018 11:07 AM
Thank you Juan and Chris,
As of now, I will take the redirect option, so users land on the Comm site from root site collection.
Thanks!
Ravi
Sep 03 2018 09:53 PM
How do you make this redirect work. Can you provide a step-by-step approach?
Sep 03 2018 09:58 PM
Sep 03 2018 10:00 PM
Super simple...
On the root site collection add a classic page and add a script editor webpart. Paste the below code. Update the site URL.
=================================
<script>
var wikiInEditMode = document.forms[MSOWebPartPageFormName]._wikiPageMode.value;
if (wikiInEditMode == "Edit")
{
// wiki page is in edit mode
}
else
{
// wiki page is not in edit mode
location.href = 'NEW SITE URL';
}
</script>
===========================================
Ravi
Sep 03 2018 10:02 PM
Oct 11 2018 05:13 PM
Mar 25 2019 07:27 AM
Can we create Communication site with modern Ui, inside classic root site in SharePoint online?
Mar 26 2019 10:35 AM
@Ravi Chandra Where exactly is the code going please? Site Settings > Site contents > New page > Add web part "Code snippet" > paste in code? This is the more apparent place to create a new page; not sure if there is a different place to add maybe a classic page or if this type of page is alright.
Jun 04 2019 11:43 PM
Hello,
I have root site with template publishing and another 50 subsites (below) with teams template (modern or classic ) . If i want to change only the root site template to communication without affecting the rest of the sub-sites how to proceed ?
Thank you
Aug 20 2019 08:15 AM
Aug 23 2019 03:24 AM
There is a new method to achieve this supported by Microsoft, I've wrote a blog post explaining how to do it.
All you have to do is to execute the site swap comandlet available on the latest version of the SharePoint Online Management Shell.