10-12-2017 01:14 PM
I'm a new to Alfresco and am testing out some of our use cases. I want to be able to download custom list contents from the API. I've successfully created a custom list and can edit it online. I've successfully used the API Explorer and found meta data about my list. But, I can't find the method to actually download the contents of the list.
My searching keeps bringing me back to https://community.alfresco.com/docs/DOC-5527-cmis#Data_Lists_Access_Via_CMIS which would be great if it worked but the examples are marked "This section refers to a very old CMIS service URL." Is there a current URL to download list contents?
10-13-2017 04:29 AM
Hi:
A "similar" approach may be based in CMIS browser endpoint:
/alfresco/api/-default-/public/cmis/versions/1.1/browser/root/Sites/<short-site-name>/dataLists
Regards.
--C.
10-13-2017 07:41 PM
Thanks for pointing me in the right direction. I got it. For anyone else having the same problem,
This gives details on the lists themselves (result in image below)
/alfresco/api/-default-/public/cmis/versions/1.1/browser/root/Sites/<short-site-name>/dataLists
To get the list itself add the id from the cmisath value not the cmisbjectId value.
/alfresco/api/-default-/public/cmis/versions/1.1/browser/root/Sites/data-products/dataLists/f135eee4-29bc-4ecf-b967-5aa8500c83ab
Explore our Alfresco products with the links below. Use labels to filter content by product module.