1

Can anyone please tell me what the difference is between Site and Web in SharePoint.

Also what is Site Template and Web Template?

3 Answers 3

8

Web Template:

Web template refers to new feature element available in SharePoint 2010, which provides us flexible way to define definition (onet.xml file), which will be used only on provisioning time, when the site is created. There are no references to the definition on runtime, which provide easy maintainability for the definition.

Source

Site Template:

SharePoint site templates are pre-built definitions designed around a particular business need. You can use these templates as they are to create your own SharePoint site and then customize the site as much as you like. You’re probably familiar with the default site templates, like Team Site, Blog site, and Group Work Site as shown here.

In addition to the default templates, you can create your own site template based on a site you’ve created and customized in SharePoint. This is a powerful feature in SharePoint that allows you to create a custom solution and then share that solution with your peers, the broader organization, or outside organizations. You can also package the site and open it in another environment or application like Microsoft Visual Studio and further customize it there.

Source

Site:

A site collection consists of a top-level site and one or more sites below it. Each top-level site and any sites below it in the site structure are based on a site template and can have other unique settings and unique content. Partition your site collection content into separate sites to obtain finer control of the appearance, content, and features of the various pages in your site collection.

Source

7
  • 1
    What you call a web template here is actually a Site Template. Your definition of Site Template is a Site Definition Commented Mar 26, 2014 at 8:44
  • @RobertLindgren, its as per the msdn.microsoft. Can you please elobrate on how exactly you are telling its different.? Commented Mar 26, 2014 at 8:50
  • I think we agree in the Site Template definition, but a Web Template from a developer point of view is described here: blogs.msdn.com/b/vesku/archive/2010/10/14/… Commented Mar 26, 2014 at 8:52
  • The process described in your first link regarding web templates will actually create a site template Commented Mar 26, 2014 at 8:54
  • 1
    Looks much better! Vesa is often Microsoft's source when it comes to these things, and his blog series is much more extensive than MSDN in this case as well. Commented Mar 26, 2014 at 9:02
3

Site

Represents a collection of sites in a Web application, including a top-level website and all its subsites.

Web

Represents a SharePoint website.

Site Template

Contains a customized site design based on an existing site definition. Site templates in this context exist outside of any site definition.

Real World Example The marketing team has a new layout for sites from a particular product family, so a new custom site design that is based on a team site, but with preconfigured display layout, is created and a template saved from it.

Web Template: Is the aspect of your Website. Including: active feature, pre installed list or document library, pre installed content type etc

1

SPWeb and SPSite are API class Names in SharePoint. SPWeb represents sites and SPSite represents Site Collection(collection of sites)

The important advantage with the web templates compared to the site templates is the fact that we can utilize the publishing features in web templates. Incase of Site Templates , they are not supported when Publishing Features are enabled.

for Understanding Difference between Site Template and Web Template you can refer this link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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