Content Services (ECM)
Process Services (BPM)
Application Development Framework
Digital Business Platform
Announcements & Opportunities
Alfresco Ambassador Program
Alfresco Content Services (ECM)
to create and rate content, and to follow, bookmark, and share content with other members. Not a member?
Question asked by
on Dec 10, 2013
on Dec 10, 2013 by jpotts
Show 0 Likes
Please let me know how to get root folder in CMIS
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Dec 10, 2013 10:59 PM
You haven't specified, but I'll assume you are talking about Alfresco on-premise. The following will work on-premise or in the cloud but if you are running against Alfresco in the cloud the URL will have your tenant ID instead of "-default-".
If you are looking for the root of the repository and you are using OpenCMIS, you can do:
Folder rootFolder = cmisSession.getRootFolder();
If you are looking for the root folder of a particular Share site, that isn't a CMIS call, that's an Alfresco API call. You do a GET on this URL:
/alfresco/api/-default-/public/alfresco/versions/1/sites/[SOME SITE ID]/containers
Show 0 Likes
Retrieving data ...
ADF 101 - Getting Started with Alfresco Application Development Framework
Object Storage Connectors
How to assign user task to a user/group?
CIFS / SMB - Version ?