Solved

Custom site template Sharepoint 2010

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel formula lookup multiple charges 11 72
Cannot get OneDrive working on Wndows 10 2 50
Microsoft Access Table name 3 51
DataBasix Technologies Lead Commander download 2 26
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
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…

770 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