Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

2 Answers 2

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.