• webdav and LOCK

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #40899  by jlambert
 
Hello

I am running 6.3.0 build: 8156 and it does not support the webdav LOCK keyword.
Does this version or any version of openkm support the webdav LOCK header. Your demo server does not support it as you can see below.

thor:~ jlambert$ curl -i -X OPTIONS -u user0:pass0 http://demo.openkm.com/OpenKM/webdav/okm_root
HTTP/1.1 200 OK
Date: Thu, 19 Nov 2015 21:59:43 GMT
Allow: COPY,DELETE,MKCOL,PROPFIND,GET,HEAD,PROPPATCH,OPTIONS,MOVE,PUT,GET,HEAD
DAV: 1
MS-Author-Via: DAV
Content-Type: text/html;charset=UTF-8
Content-Length: 0
Vary: Accept-Encoding
 #40908  by jllort
 
What are you trying to do ? explain with detail because probably are other ways for getting the same.
 #40913  by jlambert
 
I am trying to run a webdav server so that our business can access and edit the files stored in openkm without having to login into the web-ui.
 #40927  by jlambert
 
Okay,
I do not know why you're using curl for accessing webdav, why you do not connect as network device as is explained here http://wiki.openkm.com/index.php/WebDAV_access


I have set up Openkm to work with finder in Mac and webdrive. They both connect but it the case of webdrive there is no file lock so multiple users could edit the same file without any constraints. In the case of Finder it does not allow you to edit the documents at all because they open as read-only and not allow you to edit the file because it could not get a lock.

I want to mount the OpenKM drive in finder and be able to edit the files and still have versioning, etc. The only reason I was querying the server with CURL was to see the return of the webdav options to see which header options the webdav server supports.

That being said my base goal is to allow people to edit files with locks and versioning without actually using the web-ui at all. This is the reason I was investigating the webdav solution. If this cannot do what I wish I welcome alternative approaches to accomplish my goals.
 #40934  by jllort
 
The openkm community comes with webdav free library ( what seems not convers all cases and features, comes with some limitations ) but can be changed by commercial one, simply must be changed the jar library by commercial one. If you want information about it I can provide you the url of the WEBDAV project.
 #40936  by jlambert
 
Okay, I will purchase a single website license to have access to the webdav server. Are you currently running the commercial version on your demonstration server? I need to make sure that I can make edits and that the versioning and locking will work with webdav.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.