SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to find out the ID of a custom site template without using powershell? Using Sharepoint 2010 project in office 365 and I do not have access to the server.

Found a blog post claimining you should be able to find the template ID in by simply viewing source on a site created with that template, however I checked out the source of a teamsite and a blank site and didn't find any occurances of the string 'siteTemplateId' at all

Any other way?

share|improve this question
up vote 2 down vote accepted

It should work with right-click and view source.

Here is from a random team site I just tested on:

var g_wsaSiteTemplateId = 'STS#1';
share|improve this answer
Correct! I thought I had done this already and failed to finding anything...but I didn't actually view source, I searched the HTML with firebug. That's why I didn't find anything...when viewing source I notice that it's there... – Drkawashima Mar 29 '12 at 15:18
Note that on office 365 all custom site templates will be in Sandboxed solutions as WebTemplates which means that what you get is the OOTB template they was based on (or marked as based on) – Per Jakobsen Mar 29 '12 at 15:34

The SiteTemplateId shown above is the SiteTemplateId of the OOTB template used to create the site, this does not work for sites created via Custom templates. If you view the SiteTemplateId in the Custom template, you would still see the SiteTemplateId if the OOTB template not the Custom template.

share|improve this answer

You can. I still found no answer elsewhere in the Net, so: And it's a ugly road to go there, but I'll try to guide you:

  1. Goto Site Settings / Top Level Site Settings / Solutions
  2. Click on the solution's link and download the *.wsp file e.g. to a local drive
  3. Rename the file to *.cab (actually it's a compressed CAB Format)
  4. Uncompress with any software that handles this Format (e.g. 7zip)
  5. A Folder structure with several subdirectories is generated.
  6. Open sub folder WebTemplate
  7. Open file Feature.xml
  8. You shoud see like Title="Web Template feature of exported web template " Id**="{5003ced0-ddc8-41ba-82e7-4559638d41da}**"> Cheers, Matthias
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.