We have been trying to access several attribute fields using the query class. It works as expected using a layer from our own ArcGIS 10.1 server. However, when trying to access from an ArcGIS Online hosted feature service it can only access all the fields. If you try to specify only several fields it does not return anything. //this works query.outFields = ["*"]; // this does not work query.outFields = ["NAME", "STATE_ABBR", "POP04"];
Has anyone else experienced this issue? It appears to possibly be a bug using the Javascript API to query the hosted feature services.Thanks.John