开发者

Sharepoint checkin/checkout

开发者 https://www.devze.com 2022-12-23 17:01 出处:网络
We have a sharepoint based application that uses a custom database for storing metadata/files (which could also be on a file share)

We have a sharepoint based application that uses a custom database for storing metadata/files (which could also be on a file share)

My question is how can the standard file checkin/check out option in document library be customized?

The javascript file ows.js in the layouts folder contains the functions that provide checkin/check out/ open file functionality. Behind the scenes it relies on a combination of HTTP Post/GET methods + SOAP + an activeX control to achieve the desired functionality.

Customizing these javascript function seems tedious/error prone.

Note that we have a web service th开发者_开发问答at exposes endpoints, for retrieving necessary file information/data from the backend. The difficulty is in integrating it with the sharepoint js functions, due to lack of proper documentation. (Also the js functions might change over different versions of sharepoint)

Also is it possible to create files/open files etc from the cache area on the client machine from server side code?


I'm not sure this answers your question, but one technique for customizing checkin/checkout is through SharePoint Event Receivers.

Here is an introduction to buolding Event Receivers with SharePoint.

0

精彩评论

暂无评论...
验证码 换一张
取 消