AnsweredAssumed Answered

How to use QueryParameters and specify outFields?

Question asked by Taimoor.Khan0 on Jul 9, 2018
Latest reply on Jul 10, 2018 by Taimoor.Khan0

Hi, I'm trying to query a FeatureTable and receive data from specific output fields so that I can format that data and display it in my application. However, when I use FeatureTable QML Type | ArcGIS for Developers , the queryFeatures method which takes in a QueryParameters object, I can specify the whereClause but not the outfields. It seems the only way to specify the outfields is to use the ServiceFeatureTable's populateFromService, but that updates the map which I don't want. I simply want to query for the data and then I will use it for a graph or something else, so if I can see the data for each event being printed in the console log, I would be happy and be able to proceed. This is the data source:

Any help would be greatly appreciated.