Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Here's the situation:

We have a number of Excel based tools that are checked into a SharePoint document library. I want a program that will allow me to check out one to many tools, perform maintenance on each one (executing macros inside the tool, etc), then check the tool(s) back in. I need assistance with programmatically checking in and out of the remote SharePoint server.

Requirements: CLIENT side execution to remote server VS2010/C#

Any and all help would be most appreciated.

Regards, John E.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

If you are using SP 2010, then the client object model would be best. Here's a link to a similar question on another forum: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/841ddb4b-1c8f-4d2b-b154-437ab4a7e2dc/

share|improve this answer
    
Thanks for your reply. I took a look at the link you provided, but it doesn't have any sample code or explaination. There's only a PowerShell script snippet. Am I missing something? –  Falconeer Jun 25 '12 at 18:10
    
That was one example. The Client Object Model can be done in C#, JavaScript, or Silverlight. So no, they did not include code examples for all of the available code languages but you should be able to take what they have and easily convert it to the language that you need to utilize. See here for the official documentation: msdn.microsoft.com/en-us/library/ee537247.aspx –  Steve Lineberry Jun 25 '12 at 18:17
    
Thanks for the information. I was able to get the check in/out working in C#. –  Falconeer Jun 26 '12 at 14:37
    
Thanks for the information. I was able to get the check in/out working in C#. – Falconeer Jun 26 '12 at 14:37 Care to share your code? thanks... –  user17524 Jun 8 '13 at 22:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.