Thursday, August 19, 2010

How to find the template name of SharePoint site?

When you look into any SharePoint site which was created by someone, first question you get is, Which template they used to create the site? It is very difficult to tell by looking at the site.

I used following approaches to find template names/ids

Approach 1: Save the site as a template

  1. Go to Site template Gallery and download the save the template to your desktop
  2. Rename the template extension from .stp to .cab.
  3. Extract .cab file contents. (I normally use WINRAR)
  4. open the manifest.xml file.
  5. Search for TemplateID and Configuration.

 

ID 0 = Global, Configuration 0 = Global Template
ID 1 = STS or SharePoint Team Site, Config  0 = Team Site
ID 1, Config 1 = Blank Site
ID 1, Config 2 = Document Workspace
ID 2 = MPS, or Meeting Place Sites, Config 0 = Basic Meeting Workspace
ID 2, Config 1 = Blank Meeting Workspace
ID 2, Config 2 = Decision Meeting Workspace
ID 2, Config 3 = Social Meeting Workspace
ID 2, Config 4 = Multipage Meeting Workspace
ID 3 = Centraladmin, config 0 - Central Admin Site
ID 4 = WIKI, Config 0 = Wiki site
ID 5, Config 0 = Blog

Any ID over 10000 is custom.

If ID is 75800 range, it might be additional Microsoft applications and templates. You can Check here.

Approach 2: Using custom ASPX page

http://blog.rafelo.com/2008/05/determining-site-template-used-on.html

0 comments:

Post a Comment