Customizing My Site

As I was about to customize My Site - by changing the onet.xml - I came across an article by Steve Peschka (SharePoint Rangers Team). Good for me! :-) It is not recommended to ever change the onet.xml when making changes to My Site (unsupported state, issues when upgrading to later versions, etc) and how the private view of My Site is provisioned. Features (and more features), master pages and custom server controls is the way to do it in 2007.

These are the recomended steps that should bring you home safe:

  1. Create a new master page to be used for your my sites.
  2. Create a feature that runs a code snippet that directes SharePoint to use your new MySite master page instead of default.master
  3. Add a feature stapler feature which will run your my site master page feature when a new My Site has been created. Not only does this feature set the new master pages, but also other properties needed to control the behavior and logic in the custom web control (see step 4)
  4. Add your own custom server control to your my site master pages. This control will be responsible for adding and changing web parts to your my site (the private view)
  5. The public view of my site may be changed in SharePoint designer. Open the page http://mysitehost/person.aspx?yourdomain\username

And when I had done a lot of work I found this great release of a My Site Create customization solution on CodePlex. You will find it here. Written by Steve Peschka with others.

I'm currently adding new customization elements, such as:

  • adding and removing navigation elementes
  • adding and removing lists
  • adding list items to lists
  • etc.

It will grow with time as the requirements for customization changes.


craig baker said...

I've also been using Steve Peschka's mysite create. Do you have an example of adding a list with itemms that would work with the my site create? TNX

Philip said...

on the my profile tab within a my site the following appears:

Edit Details

How can this be deleted from

Philip said...

How can person.aspx
be modified to delete the

Edit Details

from the page/template?


Anonymous said...

I too would love to know how to hide the "Edit Details" link.