首页 > 代码库 > SharePoint 2010/2013 如何查看现有网站是使用什么网站模板新建的

SharePoint 2010/2013 如何查看现有网站是使用什么网站模板新建的

本文讲述 SharePoint 2010/2013 如何查看现有网站是使用什么网站模板新建的。

相信很多做SharePoint 都有遇到这个问题,其实这个很简单:

打开现有网站,按F12调处IE调试器,在HTML 中搜索g_wsaSiteTemplateId:


如上图中,STS#0就是当前SharePoint 站点对应的网站模板ID, 如果HTML 中搜索不到g_wsaSiteTemplateId,可以尝试在JS控制台输入g_wsaSiteTemplateId并回车: 



SharePoint  2013 中自带的站点模板和 ID ( Get-SPWebTemplate)


Name(ID)TitleLocaleId
GLOBAL#0Global template1033
STS#0Team Site1033
STS#1Blank Site1033
STS#2Document Workspace1033
MPS#0Basic Meeting Workspace1033
MPS#1Blank Meeting Workspace1033
MPS#2Decision Meeting Workspace1033
MPS#3Social Meeting Workspace1033
MPS#4Multipage Meeting Workspace1033
CENTRALADMIN#0Central Admin Site1033
WIKI#0Wiki Site1033
BLOG#0Blog1033
SGS#0Group Work Site1033
TENANTADMIN#0Tenant Admin Site1033
APP#0App Template1033
APPCATALOG#0App Catalog Site1033
ACCSRV#0Access Services Site1033
ACCSVC#0Access Services Site Internal1033
ACCSVC#1Access Services Site1033
BDR#0Document Center1033
DEV#0Developer Site1033
DOCMARKETPLACESITE#0Academic Library1033
EDISC#0Discovery Center1033
EDISC#1Discovery Case1033
OFFILE#0(obsolete) Records Center1033
OFFILE#1Records Center1033
OSRV#0Shared Services Administration Site1033
PPSMASite#0PerformancePoint1033
BICenterSite#0Business Intelligence Center1033
SPS#0SharePoint Portal Server Site1033
SPSPERS#0SharePoint Portal Server Personal Space1033
SPSPERS#2Storage And Social SharePoint Portal ...1033
SPSPERS#3Storage Only SharePoint Portal Server…1033
SPSPERS#4Social Only SharePoint Portal Server …1033
SPSPERS#5Empty SharePoint Portal Server Person…1033
SPSMSITE#0Personalization Site1033
SPSTOC#0Contents area Template1033
SPSTOPIC#0Topic area template1033
SPSNEWS#0News Site1033
CMSPUBLISHING#0Publishing Site1033
BLANKINTERNET#0Publishing Site1033
BLANKINTERNET#1Press Releases Site1033
BLANKINTERNET#2Publishing Site with Workflow1033
SPSNHOME#0News Site1033
SPSSITES#0Site Directory1033
SPSCOMMU#0Community area template1033
SPSREPORTCENTER#0Report Center1033
SPSPORTAL#0Collaboration Portal1033
SRCHCEN#0Enterprise Search Center1033
PROFILES#0Profiles1033
BLANKINTERNETCONT...Publishing Portal1033
SPSMSITEHOST#0My Site Host1033
ENTERWIKI#0Enterprise Wiki1033
PROJECTSITE#0Project Site1033
PRODUCTCATALOG#0Product Catalog1033
COMMUNITY#0Community Site1033
COMMUNITYPORTAL#0Community Portal1033
SRCHCENTERLITE#0Basic Search Center1033
SRCHCENTERLITE#1Basic Search Center1033
visprus#0Visio Process Repository1033

SharePoint 2010/2013 如何查看现有网站是使用什么网站模板新建的