getContentURL方法用于获取OpenCmis的内容,但无法正常工作。

huangapple go评论81阅读模式
英文:

getContentURL method for fetching contents for OpenCmis not working

问题

我是opencmis客户端的新手。我的要求是通过opencmis客户端获取已上传文档的URL。我基本上是通过以下代码尝试获取URL:

Document document= (Document)cmisSession.getObject(docuementID);
String link = document.getContentUrl();

我能够获取其他属性。
我的参数绑定类型是WEBSERVICES。

是否可能获取内容URL?

英文:

I am new to opencmis client. My requirement is to get the urls for the uploaded documents through opencmis client. I am basically trying to fetch the urls by the following code:

Document document= (Document)cmisSession.getObject(docuementID);
String link = document.getContentUrl();

I am able to get other properties.
Binding Type of my parameters is WEBSERVICES.

Is it possible to get the content url?

答案1

得分: 2

Webservices绑定不支持内容网址。如果可以的话,请切换到浏览器绑定。它支持内容网址,并且整体速度更快。

英文:

The Webservices binding does not support content URLs. If you can, switch to the Browser binding. It supports content URLs and is significantly faster overall.

huangapple
  • 本文由 发表于 2020年10月14日 12:30:41
  • 转载请务必保留本文链接:https://go.coder-hub.com/64346616.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定