AnsweredAssumed Answered

Webscript to retrieve information about  all documents and folders

Question asked by kingkong on Jul 12, 2016
Latest reply on Jul 12, 2016 by muralidharand
Hey everybody,

I'm searching for a webscript to get information about all documents and folders in the repository.
I need all documents that are stored and information about them such as name, node, isFavourite, isLiked and so on.
I found the following webscript:
http://localhost:8080/alfresco/service/slingshot/doclib/doclist/all/node/alfresco/company/home?filter=favourites

It returns the perfect set of information, but only for those nodes that are marked as favourites. I tried to remove the filter, but then the result set is not useful anymore. It then contains only the seven folders "Shared", "IMAP Attachements", "Guest Home", "User Homes", "Sites" and so on but does not retrieve files and folders nested in subfolders.

Furthermore, the script mentioned above is working perfectly fine on my local Alfresco instance, but after deploying it on the server, the result set is empty, even if I mark documents as favourites. What could be the reason therefore?

Thank you very much in advance!

Kind regards
Philipp

Outcomes