<?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: Manage results from multiple queries sandbox example setup in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486004#M45234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert for all your help. I again checked the map and it shows the same thing as above- shared with Everyone (public).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/399248_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try searching other places on GeoNet for a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2018 15:05:07 GMT</pubDate>
    <dc:creator>MaddyKelley</dc:creator>
    <dc:date>2018-03-19T15:05:07Z</dc:date>
    <item>
      <title>Manage results from multiple queries sandbox example setup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486000#M45230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/query_deferred_list.html" title="https://developers.arcgis.com/javascript/3/jssamples/query_deferred_list.html"&gt;Manage results from multiple queries | ArcGIS API for JavaScript 3.23&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am interested in modifying the API javascript&amp;nbsp;example above. I am confused on the maps and data the example is referencing. I have an ArcOnline map ready to go with shared polygon data. When I try to change the referenced map and data below the app breaks. I think I might be using the wrong formats. My map and data aren't 'Map Servers'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated&lt;/P&gt;&lt;P&gt;Sandbox example:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/399214_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;My web map:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://dugis.maps.arcgis.com/home/webmap/viewer.html?webmap=e350b9fa73314f78b356aef06fc6308d" title="http://dugis.maps.arcgis.com/home/webmap/viewer.html?webmap=e350b9fa73314f78b356aef06fc6308d"&gt;http://dugis.maps.arcgis.com/home/webmap/viewer.html?webmap=e350b9fa73314f78b356aef06fc6308d&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2018 20:04:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486000#M45230</guid>
      <dc:creator>MaddyKelley</dc:creator>
      <dc:date>2018-03-18T20:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Manage results from multiple queries sandbox example setup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486001#M45231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The web map link you shared in this thread is not public so I can not view the layers you are using in that web map. The fact that your layer are likely FeatureServer service vs MapServer services like the sample is not going to be an issue. Are the services you are using in your web map shared publicly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 13:30:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486001#M45231</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-03-19T13:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Manage results from multiple queries sandbox example setup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486002#M45232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, maybe that is part of the problem? When I check the map and the two layers it contains, all items say they are shared. See below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/399220_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any recommendations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 14:47:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486002#M45232</guid>
      <dc:creator>MaddyKelley</dc:creator>
      <dc:date>2018-03-19T14:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Manage results from multiple queries sandbox example setup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486003#M45233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;So the layers are public but the web map seems like it is not so I can not look at the web map to get to the layer urls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 14:58:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486003#M45233</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-03-19T14:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Manage results from multiple queries sandbox example setup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486004#M45234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert for all your help. I again checked the map and it shows the same thing as above- shared with Everyone (public).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/399248_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try searching other places on GeoNet for a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 15:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486004#M45234</guid>
      <dc:creator>MaddyKelley</dc:creator>
      <dc:date>2018-03-19T15:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Manage results from multiple queries sandbox example setup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486005#M45235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, it seems that your whole org is not public and that is why I am getting challenged to log in when trying to access your web map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 15:18:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486005#M45235</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-03-19T15:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Manage results from multiple queries sandbox example setup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486006#M45236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah! I figured it out. Here is the correct URL for the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.arcgis.com/home/webmap/viewer.html?webmap=8e5f8705d24943eebc1c18ff18d1dc55&amp;amp;extent=-105.5327,40.0453,-105.0257,40.2655" title="https://www.arcgis.com/home/webmap/viewer.html?webmap=8e5f8705d24943eebc1c18ff18d1dc55&amp;amp;extent=-105.5327,40.0453,-105.0257,40.2655"&gt;https://www.arcgis.com/home/webmap/viewer.html?webmap=8e5f8705d24943eebc1c18ff18d1dc55&amp;amp;extent=-105.5327,40.0453,-105.025…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem remains after I use these new URLs. At this point, I am not accepting the query function to work (more changes still needed). But shouldn't the map load?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/399290_pastedImage_1.png" style="width: 620px; height: 189px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/////////////////////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;// Modified MMK now my map&lt;BR /&gt;app.map = new Map("map"); &lt;BR /&gt;&lt;SPAN&gt;var basemap = new ArcGISDynamicMapServiceLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com%2Fhome%2Fwebmap%2Fviewer.html%3Fwebmap%3D8e5f8705d24943eebc1c18ff18d1dc55%26extent%3D-105.5327%2C40.0453%2C-105.0257%2C40.2655" rel="nofollow" target="_blank"&gt;https://www.arcgis.com/home/webmap/viewer.html?webmap=8e5f8705d24943eebc1c18ff18d1dc55&amp;amp;extent=-105.5327,40.0453,-105.0257,40.2655&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;BR /&gt;app.map.addLayer(basemap);&lt;/P&gt;&lt;P&gt;// query task and query for parcels &lt;BR /&gt;//modified my MMK now BOCO building footprint polygons&lt;BR /&gt;&lt;SPAN&gt;app.qtParcels = new QueryTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices1.arcgis.com%2F44C95LOqZjbh8Row%2Farcgis%2Frest%2Fservices%2FBuildingRelateDepth%2FFeatureServer%2F0" rel="nofollow" target="_blank"&gt;https://services1.arcgis.com/44C95LOqZjbh8Row/arcgis/rest/services/BuildingRelateDepth/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;BR /&gt;app.qParcels = new Query();&lt;BR /&gt; &lt;BR /&gt;// query task and query for landuse &lt;BR /&gt;//modified by MMK now table for attribute query&lt;BR /&gt;&lt;SPAN&gt;app.qtBuildings = new QueryTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices1.arcgis.com%2F44C95LOqZjbh8Row%2Farcgis%2Frest%2Fservices%2FBuildingRelateDepth%2FFeatureServer%2F1" rel="nofollow" target="_blank"&gt;https://services1.arcgis.com/44C95LOqZjbh8Row/arcgis/rest/services/BuildingRelateDepth/FeatureServer/1&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;BR /&gt;app.qBuildings = new Query();&lt;/P&gt;&lt;P&gt;///////////////////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My continuous thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 20:44:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486006#M45236</guid>
      <dc:creator>MaddyKelley</dc:creator>
      <dc:date>2018-03-19T20:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Manage results from multiple queries sandbox example setup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486007#M45237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maddy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would use this example instead (&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/ags_createwebmapid.html"&gt;https://developers.arcgis.com/javascript/3/jssamples/ags_createwebmapid.html&lt;/A&gt;). Looking at your past responses, it seems you are trying to load in a webmap using a&amp;nbsp;ArcGISDynamicMapServiceLayer class which will not work. If you want to load a webmap from Arcgis online then you would use&amp;nbsp;&lt;STRONG&gt;arcgisUtils.createMap().&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;Then you can add any layers you want to the web map.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 21:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486007#M45237</guid>
      <dc:creator>MunachisoOgbuchiekwe</dc:creator>
      <dc:date>2018-03-19T21:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Manage results from multiple queries sandbox example setup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486008#M45238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Do you not have a parcel polygon layer to use in this sample? It looks like one of your urls is building footprints but the other is just a related table. As Munachiso is stating in their response you can not use a web map url as the url for a&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;ArcGISDynamicMapServiceLayer.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 22:21:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486008#M45238</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-03-19T22:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Manage results from multiple queries sandbox example setup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486009#M45239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Munachiso and Robert. So I guess maybe I explain the larger project since it seems the example I am basing everythign&amp;nbsp;off of might not be the best fit. I am try to develop a simple web app that calculates cost based off a polygon layer and hosted table. Once a user selects their building, the polygons attributes are should select (query) the appropriate&amp;nbsp;$%. The design flow is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Configure a basic map view with layers with a table in the bottom&amp;nbsp;right.&amp;nbsp;&lt;/SPAN&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;SPAN style="font-size: 7pt; font-family: 'Times New Roman', serif;"&gt;&lt;/SPAN&gt;The table should have two buttons: get the percentage (query); calculation (simple a * b function)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;When a user clicks a polygon&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;Onclick action on the map: get the selected feature with the sample query example&lt;/LI&gt;&lt;LI&gt;get the selected feature and the attributes of the features&lt;OL&gt;&lt;LI&gt;Polygon: attribute A, &lt;SPAN&gt;attribute B&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Function for “percentage”: need to click the button---query operations give attriubte&amp;nbsp;C(from table)&lt;BR /&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;on(dom.byId("execute"), "click", execute)?&lt;/LI&gt;&lt;LI&gt;Function for calculation&lt;OL&gt;&lt;LI&gt;attriubte&lt;SPAN&gt;&amp;nbsp;A* C&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This is why I was interested in modifying:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2F3%2Fjssamples%2Fquery_deferred_list.html" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;Manage results from multiple queries | ArcGIS API for JavaScript 3.23&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I will try working with a simpler example first.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=layers_feature" title="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=layers_feature"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again! I would welcome any additional&amp;nbsp;advice,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 22:37:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486009#M45239</guid>
      <dc:creator>MaddyKelley</dc:creator>
      <dc:date>2018-03-19T22:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Manage results from multiple queries sandbox example setup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486010#M45240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hello Maddy,&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;So you can start off with something like this&amp;nbsp;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjsbin.com%2Ffohexopeyu%2F4%2Fedit%3Fhtml%2Cjs%2Coutput" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://jsbin.com/fohexopeyu/4/edit?html,js,output&lt;/A&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Essentially, we do the following:&amp;nbsp;&lt;/P&gt;&lt;OL style="background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Load a Feature Layer into a web map.&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Set up a query and then run the Query Task.&amp;nbsp;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;We set an alert to show how many features are on the map.&amp;nbsp;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;On Feature Layer click, we pass the object id of the clicked feature to the query.objectIds and then do another queryTask.&amp;nbsp;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Then the alert will show the area_name of the clicked feature.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;This sample is kind off rough and can be updated to be more efficient (like using just one queryTask instead of two and using Div's to show the result instead of an Alert). But I think it is a good start.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 00:13:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manage-results-from-multiple-queries-sandbox/m-p/486010#M45240</guid>
      <dc:creator>MunachisoOgbuchiekwe</dc:creator>
      <dc:date>2018-03-20T00:13:05Z</dc:date>
    </item>
  </channel>
</rss>

