{"error":{"code":400,"message":"Unable to complete operation.","details":["Unable to apply edits"]}}
Is it possible to edit a specific feature class that is contained in a geometric network via the AGS JSAPI? I am attempting to edit a point feature class (Lift Stations) that are part of our Sewer Network. I have all of the layers loaded into the .mxd, and can edit this layer inside of ArcMap; however, when I publish this layer to ArcGIS Server and attempt to edit this layer I get an error (via Firebug):{"error":{"code":400,"message":"Unable to complete operation.","details":["Unable to apply edits"]}}
I did a test, and exported this layer to a stand alone feature class outside of the geometric network, and the same code works. I can edit just fine...
I have it set up so that the users can only edit the attributes, and can not move the points.
Any help is greatly appreciated!
By the way you can use FeatureLayer.isEditable() method to find out whether it is editable or not.
{"error":{"code":400,"message":"Unable to complete operation.","details":["Unable to apply edits"]}}
I ran FL.isEditable(), and it is returning that it is editable. However, I still get the:{"error":{"code":400,"message":"Unable to complete operation.","details":["Unable to apply edits"]}}
when I attempt the save. Pointing the FL to a feature class outside of a geometric network allows me to save the edits. 😞
Hello,
Bug NIM-088473 : Unable to edit reprojected data that participaties in a geometric network in a feature service ?!!?
Bertrand L.