Loading data into cloud-hosted service

2658
5
Jump to solution
01-18-2016 10:16 AM
NorthSouthGIS
Occasional Contributor II

I have a feature service that is solely cloud-hosted. I need to load data into the service. I have many features to add, so I don't want to do this manually. Is there a way to load the features from the data directly to the feature service? I cannot do this after export, because then the data would be disconnected and multiple people are editing the service at once. I cannot use Server, and I must leverage AGOL. Is there a pre-existing tool? Something designed for AGOL?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
NorthSouthGIS
Occasional Contributor II

up voaccept

  1. add hosted service to arcmap
  2. create local copy for editing
  3. start editing layer
  4. navigate to temporary database in catalog
  5. find associated layer and load data
  6. save edits and stop editing
  7. sync local edits to server

Tested and approved on a cloud-hosted feature service.

View solution in original post

5 Replies
XanderBakker
Esri Esteemed Contributor

In case you cannot edit the hosted feature service in ArcMap, I guess you could use ArcREST:

ArcREST/adds_rows_to_service.py at master · Esri/ArcREST · GitHub

NorthSouthGIS
Occasional Contributor II

You may not know, but in this script... line 32 ... "#LDAP, NTLM, OAuth, Portal, PKI" is commented and I assume these are the only usable types for this parameter? If so, do you think there is a way to use this without Portal? Simply ArcGIS Online? Which one is appropriate? OAuth? And then add my credentials?

0 Kudos
XanderBakker
Esri Esteemed Contributor

You are right, I don't know. However OAuth using an AGOL user with the proper role sounds OK to me.

0 Kudos
NorthSouthGIS
Occasional Contributor II

up voaccept

  1. add hosted service to arcmap
  2. create local copy for editing
  3. start editing layer
  4. navigate to temporary database in catalog
  5. find associated layer and load data
  6. save edits and stop editing
  7. sync local edits to server

Tested and approved on a cloud-hosted feature service.

BruceHarold
Esri Regular Contributor

Hi

FME 2016 supports insert, update and delete for feature services, including multiple service layers.  This functionality will come to Esri's Data Interoperability extension too, later this year.