cancel
Showing results for 
Search instead for 
Did you mean: 

Webscript to retrieve information about all documents and folders

kingkong
Champ in-the-making
Champ in-the-making
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?filte...

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
1 REPLY 1

muralidharand
Star Contributor
Star Contributor
* Why do you want to retrieve all the documents and what you're going to do with that list?
* When you're accessing it from the server, any error is logged into alfresco.log file?