This is the function (with the address passed into val), as far as I can tell the parameters are passed in as an object, and the promise returns the value returned by the geocode service. I just get a 0 length array when I do this. (The city, "GILB", is an abbreviated city code that we use in our streets layer. This works when querying the geocode service itself).
window.alert(val + " Not Found (geo)");
The response I get is the 0 length array, and not the "Not Found" dialog, so I think this is not creating an error, just not getting the value from the geocode service.
If anyone has had success with this, and would be willing to point me in the right direction, I would be grateful.
Thank you in advance for your assistance.