Skip to main content
Skip table of contents

Operation: List

The List operation lists names and metadata of files and folders from the folder defined in the path parameter. Outputs an XML with metadata as a result.

1

The adapter operation was executed successfully.

-1

The folder doesn't exist.

Examples

The following example shows a sample parameterization of the List operation adapter to list PDF files that are in the folder defined in the path parameter.

Parameters

Value

path/MyFolder
nameFilter*.pdf

Output

XML
<?xml version="1.0" encoding="UTF-8"?>
<Entries>
   <Entry name="Document v1.pdf" isDirectory="false">
      <LastModified>2021-06-18T09:20:49.137675Z</LastModified>
   </Entry>
   <Entry name="Document v2.pdf" isDirectory="false">
      <LastModified>2021-06-18T09:20:49.137675Z</LastModified>
   </Entry>
   <Entry name="Document v3.pdf" isDirectory="false">
      <LastModified>2021-06-18T09:20:49.137675Z</LastModified>
   </Entry>
</Entries>
When a folder is listed, the isDirectory="true" attribute  is set.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.