AnsweredAssumed Answered

Change datasource in .lyr files in specific folder

Question asked by jsn on Oct 12, 2017
Latest reply on Oct 16, 2017 by rastrauch

Good afternoon everyone,

 

We have a folder  with 175 .lyr files. All .lyr files are pointing to an SDE instance and we need to change each lyr data source to point to another SDE instance.

 

I am looking for a way to do that in python where I can loop through all files in the folder and change their datasource.

 

Thanks

Outcomes