Reputation: 65
how to set a document in check-in/out mode programmatically by using webservices or objetmodel in sharepoint
Upvotes: 3
Views: 6947
Reputation: 29186
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.
Upvotes: 3
Reputation: 22158
You need the CheckInFile and CheckOutFile web methods of the Lists webservice. The calls are pretty straight forward. Hope this helps.
Upvotes: 1