AnsweredAssumed Answered

It is posible to add/update feature table (without geometry) hosted in ArcGIS Server with the iOS SDK?

Question asked by juanrios on Aug 8, 2016
Latest reply on Sep 7, 2016 by Yue_Wu-esristaff

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)

Outcomes