Get Field Value (ModelBuilder)

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 the ModelBuilder ribbon 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

LabelExplanationData 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

LabelExplanationData 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

Related topics