Set Data Source path with Python

200
1
Jump to solution
04-14-2021 10:30 AM
Labels (1)
anamanvil
New Contributor II

Hi All,

I have been trying to set the data source of a feature layer (which I used as a Styling Template) with a new Shapefile path using Python in ArcGIS Pro.

Do you know if this is doable and if so, share with me the scrip line?

Thanks.

Ana

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Frequent Contributor

Not as simple as arcmap was, but you can update the connectionproperties dictionary Updating and fixing data sources—ArcGIS Pro | Documentation

 

View solution in original post

1 Reply
DavidPike
MVP Frequent Contributor

Not as simple as arcmap was, but you can update the connectionproperties dictionary Updating and fixing data sources—ArcGIS Pro | Documentation