Category Archives: LINQ

SharePoint Get Emails for Users Associated to SPListItem

Challenge On a recent project, I needed a way to build a list of emails for a given SPListItem. Considering most of you just want the code, here it is: Solution public List GetEmailsForUsersAssociated(SPListItem item) { //list for emails [...]
Also posted in C#, SharePoint | Tagged , , | Leave a comment

SharePoint List and LINQ using jQuery and IhttpHandler

Challenge I was looking for a simple way to use jQuery and a few parameters to retrieve data from a SharePoint List informat. Here’s my approach… Javascript In the below method, I pass in the list name, url to handler, and some query parameters: //request menu items $.ajax({ dataType: 'json', url: '_layouts/data/list.ashx', [...]
Also posted in MOSS, SharePoint, jQuery | Tagged , , , | 2 Comments