shrug-l: Editing feature services in ArcGIS Online

Duane Treadon duanet at thomasville.org
Fri Oct 14 11:48:02 EDT 2016


Final update ISSUE SOLVED!! :)

As suspected it was a permission issue but I could not find out where the permission issue was coming rom.  In the end, and after a suggestion from a reply on Stack Exchange, I found out I needed to give permission to the server (arcgispsa) from the dataset using ArcCatalog.  All the permission were given on the SQL server but not in ArcCatalog.  Who knew..... Well thankfully someone did.

Thanks for all the replays for they helped me get to the root problem and eventually a solution.

Duane 'JT' Treadon, GISP
Director of GIS | City of Thomasville | Technology Resources
Office: (229) 227-4023 | Cell: (229) 221-5991
111 Victoria Place | P.O. Box 1540 | Thomasville, GA | 31799

The Power of Community. The Power of Service.


From: Duane Treadon
Sent: Wednesday, October 12, 2016 11:54 AM
To: 'SHRUG-L at lists.dep.state.fl.us'
Subject: FW: Editing feature services in ArcGIS Online

UPDATE:

Thanks for the great response I've received so far.  The suggestions given have led me to what appears to be a permissions issue.  When I reviewed the server log I came across this log entry.

VERBOSE

Oct 10, 2016, 3:49:05 PM

Error while adding a Feature/ Object Layer/Table: LocalGovernment.DBO.EmergencyShelter.

emergencyManagement/EM_Shelters.MapServer

SEVERE

Oct 10, 2016, 3:49:05 PM

Error: Insufficient permissions [LocalGovernment.DBO.EmergencyShelter].

emergencyManagement/EM_Shelters.MapServer


I have checked the feature service in server manager and it is unlocked.  In ArcGIS Online the feature service and map are set to allow access to members of the Emergency Management group (I am a member of that group).  Also, in server manager, under feature service settings Create, Query, Update, and Delete are checked for operations allowed.

So where else do I need to check for permissions?  On the Geodatabase? SQL server?  I am at a loss.

The crazy behavior to me is that it will let me edit existing shelter points on the map in ArcGIS Online and the ArcGIS App.  I can change the data in the fields and even move or delete the point.  I have confirmed that these edits are being written back to the geodatabase on the server.  The only thing I cannot do is add a new point.  When on the edit tab the Add Features column appears on the left and I can select a point type (mine is set for shelter status).  The cursor changes with an added box by it saying "Click to add a point. Press CNTL to enable snapping."  But nothing happens when I click to add a new shelter location.

We are running, Server 10.2.2, I used ArcMap 10.2.2 to create the layer and publish it and our SDE geodatabase is 10.2.2.  So all on the same version.

So again I cry out for suggestions on what might be going wrong or a setting I should check on.

Thanks all,

Duane 'JT' Treadon, GISP
Director of GIS | City of Thomasville | Technology Resources
Office: (229) 227-4023 | Cell: (229) 221-5991
111 Victoria Place | P.O. Box 1540 | Thomasville, GA | 31799
The Power of Community. The Power of Service.


From: Duane Treadon
Sent: Monday, October 10, 2016 3:23 PM
To: 'SHRUG-L at lists.dep.state.fl.us'
Subject: Editing feature services in ArcGIS Online

Hi all,

So I need some help in setting up editing in ArcGIS Online/Collector/map apps.

I am working with the emergency shelter point layer in the public safety planning feature set of the LGIM.  I have published the layer as a feature service and added it to a map in ArcGIS Online.  After saving the map I started my testing of edit functions.


When in ArcGIS Online or the collector app (dynamic not downloaded version of the map) or the ArcGIS App for iPhone I can edit fields within the existing shelter point data that I have.  For example change the status of a shelter from open to close, change number of bed used, and on and on.  This information shows immediately on other devises viewing the map after a quick moving of the map to refresh.  It also shows up in ArcMap when I have the emergency shelter layer from the geodatabase after I refresh the geodatabase in ArcCatalog from within ArcMap.  I have also determined that I can delete an existing point from the map in ArcGIS Online or Collector app as well as move a point to another location.  All edits show across devices and ArcMap after refresh.

The one edit task that I cannot get to work is add a new point (shelter) to the map in ArcGIS Online or Collector.  In ArcGIS online I get the "Add Features' tab when I click on 'edit'.  I can choose a shelter point, i.e. Open, and when I move the cursor over to the map I get the "Click to add a point" box next to curser.  However when I click nothing happens.  In ArcGIS app or Collector similar function happens.  I can pick a place to add a point, populate the fields with data, but when I go to submit I get an error message saying, "An error occurred while posting feature edits: unable to complete operations." (ArcGIS App) And, "Update Failed, Unable to complete operation.  Internal error during object insert." (Collector App)

When I checked to feature service it appears that all function for editing is enabled.

Copy of text from bottom of feature information page.
~~~~~~~~~~~~~
Capabilities: Create,Delete,Query,Update,Uploads,Editing

Sync Can Return Changes: true

Is Data Versioned: true

Supports Rollback On Failure: false

Supported Operations:   Query   Apply Edits   Add Features   Update Features   Delete Features   Generate Renderer   Return Updates
~~~~~~~~~~~~~~

So to recap.  I have a feature service that has been published from ArcMap and being consumed in ArcGIS Online.  I can edit existing features of the service in ArcGIS Online map, Collector App, and ArcGIS App.  The edited fields are pushed to the Geodatabase and upon refresh they show up in ArcMap.  I can delete existing features also.  Only thing I cannot do is add a new point to the feather data.  Of note not mentioned before, when I view the service in ArcGIS Online I do not see the check boxes for 'Enable editing' on the settings tab under Feature Layer Settings.  I do have a test layer I uploaded to ArcGIS Online as a hosted services that does have the editing check box and allows full editing of the layer like I need but since it is hosted the data does not go back to our LGIM geodatabase.

Anyone out there adding new features using a feature service in collector/ArcGIS Online or the ArcGIS App?  How did you set your data up or service settings?  What am I missing.

Thanks all,


Duane 'JT' Treadon, GISP
Director of GIS | City of Thomasville | Technology Resources
Office: (229) 227-4023 | Cell: (229) 221-5991
111 Victoria Place | P.O. Box 1540 | Thomasville, GA | 31799
The Power of Community. The Power of Service.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20161014/9d0aeb3c/attachment.html>


More information about the SHRUG-L mailing list