ListFieldConflictFilters

Summary

Lists the fields in a versioned feature class, table, or feature service layer that have field conflict filters applied.

Syntax

ListFieldConflictFilters (table)
ParameterExplanationData Type
table

Input geodatabase table, feature class, or feature service layer.

String
Return Value
Data TypeExplanation
String

A list containing strings for each field name that has conflict filters applied is returned.

Code sample

ListFieldConflictFilters example 1

List field conflict filters.

import arcpy

# Get a list of fields with conflict filters applied and print the name.
filteredFields = arcpy.da.ListFieldConflictFilters('C:/MyProject/municipal.sde/Primary_UG')
for field in filteredFields:
    print(field)
ListFieldConflictFilters example 2

List the field conflict filters for a feature service.

import arcpy

# Get a list of fields with conflict filters applied and print the name.
filteredFields = arcpy.da.ListFieldConflictFilters('https://myserver.com/server/rest/services/MyService/FeatureServer/0')
for field in filteredFields:
    print(field)

Related topics