Skip to main content
Skip table of contents

Operation: List Folder

The List Folder 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 adapter for the List Folder operation to list PDF files from the folder defined in the path parameter.

Parameters

Value

pathC:\MyFolder
nameFilter*.pdf

Output

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

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

If this problem persists, please contact our support.