rename_layer
Rename a layer or table in an ArcGIS Pro map's table of contents by specifying its current name and new display name.
Instructions
Rename a layer in the table of contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | No | Map to act on; defaults to the active map. | |
| new_name | Yes | New display name. | |
| layer_name | Yes | Layer or table name as shown by get_layers, or a full dataset path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |