Batch update multiple feature services
Is it possible to batch update multiple feature services using one settings.ini file?
Not as it is currently configured. You'd need to change the logic in the INI and in the update code to loop.
@pdbartsch was good enough to add a PR to implement multiple feature services. His approach makes use of multiple .INI. (each INI controlling how the particular service is updated. So you'd have a directory of .INI files). He added it here: https://github.com/khibma/update-hosted-feature-service/blob/master/update_directory.py
I'll work on pushing it from my personal repro to the arcpy one. (I'll need to do some doc updates)
@khibma I'm happy to help with some doc updates if you point me to the right file. Maybe just the readme?
Ya, the readme would be great if you have time. https://github.com/arcpy/update-hosted-feature-service/blob/master/README.md
I wont have time till after the UC to look at this again. So if you get to it before me, great, else I'll work on it then. thanks!