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 create a site definition based on the my sites template (i.e. so that when I provision my sites, the site collections created include my customisations as in the vs2010 project.

How can I achieve this with site definitions in vs2010?

share|improve this question

You can't change the Site Definition SharePoint uses when it creates the Personal Sites. If you want to do any customisations you should implement these as Features (that would be my recommendation anyway) and apply them using Feature Stapling.

Remember that if you wan't to change web parts front page, this isn't created until after stapled features are activated, so you need to do that through a delegate control which can make the changes first time it's shown.

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.