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'm working on a solution in SharePoint 2013. It's a Web Part that is going to display the five tasks that are due next from the task list on the current users' My Site. I'm new to SharePoint and kind of lost here. If anybody has some suggestions or advice on how to achieve this I would be grateful.



share|improve this question
it's a custom webpart or xslt webpart ? – Hitesh Chandegara Jan 17 '13 at 10:15
Hi! It's a custom visual Web Part – Joakim Jan 17 '13 at 12:11
See my solution at… – Rafał Saltarski Jan 20 '14 at 8:10

Found it: The tasks in a User profile seem to be stored in a special list called 'WmaAggregatorList_User'. It's not even stored as a task contenttype.

I have created a blog entry on this:

See also. Stack exchange post: Get Task items from User Profile?

share|improve this answer

Hierarchical your SharePoint Site Collection and the My-Sites Site Collection is at the same Level. It's not easy to get cross-site-collection information in a Webpart. (normal SP 2013) (MySite Site Collection)

You may need to hard-code the my-Site Url and try to get information from the Task-list.

You can use something like this to get your My-Site Web-Objekt

using (SPSite spSite = new SPSite(""))
    using (SPWeb spWeb = spSite.RootWeb)
         //find your list, get infos...

Hope its a little help.

share|improve this answer
The tasks in the User Profile (my sites) are not stored in a standard task list. I already looped through all the lists stored in those sites. Seems that the User Profiles have something special going on. – W0ut Feb 21 '13 at 8:40

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.