Get Files In Directory Activity

Description

Returns a collection of all files for a given directory on the server.

Usage

A workflow could use the Get Files In Directory activity to loop through all the text (*.txt) files in a directory and use the Read File activity to read the text content of each of them.

Inputs

Path

Required

Type: String

The path of the directory to get file paths from.

Search Pattern

Optional

Type: String

The search pattern to use when getting file paths.

If no search pattern is provided, all file paths are returned.

Outputs

files

Type: String[]

The array of all (matching) file paths.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Supported Environments

Environments capable of running this activity

Server

 

Client

Geocortex Web

Geocortex Mobile

Geocortex Viewer for HTML5

Web AppBuilder

Offline Support

This activity does not work when the device is offline.

See Also...

The Directory.GetFiles(String) Method.

The Directory.GetFiles(String, String) Method.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.15