SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on a sharepoint portal project. I am planning to have some custom web templates. And then create new site instances from these template. I will follow this way; create a basic publishing site from sharepoint UI customize it according to my needs (create content types, page layouts, pages, put my custom developed web parts in welcome pages etc etc.) Then i will save it as template, then download the solution file and import that file into the visual studio. So then i have a deployable web template.

Here is my question. I wonder which kind of items will be included in the web template. For example do my webparts be included in the newly created sites?


share|improve this question
up vote 1 down vote accepted

First of Publishing site don't support being saved as Site Templates. Secondly it would only include the configuration of web parts not the web parts themselves.

Instead you should create all of your modifications as features, and then create a Site Definition based on the Publishing site remove the features you don't want and add your own features.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.