Dropbox Search

Use this activity to search for files. It performs a text search of file names and directory names, but the content of files is not searched.

Configuration

The Configuration tab has the following fields that identify which Dropbox connection to use and the type of object to be deleted.

Field Description
Connection Dropbox connection name. If you have created multiple Dropbox connections, select the one you want to use in this flow.

Input

The Input tab has the following fields.

Field Description
startPath The full path to the folder from which to start searching. (path must start with "/").
searchText The text in the file name or directory name.
pageSize pageSize controls how many search results items you would like to see on each page. For example, if you specify 25, you will get a maximum of 25 search result items on each page.

 

It defaults to 20 if the field is left blank. You can use this field combined with the pageNum filed to control the volume of search results in the output.

pageNum pageNum is the page number of paginated result that you want to display. For example, if you set pageSize to 20 and pageNum to 4, and 100 files match the search criteria, there will be 5 pages with 20 items on each page (1-20 file names on page 1, 21- 40 on page 2, 41-60 on page 3, 61-80 on page 4, and 81-100 on page 5) . Since you set pageNum to 4, the search will display only what appears on page 4 (61-80), hence it skips the first 60 file names on the first three pages of the result and also the last 20 file names on the fifth page.

It defaults to 1 if the field is left blank. You can use this field combined with the pageNum filed to control the volume of search results in the output.

Output

The Output tab has the following fields.

Field Description
files The files field contains a list of metadata objects for all the files that match the search criteria.
error The error field contains the errorCode and a corresponding message for the errorCode.