Add Field Conflict Filter (Data Management)

Summary

Adds a field conflict filter for a given field in a geodatabase table or feature class.

Field conflict filters can be applied to versioned tables or feature classes to prevent conflicts from being identified when the same attribute is updated in the parent and child versions. Field conflict filters only apply for reconciles in which conflicts are defined by attribute.

Usage

  • Field conflict filters are not supported on the following fields: ObjectID, BLOB, fields that store geometry such as Shape, the Subtype field, network-related fields such as the enabled ancillary role and weight fields, or Editor Tracking fields.

  • When running from the tool dialog box, fields that already have filters applied and unsupported fields will not be displayed.

  • From Python, the ArcPy function ListFieldConflictFilters can be used to identify the fields that have filters applied.

  • Legacy:
    Field conflict filtering works in 10.2.1 and later release clients only. Earlier ArcGIS client releases will be blocked from opening tables or feature classes that have field conflict filters.

Syntax

AddFieldConflictFilter(table, fields)
ParameterExplanationData Type
table

Table or feature class containing the field or fields to which conflict filters will be applied.

Table View
fields
[fields,...]

Field or list of fields that will have conflict filters applied.

Field

Derived Output

NameExplanationData Type
out_table

The updated input geodatabase table or feature class

Table View

Code sample

AddFieldConflictFilter example 1 (Python window)

The following Python window script demonstrates how to use the AddFieldConflictFilter in immediate mode to add a single conflict filter to the phase field.

import arcpy
arcpy.env.workspace = "e:/Connections/airport.sde"
arcpy.AddFieldConflictFilter_management("Primary_UG", "phase")
AddFieldConflictFilter example 2 (Python window)

The following Python window script demonstrates how to use the AddFieldConflictFilter in immediate mode to add conflict filters to multiple fields at once.

import arcpy
arcpy.env.workspace = "f:/Connections/airport.sde"
arcpy.AddFieldConflictFilter_management("Primary_UG", ["phase", "material"])

Environments

Licensing information

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

Related topics