Webscript to retrieve information about all documents and folders

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2016 12:19 PM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2016 02:38 PM
* 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?
* When you're accessing it from the server, any error is logged into alfresco.log file?
