Using a site page to find out the web Template Name used in a SharePoint Site
- by ybbest
Today, I have created a SharePoint solution. It deploys a site page with code behind to show the web template name used in a SharePoint site. You can download the project from here. After you have deployed the project, you can see your template name from http://[site collection Name]/sitepage/WebTemplateInfo.aspx
References:
http://blogs.msdn.com/b/kaevans/archive/2010/06/28/creating-a-sharepoint-site-page-with-code-behind-using-visual-studio-2010.aspx
http://www.devexpertise.com/2009/02/06/sharepoint-list-template-ids-and-site-template-ids/
http://blog.rafelo.com/2008/05/determining-site-template-used-on.html