Create Temp File Activity

Description:

Creates a temporary file that can be shared.

Inheritance Hierarchy:

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

Function:

This activity allows you to cache files to disk and obtain a URL to the cached file so that another application or user can download the file.

In a Workflow:

You would use this activity to cache the results of a Template Report, or similar activity, that creates a file. The URL to the cached file could then be presented by a Display Hyperlink activity so a user could download it.

Properties:

Name Description

In Arguments

Content

The file content/data.

Content Type

The content type of the file.

File Name

The file name.

Save File As

The file name that should be presented to an end user when saving this file.

Time To Live

The duration in minutes that the file should persist before it is discarded.

Misc

Display Name

CreateTempFile

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

File Id

The unique identifier of the temporary file.

Partial Url

A partial URL that can be used to access the temporary file. Typically this appended to the host application path. For example: "http://server/Geocortex/Essentials/REST/" + PartialUrl.

Version Information:

Supported from: Geocortex Essentials 3.8.