Good afternoon
How can I add in an EB application for editors/administrators the following functionality to a specific layer. Reset a field to a default value, "No".
How will you implement this? What type of widget do you recommend?
In Python and ArcGIS Pro and Notebook I will do something like that:
feature_class = "your_feature_class"
with arcpy.da.UpdateCursor(feature_class, ["Flag"]) as cursor:
for row in cursor:
row[0] = "" # Set the "Flag" field to an empty string
cursor.updateRow(row)