Skip to main content

Get Field Value (Model Tools)

Summary

Returns the value of the first row of a table for the specified field.

Learn how Get Field Value works in ModelBuilder

Usage

  • This tool is only available from ModelBuilder for use in models. The tool is not available from the Geoprocessing pane or from Python.

  • This tool differs from the Iterate Field Value tool as only the first row of the input table is read, and the value of the specified field in this row becomes the output.

Parameters

Label Explanation Data type

Input Table

The input table to get the value from.

Table View; Raster Layer

Field

The input field to get the value from. The value of the first record will be output.

Field

Data type

(Optional)

The data type of the output.

String

Null Value

(Optional)

The value to use for null values. The default is 0 for numbers and blank ("") for strings.

String

Derived output

Label Explanation Data type

Value

The value of the first row of a table for the specified field.

Any Value

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes