I'm using the Client Object Model to interface my application to SharePoint 2010 Foundation.

This application generates some versions of the same file... it's possible to see all the versions in the file version history...

The problem is that I have to delete the old versions of the file, not necessarily all of the versions...

Is it possible to do this? How can I do this?

Thanks to all.


You could try something like this:

var fileName = '/myfile.txt';
var ctx = new SP.ClientContext();
| improve this answer | |
  • Glad I could help :) Feel free to consider accepting the answer if you think it gave you the appropriate amount of assistance. – eirikb Sep 25 '12 at 14:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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