Assign Domain To Field (Data Management)

ArcGIS Pro 3.4 | | Help archive

Summary

Sets the domain for a particular field and, optionally, for a subtype. If no subtype is specified, the domain is only assigned to the specified field.

Usage

  • Domain management involves the following steps:

    1. Create the domain using the Create Domain tool.
    2. Add values to or set the range of values for the domain using the Add Coded Value to Domain tool or Set Value For Range Domain tool.
    3. Associate the domain with a feature class using this tool.
  • One attribute domain can be associated with multiple fields in the same table, feature class, or subtype as well as in multiple tables and feature classes.

  • The Input Table parameter accepts feature layers or table views.

Parameters

LabelExplanationData Type
Input Table

The name of the table or feature class containing the field that will be assigned a domain.

Table View
Field Name

The name of the field that will be assigned a domain.

Field
Domain Name

The name of a geodatabase domain that will be assigned to the field name. Available domains will be loaded automatically.

String
Subtype
(Optional)

The subtype code that will be assigned a domain.

String

Derived Output

LabelExplanationData Type
Updated Input Table

The updated input table.

Table View

Licensing information

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

Related topics