Posts

Showing posts from April, 2018

Download Attachments From List Items In SharePoint 2013 Online Console Application

Image
Download Attachments From List Items In SharePoint 2013 Online Console Application Introduction In this post, I will show how to connect to SharePoint 2013 Online, get the list item attachment(s) from the SharePoint 2013 Online custom list and download it to the local folder of our drive. Prerequisites The prerequisites required are: Knowledge of SharePoint Client Object Model Knowledge of C# and Console Application Reference of files i.e. "Microsoft.SharePoint.Client.dll" and "Microsoft.SharePoint.Client.Runtime.dll" in Console Application   Let's Start...   Step 1 . Create a new custom list in SharePoint 2013 Online as "TestAttachmentList" Step 2 . Add an item to a list and attach few files with it Step 3 . Just to check, view the item you have added and see if it has files attached. For example, I have created an item with "Title" as "Test 1" and have added 3 text files as shown below: