19 April, 2010

SharePoint 2010 Site Templates

Site templates are a great feature in SharePoint that allow us to build a Web Site, customise it then save it as a template so that you can use the same template for other Sites. It is continued in this new feature also i.e. SP2010 but little bit in different manner !!

There are still Site Template in SharePoint 2010, but they're no longer .STP files. Instead, they're bundeled in the form of .WSP files just like web parts and features.

To create a Site Template, browse to the Site you want to create from.
->Go to Site Actions
–>Site Settings
–>Save site as template (under the Site Actions heading).
->Give your template a name, and don't forget to check the "Include Content" box if you want to include library and list content in the template.

This will create a new site template in your Solutions Gallery, which you can then use when creating new sites. You can also download directly from the Solutions Gallery to a .WSP file.

To upload a Site Template to the Solutions Gallery,
->go to Site Actions
–>Site Settings
–>Solutions Gallery (under the Galleries heading).
->On the Solutions tab of the ribbon, click "Upload Solution".
Before you close that dialog, you'll need to click "Activate" to activate it if you want your Site Template to appear in the "New Site" dialog later.

To use the Site Template, go to Site Actions –> New Site. You'll find your Site Template in the list of Installed Items, in the All Categories or Blank & Custom filters.

I hope the above the information will helps you to clear your doubts between the templates present in SP2007 & SP2010.
Please let me know in case of any queries,Thanks !!

2 comments:

  1. but if we take the WSP file from the development server let's say to staging server it won't work.. tell now i did not find a solution for that yet

    ReplyDelete
  2. Make sure that your development server and staging server should have the same patches, infact both should have a same version.

    If you wants to check the version then you can cross check by following the mentioned steps:
    1. Open any site collecion
    2. site actions
    3. site settings

    On the site settings page, You will see the version of the updated patch. Both should have a same version.

    Apart from this-Please check the exact error message and SP logs too

    Also-did you tried by using stsadm commands ?

    Please check and let me know in case of any further queries/questions, Thanks for your patience..

    ReplyDelete

Your feedback is always appreciated. I will try to reply to your queries as soon as possible- Amol Ghuge

Note: Only a member of this blog may post a comment.