Tuesday, September 25, 2012

Available Site Templates in SharePoint 2007 and 2010

Below is the list of OOB Site templates in 2007

Template ID = 0
  Desc: This template is used for initializing a new site.
  Title: Global template
  Name: GLOBAL#0
Template ID = 1
  Desc: A site for teams to quickly organize, author, and share information. It provides a document library, and lists for managing announcements, calendar items, tasks, and discussions.
  Title: Team Site
  Name: STS#0
Template ID = 1
  Desc: A blank site for you to customize based on your requirements.
  Title: Blank Site
  Name: STS#1
Template ID = 1
  Desc: A site for colleagues to work together on a document. It provides a document library for storing the primary document and supporting files, a tasks list for assigning to-do items, and a links list for resources related to the document.
  Title: Document Workspace
  Name: STS#2
Template ID = 2
  Desc: A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda, meeting attendees, and documents.
  Title: Basic Meeting Workspace
  Name: MPS#0
Template ID = 2
  Desc: A blank meeting site for you to customize based on your requirements.
  Title: Blank Meeting Workspace
  Name: MPS#1
Template ID = 2
  Desc: A site for meetings that track status or make decisions. It provides lists for creating tasks, storing documents, and recording decisions.
  Title: Decision Meeting Workspace
  Name: MPS#2
Template ID = 2
  Desc: A site to plan social occasions. It provides lists for tracking attendees, providing directions, and storing pictures of the event.
  Title: Social Meeting Workspace
  Name: MPS#3
Template ID = 2
  Desc: A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda and meeting attendees in addition to two blank pages for you to customize based on your requirements.
  Title: Multipage Meeting Workspace
  Name: MPS#4
Template ID = 3
  Desc: A site for central administration. It provides Web pages and links for application and operations management.
  Title: Central Admin Site
  Name: CENTRALADMIN#0
Template ID = 4
  Desc: A site for a community to brainstorm and share ideas. It provides Web pages that can be quickly edited to record information and then linked together through keywords
  Title: Wiki Site
  Name: WIKI#0
Template ID = 9
  Desc: A site for a person or team to post ideas, observations, and expertise that site visitors can comment on.
  Title: Blog
  Name: BLOG#0
Template ID = 7
  Desc: A site to centrally manage documents in your enterprise.
  Title: Document Center
  Name: BDR#0
Template ID = 14483
  Desc: This template creates a site designed for records management. Records managers can configure the routing table to direct incoming files to specific locations. The site prevents records from being modified after they are added to the repository.
  Title: Records Center
  Name: OFFILE#0
Template ID = 14483
  Desc: This template creates a site designed for records management. Records managers can configure the routing table to direct incoming files to specific locations. The site prevents records from being modified after they are added to the repository.
  Title: Records Center
  Name: OFFILE#1
Template ID = 40
  Desc: This template creates a site for administering shared services
  Title: Shared Services Administration Site
  Name: OSRV#0
Template ID = 20
  Desc: This template is obsolete.
  Title: SharePoint Portal Server Site
  Name: SPS#0
Template ID = 21
  Desc: This web template defines a Personal Space for an individual participating on a SharePoint Portal.
  Title: SharePoint Portal Server Personal Space
  Name: SPSPERS#0
Template ID = 22
  Desc: A site for delivering personalized views, data, and navigation from this site collection into My Site. It includes personalization specific Web Parts and navigation that is optimized for My Site sites.
  Title: Personalization Site
  Name: SPSMSITE#0
Template ID = 30
  Desc: This template is obsolete.
  Title: Contents area Template
  Name: SPSTOC#0
Template ID = 31
  Desc: This template is obsolete.
  Title: Topic area template
  Name: SPSTOPIC#0
Template ID = 32
  Desc: This template is obsolete.
  Title: News Site
  Name: SPSNEWS#0
Template ID = 39
  Desc: A blank site for expanding your Web site and quickly publishing Web pages. Contributors can work on draft versions of pages and publish them to make them visible to readers. The site includes  document and image libraries for storing Web publishing assets.
  Title: Publishing Site
  Name: CMSPUBLISHING#0
Template ID = 53
  Desc: This template creates a site for publishing Web pages on a schedule, with workflow features enabled.  By default, only Publishing subsites can be created under this site. A Document and Picture Library are included for storing Web publishing assets.
  Title: Publishing Site
  Name: BLANKINTERNET#0
Template ID = 53
  Desc: This template creates the Press Releases subsite for an Internet-facing corporate presence website.
  Title: Press Releases Site
  Name: BLANKINTERNET#1
Template ID = 53
  Desc: A site for publishing Web pages on a schedule by using approval workflows. It includes document and image libraries for storing Web publishing assets. By default, only sites with this template can be created under this site.
  Title: Publishing Site with Workflow
  Name: BLANKINTERNET#2
Template ID = 33
  Desc: A site for publishing news articles and links to news articles. It includes a sample news page and an archive for storing older news items.
  Title: News Site
  Name: SPSNHOME#0
Template ID = 34
  Desc: A site for listing and categorizing important sites in your organization. It includes different views for categorized sites, top sites, and a site map.
  Title: Site Directory
  Name: SPSSITES#0
Template ID = 36
  Desc: This template is obsolete.
  Title: Community area template
  Name: SPSCOMMU#0
Template ID = 38
  Desc: A site for creating, managing, and delivering Web pages, dashboards, and key performance indicators that communicate metrics, goals, and business intelligence information.
  Title: Report Center
  Name: SPSREPORTCENTER#0
Template ID = 47
  Desc: A starter site hierarchy for an intranet divisional portal. It includes a home page, a News site, a Site Directory, a Document Center, and a Search Center with Tabs. Typically, this site has nearly as many contributors as  readers and is used to host team sites.
  Title: Collaboration Portal
  Name: SPSPORTAL#0
Template ID = 50
  Desc: A site for delivering the search experience. The welcome page includes a search box with two tabs: one for general searches, and another for searches for information about people. You can add and customize tabs to focus on other search scopes or result types.
  Title: Search Center with Tabs
  Name: SRCHCEN#0
Template ID = 51
  Desc: This template creates a profile site that includes page layout with zones
  Title: Profiles
  Name: PROFILES#0
Template ID = 52
  Desc: A starter site hierarchy for an Internet-facing site or a large intranet portal. This site can be customized easily with distinctive branding. It includes a home page, a sample press releases subsite, a Search Center, and a login page. Typically, this site has many more readers than contributors, and it is used to publish Web pages with approval workflows.
  Title: Publishing Portal
  Name: BLANKINTERNETCONTAINER#0
Template ID = 54
  Desc: A site used for hosting personal sites (My Sites) and the public People Profile page. This template needs to be provisioned only once per Shared Service Provider, please consult the documentation for details.
  Title: My Site Host
  Name: SPSMSITEHOST#0
Template ID = 90
  Desc: A site for delivering the search experience. The site includes pages for search results and advanced searches.
  Title: Search Center
  Name: SRCHCENTERLITE#0
Template ID = 90
  Desc: The Search Center template creates pages dedicated to search. The main welcome page features a simple search box in the center of the page. The template includes a search results and an advanced search page. This Search Center will not appear in navigation.
  Title: Search Center
  Name: SRCHCENTERLITE#1
So now you have a handy reference.  You can find the code that was used to generate this at Crate site collection and specify a Particular Template – MSDN Forums, but I’ll include it here for convenience:
SPSite siteCollection = new SPSite(parentURL))
SPWeb parentWeb = siteCollection.OpenWeb();
SPWebTemplateCollection Templates = siteCollection.GetWebTemplates(Convert.ToUInt32(LOCALE_ID_ENGLISH));
foreach (SPWebTemplate temp in Templates)
{
Logger.Logger.log(
@"Template ID = " + temp.ID + Environment.NewLine +
"  Desc: " + temp.Description + Environment.NewLine +
"  Title: " + temp.Title + Environment.NewLine +
"  Name: " + temp.Name);
}

Below is the list for 2010


Name                     Title                                   Description
---- ----- -----------
GLOBAL#0 Global template This template
is used for in
itializing a n
ew site.
STS#0 Team Site A site for tea
ms to quickly
organize, auth
or, and share
information. I
t provides a d
ocument librar
y, and lists f
or managing an
nouncements, c
alendar items,
tasks, and di
scussions.
STS#1 Blank Site A blank site f
or you to cust
omize based on
your requirem
ents.
STS#2 Document Workspace A site for col
leagues to wor
k together on
a document. It
provides a do
cument library
for storing t
he primary doc
ument and supp
orting files,
a tasks list f
or assigning t
o-do items, an
d a links list
for resources
related to th
e document.
MPS#0 Basic Meeting Workspace A site to plan
, organize, an
d capture the
results of a m
eeting. It pro
vides lists fo
r managing the
agenda, meeti
ng attendees,
and documents.
MPS#1 Blank Meeting Workspace A blank meetin
g site for you
to customize
based on your
requirements.
MPS#2 Decision Meeting Workspace A site for mee
tings that tra
ck status or m
ake decisions.
It provides l
ists for creat
ing tasks, sto
ring documents
, and recordin
g decisions.
MPS#3 Social Meeting Workspace A site to plan
social occasi
ons. It provid
es lists for t
racking attend
ees, providing
directions, a
nd storing pic
tures of the e
vent.
MPS#4 Multipage Meeting Workspace A site to plan
, organize, an
d capture the
results of a m
eeting. It pro
vides lists fo
r managing the
agenda and me
eting attendee
s in addition
to two blank p
ages for you t
o customize ba
sed on your re
quirements.
CENTRALADMIN#0 Central Admin Site A site for cen
tral administr
ation. It prov
ides Web pages
and links for
application a
nd operations
management.
WIKI#0 Wiki Site A site for a c
ommunity to br
ainstorm and s
hare ideas. It
provides Web
pages that can
be quickly ed
ited to record
information a
nd then linked
together thro
ugh keywords
BLOG#0 Blog A site for a p
erson or team
to post ideas,
observations,
and expertise
that site vis
itors can comm
ent on.
SGS#0 Group Work Site This template
provides a gro
upware solutio
n that enables
teams to crea
te, organize,
and share info
rmation quickl
y and easily.
It includes Gr
oup Calendar,
Circulation, P
hone-Call Memo
, the Document
Library and t
he other basic
lists.
TENANTADMIN#0 Tenant Admin Site A site for ten
ant administra
tion. It provi
des Web pages
and links for
self-serve adm
inistration.
ACCSRV#0 Access Services Site Microsoft Acce
ss Server
ACCSRV#1 Assets Web Database Create an asse
ts database to
keep track of
assets, inclu
ding asset det
ails and owner
s.
ACCSRV#3 Charitable Contributions Web Database Create a datab
ase to track i
nformation abo
ut fundraising
campaigns inc
luding donatio
ns made by con
tributors, cam
paign related
events, and pe
nding tasks.
ACCSRV#4 Contacts Web Database Create a conta
cts database t
o manage infor
mation about p
eople that you
r team works w
ith, such as c
ustomers and p
artners.
ACCSRV#6 Issues Web Database Create an issu
es database to
manage a set
of issues or p
roblems. You c
an assign, pri
oritize, and f
ollow the prog
ress of issues
from start to
finish.
ACCSRV#5 Projects Web Database Create a proje
ct tracking da
tabase to trac
k multiple pro
jects, and ass
ign tasks to d
ifferent peopl
e.
BDR#0 Document Center A site to cent
rally manage d
ocuments in yo
ur enterprise.
OFFILE#0 (obsolete) Records Center (obsolete) Thi
s template cre
ates a site de
signed for rec
ords managemen
t. Records man
agers can conf
igure the rout
ing table to d
irect incoming
files to spec
ific locations
. The site als
o lets you man
age whether re
cords can be d
eleted or modi
fied after the
y are added to
the repositor
y.
OFFILE#1 Records Center This template
creates a site
designed for
records manage
ment. Records
managers can c
onfigure the r
outing table t
o direct incom
ing files to s
pecific locati
ons. The site
also lets you
manage whether
records can b
e deleted or m
odified after
they are added
to the reposi
tory.
OSRV#0 Shared Services Administration Site This template
creates a site
for administe
ring shared se
rvices
PPSMASite#0 PerformancePoint A site for pre
senting Perfor
mancePoint das
hboards and sc
orecards. The
site also incl
udes links to
PerformancePoi
nt Dashboard D
esigner and st
orage for dash
board content
such as analyt
ic charts, rep
orts, KPIs, an
d strategy map
s.
BICenterSite#0 Business Intelligence Center A site for pre
senting Busine
ss Intelligenc
e Center.
SPS#0 SharePoint Portal Server Site This template
is obsolete.
SPSPERS#0 SharePoint Portal Server Personal Space This web templ
ate defines a
Personal Space
for an indivi
dual participa
ting on a Shar
ePoint Portal.
SPSMSITE#0 Personalization Site A site for del
ivering person
alized views,
data, and navi
gation from th
is site collec
tion into My S
ite. It includ
es personaliza
tion specific
Web Parts and
navigation tha
t is optimized
for My Site s
ites.
SPSTOC#0 Contents area Template This template
is obsolete.
SPSTOPIC#0 Topic area template This template
is obsolete.
SPSNEWS#0 News Site This template
is obsolete.
CMSPUBLISHING#0 Publishing Site A blank site f
or expanding y
our Web site a
nd quickly pub
lishing Web pa
ges. Contribut
ors can work o
n draft versio
ns of pages an
d publish them
to make them
visible to rea
ders. The site
includes doc
ument and imag
e libraries fo
r storing Web
publishing ass
ets.
BLANKINTERNET#0 Publishing Site This template
creates a site
for publishin
g Web pages on
a schedule, w
ith workflow f
eatures enable
d. By default
, only Publish
ing subsites c
an be created
under this sit
e. A Document
and Picture Li
brary are incl
uded for stori
ng Web publish
ing assets.
BLANKINTERNET#1 Press Releases Site This template
creates the Pr
ess Releases s
ubsite for an
Internet-facin
g corporate pr
esence website
.
BLANKINTERNET#2 Publishing Site with Workflow A site for pub
lishing Web pa
ges on a sched
ule by using a
pproval workfl
ows. It includ
es document an
d image librar
ies for storin
g Web publishi
ng assets. By
default, only
sites with thi
s template can
be created un
der this site.
SPSNHOME#0 News Site A site for pub
lishing news a
rticles and li
nks to news ar
ticles. It inc
ludes a sample
news page and
an archive fo
r storing olde
r news items.
SPSSITES#0 Site Directory A site for lis
ting and categ
orizing import
ant sites in y
our organizati
on. It include
s different vi
ews for catego
rized sites, t
op sites, and
a site map.
SPSCOMMU#0 Community area template This template
is obsolete.
SPSREPORTCENTER#0 Report Center A site for cre
ating, managin
g, and deliver
ing Web pages,
dashboards, a
nd key perform
ance indicator
s that communi
cate metrics,
goals, and bus
iness intellig
ence informati
on.
SPSPORTAL#0 Collaboration Portal A starter site
hierarchy for
an intranet d
ivisional port
al. It include
s a home page,
a News site,
a Site Directo
ry, a Document
Center, and a
Search Center
with Tabs. Ty
pically, this
site has nearl
y as many cont
ributors as r
eaders and is
used to host t
eam sites.
SRCHCEN#0 Enterprise Search Center A site for del
ivering the se
arch experienc
e. The welcome
page includes
a search box
with two tabs:
one for gener
al searches, a
nd another for
searches for
information ab
out people. Yo
u can add and
customize tabs
to focus on o
ther search sc
opes or result
types.
PROFILES#0 Profiles This template
creates a prof
ile site that
includes page
layout with zo
nes
BLANKINTERNETCONTAINER#0 Publishing Portal A starter site
hierarchy for
an Internet-f
acing site or
a large intran
et portal. Thi
s site can be
customized eas
ily with disti
nctive brandin
g. It includes
a home page,
a sample press
releases subs
ite, a Search
Center, and a
login page. Ty
pically, this
site has many
more readers t
han contributo
rs, and it is
used to publis
h Web pages wi
th approval wo
rkflows.
SPSMSITEHOST#0 My Site Host A site used fo
r hosting pers
onal sites (My
Sites) and th
e public Peopl
e Profile page
. This templat
e needs to be
provisioned on
ly once per Us
er Profile Ser
vice Applicati
on, please con
sult the docum
entation for d
etails.
ENTERWIKI#0 Enterprise Wiki A site for pub
lishing knowle
dge that you c
apture and wan
t to share acr
oss the enterp
rise. It provi
des an easy co
ntent editing
experience in
a single locat
ion for co-aut
horing content
, discussions,
and project m
anagement.
SRCHCENTERLITE#0 Basic Search Center A site for del
ivering the se
arch experienc
e. The site in
cludes pages f
or search resu
lts and advanc
ed searches.
SRCHCENTERLITE#1 Basic Search Center The Search Cen
ter template c
reates pages d
edicated to se
arch. The main
welcome page
features a sim
ple search box
in the center
of the page.
The template i
ncludes a sear
ch results and
an advanced s
earch page. Th
is Search Cent
er will not ap
pear in naviga
tion.
SRCHCENTERFAST#0 FAST Search Center A site for del
ivering the FA
ST search expe
rience. The we
lcome page inc
ludes a search
box with two
tabs: one for
general search
es, and anothe
r for searches
for informati
on about peopl
e. You can add
and customize
tabs to focus
on other sear
ch scopes or r
esult types.
visprus#0 Visio Process Repository A site for tea
ms to quickly
view, share, a
nd store Visio
process diagr
ams. It provid
es a versioned
document libr
ary for storin
g process diag
rams, and list
s for managing
announcements
, tasks, and r
eview discussi
ons.
//Create a new SPSite object corresponding to your top level site
 
SPSite newSite = new SPSite("http://dev");
 
 
 
//Create a new SPWeb object from the newSite object
 
SPWeb newWeb = newSite.OpenWeb();
 
 
 
//Return the collection of sub sites
 
SPWebCollection subSites = newWeb.Webs;
 
 
 
//Create a new sub site by adding it to the sub site collection
 
//The new site will have the following metadata:
 
//Full URL once created: http://dev/newsite
 
//Name: New Site
 
//Description: This is the description for my new site.
 
//Local ID set to 1033 – English
 
//Site Template: Team Site
 
//Use Unique Permissions: True
 
SPWeb newSubWeb = subSites.Add("newsite", "New Site", "This is the description for my 

new site.", 1033, "STS#0", true, false);
 
 
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }

References:
http://sharepointdevwiki.com/display/sp2010/Site+Templates+in+SharePoint+2010
http://www.toddbaginski.com/blog/archive/2009/11/20/which-sharepoint-2010-site-template-is-right-for-me.aspx

No comments:

Post a Comment