<?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: jQuery/User Search Questions in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-user-search-questions/m-p/458720#M42360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Am I able to retrieve specific data and display it outside of the map and just onto a table or a website?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Sure the Query class returnGeometry property can be set to false if you do not need the spatial portion and only need the data attributes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 May 2020 12:19:05 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-05-17T12:19:05Z</dc:date>
    <item>
      <title>jQuery/User Search Questions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-user-search-questions/m-p/458717#M42357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For reference, this is the data I want to access:&amp;nbsp;&lt;A class="link-titled" href="https://adds-faa.opendata.arcgis.com/datasets/e747ab91a11045e8b3f8a3efd093d3b5_0" title="https://adds-faa.opendata.arcgis.com/datasets/e747ab91a11045e8b3f8a3efd093d3b5_0"&gt;Airports&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to pull only certain parts of the data available from that reference based on what a user searches for. In particular, the airport name, code, and latitude/longitude. I want to then display that information on a Google map, not an ArcGIS map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have spent this week assuming I could do that via jQuery/AJAX, but I am beginning to think I have a misunderstanding of what AJAX is meant for. An example would be a user types in "LAX" and the returned result plots a location on a Google map and then displays the airport information available, such as address, phone number, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on that, I have some questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) Can I use jQuery/AJAX to achieve what I want to do?&lt;/P&gt;&lt;P&gt;2.) If yes, how do you query that data set? There are two types of files (GeoService and GeoJSON)&lt;/P&gt;&lt;P&gt;3.) The code I have thus far, and I'll post it if I'm at least on the right track, continually returns all of a particular data field, such as all airport codes. It's not limiting it to only what the user searched for. And this is on a locally hosted JSON file, not the ArcGIS server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2020 00:12:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-user-search-questions/m-p/458717#M42357</guid>
      <dc:creator>RobertSmith</dc:creator>
      <dc:date>2020-05-16T00:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: jQuery/User Search Questions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-user-search-questions/m-p/458718#M42358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I would recommend using the JS API and use the service url.&lt;/P&gt;&lt;PRE style="color: #4c4c4c; background-color: #fafafa; border: 1px solid #cccccc; font-size: 13px; margin: 0px 0px 10px; padding: 9.5px;"&gt;&lt;A href="https://services6.arcgis.com/ssFJjBXIUyZDrSYZ/arcgis/rest/services/US_Airport/FeatureServer/0/query?where=1%3D1&amp;amp;outFields=*&amp;amp;outSR=4326&amp;amp;f=json" style="color: #002757; background-color: transparent; text-decoration: underline;" target="_blank" title="geoservice query url"&gt;https://services6.arcgis.com/ssFJjBXIUyZDrSYZ/arcgis/rest/services/US_Airport/FeatureServer/0&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;You can use a QueryTask to query the data you want and you can add the graphics returned to a GraphicsLayer to add to the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no need to add 3rd party library like jQuery when this can all be done in the esri JS API.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2020 22:15:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-user-search-questions/m-p/458718#M42358</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-05-16T22:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: jQuery/User Search Questions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-user-search-questions/m-p/458719#M42359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply. I did some looking into this and this may be an option for a starting point. Am I able to retrieve specific data and display it outside of the map and just onto a table or a website? Some of the information I need doesn't need to be on the map, while the rest can.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2020 00:50:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-user-search-questions/m-p/458719#M42359</guid>
      <dc:creator>RobertSmith</dc:creator>
      <dc:date>2020-05-17T00:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: jQuery/User Search Questions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-user-search-questions/m-p/458720#M42360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Am I able to retrieve specific data and display it outside of the map and just onto a table or a website?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Sure the Query class returnGeometry property can be set to false if you do not need the spatial portion and only need the data attributes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2020 12:19:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-user-search-questions/m-p/458720#M42360</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-05-17T12:19:05Z</dc:date>
    </item>
  </channel>
</rss>

