views:

66

answers:

2

Hi, I want to get the recently/ currently uploaded/uploading document from document library of sharepoint site in C#? how can i get it . please help . i want to make checked out the recently uploading document in my work flow with sharepoint. how to achieve this?

A: 

You can create a CAML Query that queries the Document Library for recent items based on the creation date.
Iterate the resulting items collection and check them out using the CheckOut() method.

Magnus Johansson
A: 

I don't understand what it is exactly that you want to do, but checking out an item as soon as it is added to a document library is very simple to do with a SharePoint Designer workflow.

Kjartan Albertsson