SharePoint User Group UK

Share the knowledge!

Welcome to SharePoint User Group UK Sign in | Join | Help
in
Home Blogs Forums Photos Files Roller

Multiple records for one item in Lists Webservice

Last post 04-03-2008, 5:18 PM by AndyBurns. 0 replies.
Sort Posts: Previous Next
  •  04-03-2008, 5:18 PM 9535

    Multiple records for one item in Lists Webservice

    Found a bug, I think. I'm able to get multiple records back for one ListItem using the Lists.GetListItems web service call. Has anyone else seen this?

    The short of it was:

    • I created a Lookup column that allow a user to select multiple items.
    • I created a document content type that used that column.
    • I used that content type in a library.
    • I created some items with that content type.
    • I tried to get a list of the items in that library via the Lists webservice.

    What I found was that I got multiple records for the same ListItem from my GetListItems call. Essentially, I got the same ListItem multiple times depending on the number of items selected in the 'multiple selection Lookup' column.

    I've proved this against a couple of different systems. I just can't believe that this is intended behaviour. Why doesn't it just serialise the multi-Lookup normally?

    http://www.novolocus.com/2008/04/07/duplicate-rows-from-the-sharepoint-lists-webservice/
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems