Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Retrieving a User's Task List?

$
0
0
With a Tasks list an Assignee field (usually) exists which is used to set to the user for which the task is assigned. But: it could be any field if type 'People and Group'. So when you say you want to get a user's tasks, you need to be aware of what column is being use to capture the assignee.

Ok. Had to get that out of the way since you said you were a novice. :)

So to retrieve the rows out of a List for the 'current logged in user' you would use the <UserId/> CAML token when querying the List. Look at this for an example of how to use this token in CAML:


There are several examples here in the forums and documentation on how to use the Lists.GetListItems operation. That together with the reference above should get you going.


_____
Paul

Sent from mobile device.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>