Tag Archives: Mysite

SharePoint 2010 Mysite Contact Card Customisation


Customise the Mysite contact card section and display custom fields outside of the ‘More information’ drop drop down.


You need to modify the persons.aspx page on the Mysite root. In my case, I took a backup of person.aspx, called it person2.aspx and did tested my customisations first. Once I was happy with it, I replaced person.aspx with the customised version. Note that with this method, you will have to take a back up of your customised file before running any patches or updates to SharePoint as there is a high chance that your customisations will be overwritten with the original file.

  1. Open your Mysite in SharePoint designer and browse to the root directory.
  2. Locate person.aspx and create a copy, name it person2.aspx.
  3. Click on split view so that you can view code and design at the same time.
  4. Locate the div: <div style=”padding-left: 20px;” id=”ProfileViewer_ValueTitle”>
  5. This is where your customisation starts; to add a custom column under Job title, add the line in bold, replacing the red text with the name of your own custom field.

<div style=”padding-left: 20px;” id=”ProfileViewer_ValueTitle”>
<SPSWC:ProfilePropertyValue PropertyName=”Title” runat=”server”/>

<div style=”padding-left: 20px;” id=”ProfileViewer_ValueEmployeeID“>          
         Employee ID: <SPSWC:ProfilePropertyValue PropertyName=”EmployeeID” runat=”server”/>

If you copied the code above exactly, your Mysite contact card will now show as:

  • Name
  • Job Title
  • Employee ID: <User’s employee ID’

You can copy the <div ….. </div> section as many times as you like to add more custom fields.

Thats all for now, cheers.


Comments ( 0 )

How to browse user’s Mysite personal site


When cleaning personal sites, it is difficult to see what each user has stored on their site. If you type in the url to the user’s My Content site, SharePoint will redirect you to their profile homepage. This occurs even if you are the farm or site administrator.


You can use webdav to access the contents of each user’s Mysite. Assuming that the url to all your Mysite personal sites is:


  1. Ensure that your computer is able to use Webdav to browse to sharepoint.
  2. Go to Start -> Run
  3. Type in: \\http://my.sharepointsite.com\personal -> Enter
  4. You will be redirected to\\my.sharepointsite.com\DavWWWRoot
  5. Click on the address bar and replace DavWWWRoot with the following:
  6. \\my.sharepointsite.com\personal\<firstname>_<lastname>
  7. You should now see the contents of the user’s mysite.
Comments ( 0 )

Mysites – Prevent users from creating personal sites

Every administrator knows that allowing users to create their own personal sites in Mysites can easily become a problem if not managed properly. Thankfully, it is very easy to disable this feature in SharePoint 2010.


  1. Open Central Administration -> Manage Service Applications -> User Profile Service
  2. Click Manage User Permissions
  3. Untick the box that corresponds to the ‘Create Personal Site’ permission.
  4. Click on OK to save your changes.
  5. Browse to Mysite, the ‘My Content’ link no longer appears.



Comments ( 0 )