Workflow Activity Pack Documentation

⌘K
  1. Home
  2. Docs
  3. Workflow Activity Pack Do...
  4. Conversion Activity Refer...
  5. CSV to FeatureSet

CSV to FeatureSet

Description

CSV to FeatureSet converts a CSV to an Esri FeatureSet.

Offline Support

Supported. Please contact us directly to license for offline support and installation instructions.

Inputs

File Object

Required
Type: Object

A JavaScript File object (e.g., from the File Picker form widget).

Has Header Row

Optional
Type: Boolean

Specifies whether the first table row’s column values are headers or descriptors for the rest of the table column data.  Defaults to “True” 

Delimiting Character

Required
Type: String

A single character that is used as the field separator in the input file.  Defaults to “,” 

Decimal Separator

Optional
Type: String

The character used to separate the integer from the fractional part of a number (different in other countries).  Defaults to “.” 

Thousands Separator

Optional
Type: String

The character used to separate groups of digits.  Defaults to “,” 

Outputs

Result

Type: Object

Properties: 

success: Type: Boolean
data:  Type: Blob 
error:  Type: String

A response object that contains a success value, an Esri FeatureSet (on success), or an error message (on error) 

Properties

ID

Optional

The activity’s ID, which is used in other activities to access the activity’s output. The ID must be unique across the entire workflow and it’s subworkflows – two activities cannot have the same ID.

You might want to change the ID to shorten it. Shorter IDs make expressions more compact.

Display Name

Optional

The activity’s name in Workflow Designer. The display name appears at the top of the activity on the design surface. The default display name for this activity is CSV to FeatureSet.

You might want to change the display name to a name that describes what the activity does in the context of your workflow. Description names make workflows easier to understand and maintain.

Description

Optional

A description of what the activity does. The description appears below the activity’s display name.

Use the description to record what the activity does in the context of the workflow. Descriptions make workflows easier to understand and maintain.