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 am trying to customize the "my profile" page (person.aspx, "my site host" site collection) in SharePoint 2010. For example, I would like to:

  • Add/delete some webparts
  • Delete links from top navigation bar
  • Hide quick launch bar

I know I could do this with the Sharepoint UI or Sharepoint Designer, but I would like to have a Visual Studio Solution to do this. It is important that the solution can be (easily) updated in the future and allow me to customize other profile pages.

Would any of the following work?

  1. A Feature in VS and add the code to customize the page in the "featureactived method"
  2. Feature stapling
  3. Import person.aspx or a site definition in VS and then directly customize it

What would be the best practice?

share|improve this question
nobody ? hmm... :-( – user2590 Mar 9 '11 at 21:34
I am also searching for the same. Did you get the answere? How did you do it? Please share. Thanks Khushi – user3784 Jun 17 '11 at 18:37

In my opinion, deploying a solution with your code in a feature is always the way to go.

You'll need to use feature stapling to do more advanced look and feel changes.

Customizing My Sites in Microsoft SharePoint 2010

share|improve this answer

I also would use feature stapling so that I didn't risk introducting a change to the master Microsoft-owned pages that could break when the next service pack or update is applied. I would avoid editing those pages directly if at all possible.

The link provided by @kit-menke has useful tips on how to make these types of edits.

share|improve this answer

Your Answer


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