AnsweredAssumed Answered

IdentifyTask - What am I missing?

Question asked by processing... on Mar 9, 2016
Latest reply on Mar 9, 2016 by kenbuja

I have a thing that selects a layer. On map click, I set up some stuff but mostly follow the example on


The layer that I select is where I get the url from for the IdentifyTask. That doesn't work b/c IdentifyTask wants a service url.


Question 1: How do I return the service url from a feature layer?


Question 2: How do I figure out which layer, in the service, that I need for the IdentifyParameters.layerIds array?


Note, if I hard code a service into my code, the IdentityTask call back does return a proper response. I just need the middle goods to finish this.


Thank you