Read Temp File Activity

Description:

Reads the content of a temporary file created by the Create Temp File activity.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.AsyncCodeActivity
      Geocortex.Workflow.Activities.ReadTempFile

Function:

This activity reads a temporary file based on the File Id provided. The temporary file would typically have been created by the Create Temp File activity. The file is read as byte data.

In a Workflow:

The Read Temp File activity can be used to read the content of an existing temporary file. A workflow might first use the Create Temp File activity to store some data. The Create Temp File activity returns both a unique File Id and a URL to the file. Later in the workflow you might need the content of the file again. You can use the Read Temp File activity to load the content directly rather than using activities like Web Request, Download String, or Download Image that load the content via HTTP requests.

Properties:

Name Description

In Arguments

File Id

The unique identifier of the temporary file.

Misc

Display Name

ReadTempFile

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Out Arguments

Content

The file content/data.

Version Information:

Supported from: Geocortex Essentials 4.2.