我正在对符合cmis 1.0的服务器使用 openCMIS 库,并且我注意到每当我在服务器(露天v3.2和v5.0服务器)上调用getRepositories时,我只会收到一个列表,其中包含一个与我期望的相对的存储库,即服务器上的根目录。如何使用opencmis库检索存储库根目录列表? 编辑 我对问题的措词不当,所以我会更好地解释。 我会怎么做要做的是能够获取实际的 存储库根ID (例如,alfresco中的store_root)否 根文件夹ID ,这样我就可以针对api利用它来检索它的直接子级,即与根文件夹处于同一层次级别的对象( 公司首页(在露天))
I am using the openCMIS library against a cmis 1.0 compliant server and I noticed that whenever I call getRepositories on the server (an alfresco v3.2 & v5.0 server) I only receive a list with one repository as opposed to what I was expecting, i.e. the list of roots on the server. How do I retrieve the list of repository roots using the opencmis library? EDIT I inappropriately phrased the question so I will explain better. What I would like to do is to be able to get the actual repository root id(i.e. store_root in alfresco for instance) NOT the root folder id , such that I can leverage that against the api to retrieve it's direct children i.e. objects at the same hierarchical level as root folder (Company Home in alfresco)
推荐答案Alfresco只有一个存储库,因此您看到的是正确的
Alfresco only has one repository, so what you are seeing is correct.
要了解如何获取根文件夹(即Company Home),然后如何获取根文件夹的子级,请参见此处。
To understand how to get the root folder (which is Company Home), then how to get the root folder's children, see here.
更多推荐
如何从CMIS存储库中检索“存储库根” ID /子代?
发布评论