What is the easiest way to auto-update a geocode service in ArcGIS Server?

253
2
07-22-2021 02:33 PM
BrandonPrice2
Occasional Contributor

I could not find any info on this. Any suggestions would be appreciated.

0 Kudos
2 Replies
MichaelVolz
Esteemed Contributor

Is ArcGIS Server federated to Portal?  If so, I would suggest using the python API from Pro to code the stop and start of the geocode service and when the service is not running, I would run a script to rebuild the address locator that is the source of the geocode service.

0 Kudos
ShanaBritt
Esri Regular Contributor

The following help topic provides steps as well as a link to a sample script.

https://pro.arcgis.com/en/pro-app/latest/help/data/geocoding/keep-your-locator-up-to-date.htm#ESRI_S...

0 Kudos