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.
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.
AddFieldConflictFilter_management (table, fields)
Table or feature class containing the field or fields to which conflict filters will be applied.
Field or list of fields that will have conflict filters applied.
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"])
- ArcGIS Desktop Basic: No
- ArcGIS Desktop Standard: Yes
- ArcGIS Desktop Advanced: Yes