0
votes

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?

2

2 Answers

0
votes

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.

0
votes

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.