laptop and a wrench

Bug

Running the movelayer() method from the ArcPy mapping module in the ArcGIS Pro Python window does not update the layer order as expected.

Last Published: March 24, 2021 ArcGIS Pro
Bug ID Number BUG-000138288
SubmittedMarch 18, 2021
Last ModifiedJuly 6, 2025
Applies toArcGIS Pro
Version found2.7.1
Operating SystemWindows OS
Operating System VersionN/A
Version Fixed2.8
StatusFixed

Workaround

Manually move the layer in the Contents pane.

Steps to Reproduce

Bug ID: BUG-000138288

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