<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Query Layer from ArcGIS Online in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-layer-from-arcgis-online/m-p/90888#M8288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the pointer.&amp;nbsp;Just to confirm ArcGIS Online does not provide a proxy service and I have to set this up at another location.&lt;/P&gt;&lt;P&gt;Is my understanding correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Nov 2018 01:17:52 GMT</pubDate>
    <dc:creator>PraveenTirumandyam</dc:creator>
    <dc:date>2018-11-22T01:17:52Z</dc:date>
    <item>
      <title>Query Layer from ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-layer-from-arcgis-online/m-p/90886#M8286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am new to ArcGIS JS API. I am trying to build logic to&amp;nbsp;query a&amp;nbsp;layer created by me.&amp;nbsp;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now, I do not have any other interest other than querying layer without manual login.&amp;nbsp;How to&amp;nbsp;access the layer?&amp;nbsp;I am not able to figure it out as all&amp;nbsp;samples do not have any authentication in front of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2018 09:41:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-layer-from-arcgis-online/m-p/90886#M8286</guid>
      <dc:creator>PraveenTirumandyam</dc:creator>
      <dc:date>2018-11-21T09:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layer from ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-layer-from-arcgis-online/m-p/90887#M8287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Getting the access to the layer to go through the proxy is a matter of proper proxy deployment and configuration and the proper setting of the &lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;esri.config.defaults.io.proxyRules&lt;/SPAN&gt; and proxyUrl. The&amp;nbsp;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;esri.config.defaults.io.proxyRules is an array of objects that have&amp;nbsp;urlPrefix and proxyUrl properties. The urlPrefix would be the simple url to your secured map service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;The proxy.config must also contain the serverUrl that has the url for that same map service and mentioned earlier.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;A href="https://community.esri.com/groups/technical-support/blog/2015/04/07/setting-up-a-proxy"&gt;https://community.esri.com/groups/technical-support/blog/2015/04/07/setting-up-a-proxy&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2018 19:58:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-layer-from-arcgis-online/m-p/90887#M8287</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-11-21T19:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layer from ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-layer-from-arcgis-online/m-p/90888#M8288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the pointer.&amp;nbsp;Just to confirm ArcGIS Online does not provide a proxy service and I have to set this up at another location.&lt;/P&gt;&lt;P&gt;Is my understanding correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2018 01:17:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-layer-from-arcgis-online/m-p/90888#M8288</guid>
      <dc:creator>PraveenTirumandyam</dc:creator>
      <dc:date>2018-11-22T01:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layer from ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-layer-from-arcgis-online/m-p/90889#M8289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct you must host the proxy on your own web server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2018 14:23:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-layer-from-arcgis-online/m-p/90889#M8289</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-11-22T14:23:39Z</dc:date>
    </item>
  </channel>
</rss>

