laptop and a wrench

Bug

When using os.getcwd to define a workspace and a file path, the Delete Field (Data Management) tool in a Python script removes the deleted layer from the MXD.

Last Published: August 19, 2020 ArcGIS for Desktop
Bug ID Number NIM092744
SubmittedJune 28, 2013
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.1
Operating SystemWindows OS
Operating System Version7
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle.  If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

Use the absolute file paths in a script or close the map document prior to running a script.

Steps to Reproduce

Bug ID: NIM092744

Software:

  • ArcGIS for Desktop

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