Archive for the ‘C#’ Category

Basic List Operations in SharePoint with object model

Introduction In this post we will see complete basics of SharePoint list operations through object model with better code Accessing SharePoint List Create / Update / Delete items of List Skill Level – Basics Email this page

October 30, 2013 · Adi · No Comments
Tags: , ,  · Posted in: Basics, C#, Sharepoint 2007, Sharepoint 2010, SharePoint 2013

Download files as Zip File in SharePoint

Introduction In this post we will see how to download selected document library items as zip file. The zip file creation api is from open source code of icsharpcode.net Skill Level – Medium Email this page

August 11, 2013 · Adi · 48 Comments
Tags: , , , , ,  · Posted in: C#, Sharepoint 2007, Sharepoint 2010, SharePoint 2013

Move Folders of SharePoint Document Library using object model

Introduction SharePoint does not support moving folders directly but in this post we will see how we can achieve move folders of SharePoint document library to one location to another using object model. We will also see how to keep same folder Version, Modified and ModifiedBy values after moving The post includes Moving folder along […]

August 10, 2013 · Adi · 4 Comments
Tags: , , , , ,  · Posted in: C#, Sharepoint 2007, Sharepoint 2010, SharePoint 2013

Move Files of SharePoint Document Library using Object Model

Introduction In this post we will see how to move files of SharePoint document library to one location to another using object model. We will also see how to keep same file Version, Modified and ModifiedBy values after moving The post includes Generic method to move file to destination Keeping the file version, Modified and […]

August 9, 2013 · Adi · No Comments
Tags: , , , , ,  · Posted in: C#, Sharepoint 2007, Sharepoint 2010, SharePoint 2013

Convert word document to pdf file

Introduction In this post we will see how to convert Microsoft word document to pdf files using interop. This can be used in SharePoint or Asp.net. These methods will support both .doc and .docx files. What are the points that are covered Generic method which converts single word document to pdf file Generic method which […]

December 10, 2012 · Adi · No Comments
Tags:  · Posted in: C#, Sharepoint 2007, Sharepoint 2010, Tools

Get users from local user groups and active directory groups

Introduction In this post we will see how to get users from local user groups and from active directory group. What are the points that are covered How to get list of users from local user groups How to navigate users in active directory Email this page

August 2, 2012 · Adi · No Comments
Tags: ,  · Posted in: C#, Sharepoint 2007, Sharepoint 2010