I'm trying to edit a Feature Table hosted in my ArcGIS Server using the ArcGIS SDK for iOS and I'm having this error:
Error Domain=com.esri.arcgis.runtime.error Code=3 "Invalid argument" UserInfo={NSLocalizedDescription=Invalid argument, NSLocalizedFailureReason=JSON does not describe a feature layer.}
Here's my code:
self.featureServiceTable = AGSGDBFeatureServiceTable(serviceURL: self.url, credential: nil, spatialReference: nil)
self.featureServiceTable.loadCompletion = {[weak self] (error:NSError!) -> Void in
if error != nil {
print(error)
}
}
This is the hosted service: Layer: Usuario (ID: 3)
Solved! Go to Solution.
Hi Juan,
The error you get probably because the arguments is not correct.
I would recommend to take a look about our sample on this github, on line 317 you will see a snippet using AGSGDBFeatureServiceTable class:
We also have this documentation about how to edit features: Edit features—ArcGIS Runtime SDK for iOS | ArcGIS for Developers
Eventually, this is our API reference about AGSGDBFeatureServiceTable Class Reference
Hope this can help.
Hi Juan,
The error you get probably because the arguments is not correct.
I would recommend to take a look about our sample on this github, on line 317 you will see a snippet using AGSGDBFeatureServiceTable class:
We also have this documentation about how to edit features: Edit features—ArcGIS Runtime SDK for iOS | ArcGIS for Developers
Eventually, this is our API reference about AGSGDBFeatureServiceTable Class Reference
Hope this can help.