Convert Value to ArcGIS Field Type Activity

Description

Converts a value to the type of an ArcGIS Field to allow the value to be assigned there. In the case of a numeric value, it may be converted based on the platform in use. Otherwise, the original value is returned. When run on a platform that has only one numeric datatype, the original value is returned.

Usage

When assigning a numeric value to a feature attribute in VertiGIS Studio Mobile, it may be necessary to convert the value to a smaller data type than the default Int32.

Inputs

Value

Required

Type: Object

The value to convert to a type that can be used in an ArcGIS Field.

Type

Required

Type: String

The data type of the ArcGIS Field where the value will be used.

Supported values are "double", "integer", "long", "oid", "single" and "small-integer".

Outputs

result

Type: Object

The value converted to the specified type.

Properties

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

Connectivity Requirements

This activity does not work when the device has intermittent connectivity to the network.