Solved

Custom site template Sharepoint 2010

Posted on 2011-03-03
1
523 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

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 …
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
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…

821 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