Hello Robert, first, thanks for all your work with the eSearch Widget. I am currently working on an configuration of it with a good amount of layers. I did most of the configuration in the config file itself. There are layers, where i have to use all fields every time. So i decided to try this: ... "fields": { "all": true }, ... Then i did a search by value and it gave me a error, because the query request sends: outFields=*,OBJECTID Took a look into Widget.js and found around line 2163 this: if (this.config.layers[layerIndex].fields.all) { fields[0] = "*"; } else { for (var i = 0, len = this.config.layers[layerIndex].fields.field.length; i < len; i++) { fields = this.config.layers[layerIndex].fields.field.name; } } if (!this.config.layers[layerIndex].existObjectId && fields.indexOf(this.config.layers[layerIndex].objectIdField) < 0){ fields.push(this.config.layers[layerIndex].objectIdField); } The layer has a OBJECTID field and it seams it was found. But "existObjectId" is always false. So OBJECTID will be added to the query outFields every time and the error comes up every time i do a search by value. Do i have to add anything else into the config file for this kind of layer or is this a bug?
... View more