AnsweredAssumed Answered

ArcGIS Javascript API Query

Question asked by GeosyntecBoston on Feb 16, 2016
Latest reply on Feb 17, 2016 by GeosyntecBoston

I have two polygon layers in a webmap service and want to do a dynamic query on click, such that when the user clicks on a lake (layer A) with ID = 100, the corresponding watershed boundary (layer B) with ID = 100 is highlighted. So basically, I want to pass the ID found on click from layer A and use that ID to query layer B by attribute. How do I do this?