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 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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.