I'm trying to set up a process to keep hosted feature layers in sync from a FGDB.
I've been going through various documentation, such as this article:
Manage hosted web layers—ArcGIS Online Help | ArcGIS
...but it leaves me at:
It was published from a client other than the ArcGIS Online website. If you published the hosted feature layer from ArcMap, overwrite the service from ArcMap.
So how do you overwrite the service from ArcMap?
I'd like to make the service name remains the same, as it will be in use from a javascript application.
So far I can use the 'upload service definition' tool in ArcGIS Desktop, but I don't see anywhere an option to sync or update the data in a service from an ArcMap tool.
Thanks!
Yes, but it would be a coding challenge.
I have been using Data Interoperability extension in ArcGIS Pro 1.2 to read and write feature services.
This release has good support for feature services, and you can use the ChangeDetector (for example) to create a delta set of features to overwrite, without any downtime or bulk overwrite, treating your FGDB as the master database.
The fme_db_operation format parameter can be used to control INSERT/UPDATE/DELETE behavior if you have a mixture, or the writer settings.