AnsweredAssumed Answered

Embed token as URL parameter in QueryTask

Question asked by jeff.pace on May 8, 2013
Latest reply on Sep 13, 2013 by dcoley
I have a query that is hitting a secure service.  My app is already validated and has a token.  I would like to append the token in the query so when i execute the task it works.

Bit I cant seeem to

If i add it as
var q = new esri.tasks.Query();                           q.maxAllowableOffset = 0;                 q.returnGeometry = true;                 q.token = mytoken;

it just gets ignored.

any ideas?
thanks

Outcomes