Main site accessible via CMIS, but how to access other sites and sub-sites?
Question
The main site can be accessed via CMIS URL http://server/_vti_bin/cmis/rest?getRepositories
.
But the list of repositories at this address does not seem to include other sites and sub-sites.
How to access them?
- Does they have their own, different CMIS URLs?
- Are they accessible at the same CMIS URLs via any other trick?
Solution
It is important to activate CMIS for each site and sub-site:
Once this is done, CMIS can be accessed at this endpoint URL:
http://site/subsite/_vti_bin/cmis/rest?getRepositories
(There are various rumours about alternative URLs, for instance http://server/sub/site/_vti_bin/ListData.svc
. And according to this blog, the CMIS URL syntax for sub-sites is http://server/sub/site/_vti_bin/ListData.svc/ListName
)
OTHER TIPS
From Technet I get the impression that in
http://web/_vti_bin/cmis/rest/[repositoryid]?command
the http://web
should be the URL to the Web (site or sub-site) you want to get content from
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange