Title Update Data Sources
Use this tool to convert the data source of layers in the maps in the current ArcGIS Pro project to a workspace.
This tool changes the data source of the maps to a new workspace. This will convert between file geodatabase, enterprise geodatabase, and feature services. When changing from or to a feature service, the layer alias name in the service (with or without spaces) must match the class name alias.
AdjustDataSources (target_workspace, maps, {update_sr})
Parameter | Explanation | Data Type |
---|---|---|
target_workspace |
Dialog Reference
The new workspace for the layers. There is no python reference for this parameter. |
DEWorkspace |
maps |
Dialog Reference
The maps in the current ArcGIS Pro project to update the data source in. There is no python reference for this parameter. |
GPMap |
update_sr (Optional) |
Dialog Reference
Use the spatial reference from the first feature class to update the maps spatial reference. The error layers are ignored as they are always in 102100. There is no python reference for this parameter. |
GPBoolean |
There are no code samples for this tool.
There are no tags for this item.
There are no credits for this item.
There are no access and use limitations for this item.