How to check which site template used by SharePoint online Office 365 site?

how to retrieve site template in sharepoint online

Here we will discuss how we can check which site template used by SharePoint online Office 365 site? In the Office 365 SharePoint Online admin center, we will not be able to know which template a site is using. Even if you are checking the site properties, it will display information like Title, website address, primary administrator, administrators, number of subsites. storage usage and quota etc like below:

retrieve site template sharepoint online
retrieve site template sharepoint online

Also, you can read:
How to connect to SharePoint online site using SharePoint Online Management Shell?

Steps to create a provider-hosted add-in in SharePoint Online and host in Microsoft Azure using Microsoft Azure Web Apps method

How to remove or hide Replace It button from file upload dialog box in SharePoint online?

We can get the site template used by the site from the browser itself.

Open the SharePoint site and then right-click anywhere in the page and then “view page source”.

Then in the view source page, search for “g_wsaSiteTemplateId”, you will be able to see like below:

var g_wsaSiteTemplateId = ‘STS#0’; (Team site)

It looks like below:

how to retrieve site template in sharepoint online
how to retrieve site template in sharepoint online

Similarly for publishing sites, it will appear like below:

sharepoint online office 365 how to retrieve site template
sharepoint online office 365 how to retrieve site template

Hope this will be helpful.


You May Also like the Following SharePoint Online Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →