Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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 http://brulan.wordpress.com/2010/08/27/question-how-do-i-find-out-the-template-id-for-an-existing-sharepoint-site/

Any other way?

share|improve this question

2 Answers 2

up vote 1 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

Your Answer

 
discard

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.