Attachment Bug

There are 1 entries for the tag Attachment Bug

Bug When Copying Attachments in SharePoint

Recently I was tasked to create a console application to get all the attachments from a list and copy them to a file share. Everyone has code out there, but I noticed not one single place had the correct formatting for everything. First off there is gotcha. You cannot copy SPAttachmentCollection from the List Item and step through the list of strings. You need to pull in the Item.Attachments.UrlPrefix and throw it into an SPFolder Item like below: SPFolder Folder = Web.GetFolder(Item.Attachme...

Posted On Monday, January 25, 2010 3:45 AM | Feedback (0)

Copyright © MOSSLover

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski