17 January, 2012

Saving a site as a template

You can save a site as a template at any time using the template option (Save site as template) on the Site Settings page in SharePoint. SharePoint Designer 2010 make it easy by providing a Save as Template option in the ribbon, which takes you to this page in SharePoint. Once you save the template, a solution file is created and stored in the Solution Gallery where you can download or activate the solution.

To save your site as a template using SharePoint Designer 2010, perform the following steps:

1. Open your site in SharePoint Designer 2010.
2. On the Site tab, in the Manage group, click Save as Template


 3.This takes you to the Save as Template page in SharePoint.

4. Specify a name to use for the template file in the File name field.
5. Specify a name and description for the template in the Template name and Template description fields.
6. To include the content of the site in the site template, check the Include Content box.
Note: Including the content of the site can increase the size of the template significantly. Keep in mind that the default size limit for a site template is 50 MB but may be less in your organization.

7. Click OK to save the template.
8. If all of the components on the site are valid, the template is built, and you see a message that says Operation Completed Successfully.
9. To download or activate the solution from the solution gallery, click the user solution gallery link and follow the steps in the procedure below.
10. Or, to return to your site, click OK.



 

Activating the site template in the solution gallery

Once you’ve saved your site as a template, a solution file (.wsp) is created and stored in the Solution Gallery for the site collection. From here, you can download or activate the solution.

To activate your site template, perform the following steps:

1. Browse to the top level site of your site collection in SharePoint.
2. Click Site Actions and choose Site Settings.
3. Under Galleries, click Solutions.
4. To activate your solution, click the pull-down menu beside your solution, and choose Activate


5. On the activate solution confirmation screen, click Activate.
Your solution now has an activated status in the Solution Gallery.
6. To download the solution, just click its name in the Solution Gallery.
7. In the File Download dialog box, click Save, and browse to the location where you want to save the solution.

What gets saved in a template

When you save your SharePoint site as a template, you’re saving the overall framework of the site. Most of the objects in a site are included and supported by the template.
There are a number of objects and features not supported however.


Supported


Lists
Libraries
External Lists
Data source connections
List views and data views
Custom forms
Workflows
Content Types
Custom Actions
Navigation
Site pages
Master pages
Modules
Web Templates


Not Supported


Customized permissions
Running workflow instances
List item version history
Workflow tasks associated with running workflows
People/group field values
Taxonomy field values
Publishing pages and publishing sites
My Sites

What is a SharePoint 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.
SharePoint Site Template

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.
When you save your site as a template, you create a Web Solution Package, or WSP. A WSP is a CAB file with the solution manifest. The solution you create gets stored in the Solution Gallery for the SharePoint site collection. From there, you can download a copy of the solution or activate it on the server.

Installing SharePoint Designer

Choose the 32-bit or 64-bit version of Microsoft Office

Article Office 2010 is available in both 32 bit and 64 bit versions. 64 bit Office 2010 is good if you work with much larger sets of data. If not, we’re recommending...

Keep earlier versions of Office programs when installing Office 2010

Article This article warns that earlier versions of Office are removed when you install Office 2010. It also tells how to keep the earlier version of Office programs.