Solved

Custom site template Sharepoint 2010

Posted on 2011-03-03
1
521 Views
Last Modified: 2012-06-27
I want to create a custom site template for a subsite in SP2010. This site template should carry lists and word doc templates. And, the list and document templates must use the site content type created at top level site
Can someone please tell me steps involved in it.
I will be using Visual Studio 2010 for development.

Thank you very much...!!
0
Comment
Question by:me24hour
1 Comment
 
LVL 3

Accepted Solution

by:
AndrewSkoraro earned 250 total points
ID: 35029447
There is a semi-easy way to do this using Visual Studio.  

The first thing you want to do is create all of your lists, libraries and populate all templates and data you want to include in your template. *one recommendation is to not deploy any OOB features that may add items to your site (lists, libraries, content types) until after these steps.  This is just to simplify the template creation.  

Save the site as a template.

Download the template to your computer.  This is done from the template library.

Start VS 2010 and create a new project.  Select the Import SharePoint Solution Package.

For the project template, select the .wsp file you just created.

Select your items to import.  This is where it gets a little tricky.  Be sure to select your items and its content (separate selection). You may have to play around with this to get it right.  I would refrain from adding any OOB items.

This will create a feature.  You might want to check that the feature includes everything you have imported before deploying.  *You will probably want to create a test site collection, because you may have to destroy it and redeploy it several times to get it.

Good Luck!
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now