AnsweredAssumed Answered

Query Layer from ArcGIS Online

Question asked by praveentpt on Nov 21, 2018
Latest reply on Nov 22, 2018 by rscheitlin

Hello,

I am new to ArcGIS JS API. I am trying to build logic to query a layer created by me. The intent is to build an analytic front-end. But, I am not able to access the layer without using the temporary token created for an app during development.

 

Right now, I do not have any other interest other than querying layer without manual login. How to access the layer? I am not able to figure it out as all samples do not have any authentication in front of them.

 

I have created a proxy service by creating an app but, the urls of layer server and proxy are different. I am not able to figure out how to configure esri.Config such that layer is fetched through proxy.

Outcomes