laptop and a wrench

Bug

The attribute table does not refresh to reflect changes after updating using UpdateCursor or InsertCursor.

Last Published: August 16, 2019 ArcGIS Pro
Bug ID Number BUG-000111652
SubmittedFebruary 14, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found2.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

Add cursor.updateRow(row) as the last line of the code: aprx = arcpy.mp.ArcGISProject("CURRENT") m=aprx.listMaps("Map")[0] fc = m.listLayers()[0] fields = ['value'] with arcpy.da.UpdateCursor(fc, fields) as cursor: for row in cursor: row[0] = 'd' cursor.updateRow(row)

Workaround

Click the Refresh button on the bottom right corner of the attribute table to manually refresh the view.

Steps to Reproduce

Bug ID: BUG-000111652

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options