views:

545

answers:

2

how to set a document in check-in/out mode programmatically by using webservices or objetmodel in sharepoint

+1  A: 

Hi there.

You need SPListItem.File.CheckOut / SPListItem.File.CheckIn from the object model. I don't know how to do this using the web service though.

Cheers. Jas.

Jason Evans
A: 

You need the CheckInFile and CheckOutFile web methods of the Lists webservice. The calls are pretty straight forward. Hope this helps.

Steve Danner