英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论