Convert Data Table To CSV Activity

Description

This activity converts a data table to a Comma Separated Values (CSV) string.

Usage

The Run SQL Query activity could be used to run a database query and produce a data table. The data table could then be passed to the Convert Data Table To CSV activity to produce the CSV text representing a .csv file. Then use the Create Download activity to generate a URL that allows an end user to download the CSV text as a file, or use the Write File activity to save the CSV text to a file on the server.

Inputs

Data Table

Required

Type: DataTable

The data table to convert.

Delimiter

Optional

Type: String

The delimiter used to separate fields. The default is ",".

Outputs

result

Type: String

The result Comma Separated Values (CSV) string.

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.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.13