Online Training On SharePoint
                      

Saturday 3 March 2012

Identifying the Site Template for a SharePoint Site

I was doing a migration project where we need to analyse a quite a few sites and we did not have much information. We need to find the type of template which was used to create the SharePoint site. One of the easiest way which I could find which does not involve any code is looking the source code of the site.

Once we open the source code then we need to search the parameter g_wsaSiteTemplateId. SharePoint stores the site template name in this variable:

This template name is the internal name of the Template. There is a mapping between this internal name and the name shown on the UI while creating Site Collection. There is a comprehensive list of all the SharePoint site templates available @ Site Templates in SharePoint 2010

No comments:

Related Posts with Thumbnails