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)
相关问题
- Error in calling CMIS Query if String contains sin
- Packages not defined
- Transfer content from one Alfresco instance to ano
- Find all files in a site with Alfresco 4.1 webscri
- alfresco community 5.0.d - Import categories
相关文章
- How to setup alfresco jlan file server as a standa
- what is type and aspect in alfresco?
- How to get Acls of a document?
- How to create site in share programmatically?
- Alfresco share login issue
- How to call synchronous ajax call in alfresco?
- Disable the user home folder creation
- CmisObjectNotFoundException when trying to access
Alfresco only has one repository, so what you are seeing is correct.
To understand how to get the root folder (which is Company Home), then how to get the root folder's children, see here.
worked fine for me test it : first you have to create a session and connect it with this :
after that only use this
hope that helped you