I’ve got a SharePoint site that I’m putting a Silverlight frontend on using the Silverlight Client Object Model. One of the lists I need to pull the data for has attachments. I need to find a way to list those attachments but I can’t seem to find a way to do so.
There’s an “Attachments” field on the ListItem but it’s only a boolean stating whether an attachment exists or not.
I’ve seen plenty of examples of this using SPListItem, but how would I go about doing this using the Silverlight Client Object Model instead?
I have also run into this problem and with the help of answer from ScottyG30 and answer on this thread I wrote a function for retrieving attachment from ListItem:
While this works for me, it doesn’t seem to me as best solution when you need attachments (urls) for all items in large list (every item is
executing query).