Greetings all!
When SP2013 has Versioning enabled, but force checkout is NOT enabled -- this is supposed to be for collaborative editing or some similar feature. If you edit a file (say in MS Word), SP "locks" the file for a period of time. I read that the default is 30min, but I am finding that it is 60min in my environment. SP then automatically creates a new "version" of the file with the accumulated changes. More frequent times results in more versions - but more granular edits, of course.
I am looking for a way to "force" SP to perform its unlock (and merge/check-in) before the timeout period. I do not want to "break the lock" and discard changes. I simply want to tell SP not to wait until the default time to run its background versioning/unlocking on the file.
Does anyone know of a way to issue a RESTful call to tell SP to do this?
EDIT: I _think_ what I'm trying to do is update the SPFile.SPCheckOutStatus ? Basically change the CheckoutExpires to "now" or null, maybe? I notice that there is a "short-term lock" and a "long-term lock" flavor. Don't know if I would have to do something different for each, but unlocking the file "immediately" is the goal -- via a RESTful call?
Thanks in advance,