update-hosted-feature-service icon indicating copy to clipboard operation
update-hosted-feature-service copied to clipboard

Batch update multiple feature services

Open kcarrier opened this issue 9 years ago • 4 comments

Is it possible to batch update multiple feature services using one settings.ini file?

kcarrier avatar Nov 10 '16 15:11 kcarrier

Not as it is currently configured. You'd need to change the logic in the INI and in the update code to loop.

khibma avatar Nov 18 '16 20:11 khibma

@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 avatar Jun 26 '17 16:06 khibma

@khibma I'm happy to help with some doc updates if you point me to the right file. Maybe just the readme?

pdbartsch avatar Jun 27 '17 15:06 pdbartsch

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!

khibma avatar Jun 30 '17 20:06 khibma