Windows SharePoint Services Products and Technologies blog by Harish Mathanan

Tuesday, May 12, 2009

Checkin Multiple Documents

We all probably already know that with SharePoint server we can do this via-Site Actions –> Manage Content and Structure. From there we can navigate to a particular library, tick and select all checked-out items and then click Actions –> Check In.

checkin01

Unfortunately, as stated this is only available on SharePoint server and not SharePoint Services. We can however, programmatically checkin documents within SharePoint services. Below is a sample code snippet performing checkin for documents that are checked out. Hope this helps.

checkin02

1 comments:

Muna said...

Thank man for your post, but my question is where should I write this code. Let me explain you my scenario...

I have a document library in which I want to check in multiple documents, now where should I write this code? I am little confused here.

 
Copyright Harish Mathanan 2008