Take the 2-minute tour ×
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
add comment

2 Answers

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: sharepointbits.com/blog/… In addition, this entire section in the MSDN library may be useful: msdn.microsoft.com/en-us/library/ms434313.aspx –  Rob Wilson Jul 26 '10 at 2:08
add comment

Your Answer

 
discard

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