Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand

Posts Tagged ‘site template’

Create Web Templates

Posted by Jean Paul on February 26, 2015

In this article we can explore Web Templates

Web Templates

Web Template contains pre-defined site elements like lists, libraries & pages. Web Template is an alternative to Site Definition files. We can deploy Web Template with/without a WSP file.

Unlike the Site Definition files which reside in server-side file system; Web Templates reside in the content database. This makes it preferred way of creating sites for SharePoint Online too.

Web Template Creation

We can create a web template using following ways:

1. Save as Template option within SharePoint user interface

2. Through Code


Create a site and add a document library & list to it.

1. Library named Documents

2. List named Contacts


Choose Site Actions > Site Settings > Save site as template option as shown below.



Publishing feature should be enabled to see the Save site as template link.

In the appearing dialog enter the template name. Please note that this name will be used later


Click the OK button to continue. You will get the following message once the Save operation is completed.


You can test your template by going to the Gear Icon > Site Contents page. Try creating a new sub site.

In the appearing page choose the Custom tab option for template. You should be seeing the New Site Template there.


Select the template and Click OK button.

Your new site will be created with the Documents library & Contacts list.



The saved template will be in the Solution Gallery. You may download the file and copy it to another SharePoint deployment for reusing it.


In this article we have explored how to use the Template feature of SharePoint 2013.

Posted in SharePoint, SharePoint 2013 | Tagged: , | Leave a Comment »