Monday, 30 June 2014

Moving Site Template (.stp ) files to SharePoint 2010

.stp or Site Templates - If you are planning to import stp or site template files then you should know that the files with .stp are no longer supported in Sharepoint 2010.
well, so how do you import stp files? – To do this just go through the Steps below:
1. First you need to create a site in SharePoint 2007 using your .stp template.
2. Then, backup the database for that site and restore it on SharePoint 2010 enviornment.
3. After you do that just Open up the site and fix any issues ( like 12 hive refrencing files etc).
4. Now, you can Save this Site (from Settings page -> Save as Template) and it will give you a .wsp solution for the site.
This solution can then be re-used as a Site Template.
Side Note – If you want to deploy this Site template solution as a farm you will need to open the above .wsp solution in VS 2010 and
change the Scope as “Farm”.