AnsweredAssumed Answered

Update map service rest url using arcpy

Question asked by tppunetha on Nov 28, 2019



I have to update map service rest urls from system test environment to production environment. For example 

system test environment service url :

Production env url :


As you see above only environment server is different in map service url, I have make these changes for around 54 urls and in 24 config files. Manually its a time consuming process to make changes in config files, I am looking for arcpy snippet to automate this process.