AnsweredAssumed Answered

Does v 4.3 support query, add, delete and update on tables?

Question asked by deleted-user-01arXz5EpgFA on May 17, 2017
Latest reply on May 18, 2017 by TSolow-esristaff

I can currently use the JS API v4.3 to create (new) a FeatureLayer object, load it, query it and perform updates on it using applyEdits.  But this only seems to work on data stored in a feature class accessed via a REST endpoint (url).  I also need to be able to access non-feature classes (i.e. regular tables in the database) preferably in the same manner.  Currently if I try to do this I get an error on the load() of the FeatureLayer - "The table feature service type is not yet supported". 


Is there some other class or mechanism I should be using in order to accomplish this task?  The REST service has both Layers AND Tables and I need to be able to access and update both but I have been unable to find a solution for the Tables.  Please let me know if this is possible and how best to approach this problem.  Thank you!