Page 1 of 1

listDocuments function requires 'filename' argument

Posted: Fri Dec 02, 2016 2:32 pm
by flogical
As you can see here : http://docs.logicaldoc.com/resources/ws ... l#method27 In the request part, it mentions that the 'fileName' argument is NOT required. But when I am trying to use the listDocuments function it won't let me if I don't provide the 'fileName' argument.

I want to use listDocuments function without filtering for certain filenames. I want to get a full list of the documents in a folder. What can I do?

Re: listDocuments function requires 'filename' argument

Posted: Tue Dec 27, 2016 12:48 pm
by agaspa
Hi flogical,
listDocuments in fact needs that parameter and it is used as a filter on the names of the documents found.
If you want all the files of a folder just use the character "*" or pass and empty string ""