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 have a List where one of its field is based on the People Editor control. The field name is Organizer. How do I get the value if this field using SPlinq. When I iterate thru the list item in debug mode, I can see that the OrganizerImnName has a value. And in the intellisense of the SPLinq I can see this two attributes, OrganizerId and OrganizerImnName. When I try to get the value Like this

var results = from o in dc.GetList<OrganizerItem>("Organizer")
select new { Organizer =  o.OrganizerImnName };

I get this error The query uses unsupported elements, such as references to more than one list, or the projection of a complete entity by using EntityRef/EntitySet.

share|improve this question

This error means that o.OrganizerImnName (sp?) is a complex type, so you need to specify a property of that value, such as Title. Use Intellisense to see what properties are available.

You could also try: select new { Organizer = o.OrganizerItem.Title };

share|improve this answer
Thanks Laurie. .ToList() solved my problem. You can find more here… – Agamand The True May 27 '11 at 15:14

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.