Description
When a domain is applied to a field in ArcGIS Pro, the expected domain drop-down list in the attribute table is replaced by a text box. This issue complicates data entry by preventing users from selecting predefined values provided by the domain.
In this example, although a domain is assigned to the Status field, the domain drop-down list is not displayed in the attribute table.
Cause
The feature class contains a subtype field requiring a domain assigned at the subtype level. The domain drop-down list does not display subtypes without an assigned domain. For more information, refer to ArcGIS Pro: Apply a domain to a field.
Solution or Workaround
Use the Assign Domain To Field tool
- Open the ArcGIS Pro project.
- On the Analysis tab, in the Geoprocessing group, click Tools.
- In the Geoprocessing pane, search for and click the Assign Domain To Field tool.
- In the Assign Domain To Field pane, on the Parameters tab, specify the following parameters.
- For Input Table, select the feature layer.
- For Field Name, select the field to assign the domain to.
- For Domain Name, select the appropriate domain name.
- For Subtype, click Select All to apply the domain to all subtypes. Alternatively, check the check box in the list of subtypes to apply the domain to specific subtypes.
- Click Run.
Assign a domain to each subtype in the Subtypes view
- Open the ArcGIS Pro project.
- In the Contents pane, select the feature layer. On the Data tab, in the Data Design group, click Subtypes.
Note:
Alternatively, in the Contents pane, right-click the feature layer and click Data Design > Subtypes.
- In the Subtypes view, for the field to assign the domain to, double-click the Domain column for each subtype and select the domain name from the drop-down list.
- On the Subtypes tab, in the Changes group, click Save.
The image below shows the domain drop-down list for the Status field in the attribute table in ArcGIS Pro.