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 want to make a custom site for certain types of users who sign up to my site.

This site needs, in itself, a subsite.

How could I achieve this? Is a custom site definition able to do this? Thanks

share|improve this question
up vote 0 down vote accepted

You could always deploy the site schemas as two separate features, making the parent site a feature dependency for the sub-site. When you provision the site(s), create the parent site first, then create the subsite within it.

share|improve this answer
Paul brings up a good alternative below. My solution is schema based where his is template based. I will say that developing schemas got much better with Visual Studio 2010 and SharePoint 2010, but there is still a ways to go. Since you are using SharePoint 2010, I wanted to point you to this article I found on Chris Beckett's blog today that walks through creating custom site definitions:… In addition, this entire section in the MSDN library may be useful: – Rob Wilson Jul 26 '10 at 2:08

Your Answer


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