AnsweredAssumed Answered

How to query and select three shapefile under one name as one unique value

Question asked by faryalshah on Aug 4, 2017
Latest reply on Aug 8, 2017 by rscheitlin
Branched from an earlier discussion

i am encountering problem with query i have to select three shapfile under one name as one unique value. it worked in arcmap but it does not work with arcgis javascrip api. my query is 

              url: "http://localhost:6080/arcgis/rest/services/........./query?where=Name ='" + id.toString() + "'&outFields=Soil&returnGeometry=false&orderByFields=Soil&returnDistinctValues= true&f=json",
              content: {
                f: 'json'
              handleAs: 'json',
              callbackParamName: 'callback',
              timeout: 15000
            }).then(lang.hitch(this, function(response) {
              var store2 = new Memory({
                data: []
but in coding when i have applied query it populate combobox like this in below image could anyone tell me what i am doing wrong?