<?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 How to return a symbol from a queryTask in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/528513#M49275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to obtain the &lt;/SPAN&gt;&lt;STRONG&gt;symbol&lt;/STRONG&gt;&lt;SPAN&gt; which applies to a result returned by a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/querytask.htm"&gt;queryTask&lt;/A&gt;&lt;SPAN&gt;. Is this possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/query.htm"&gt;query&lt;/A&gt;&lt;SPAN&gt; allows you to specify the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;fields&lt;/SPAN&gt;&lt;SPAN&gt; to be returned, and whether the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN&gt; should be returned, but it doesn't seem to return the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;symbol&lt;/SPAN&gt;&lt;SPAN&gt; associated with a feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The result of the queryTask is a featureSet, comprising the features which satisfy the query. Although feature.symbol is available, I'm finding that it's blank.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To illustrate, put a breakpoint on line 36 of this &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/query_nomap.html"&gt;Query sample&lt;/A&gt;&lt;SPAN&gt; and note that results.features[0].symbol is null, even though the &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5"&gt;source layer&lt;/A&gt;&lt;SPAN&gt; does have a renderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A workaround is presumably to obtain the renderer associated with the query.URL and build up the symbol this way - any better ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2012 02:34:54 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2012-05-10T02:34:54Z</dc:date>
    <item>
      <title>How to return a symbol from a queryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/528513#M49275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to obtain the &lt;/SPAN&gt;&lt;STRONG&gt;symbol&lt;/STRONG&gt;&lt;SPAN&gt; which applies to a result returned by a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/querytask.htm"&gt;queryTask&lt;/A&gt;&lt;SPAN&gt;. Is this possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/query.htm"&gt;query&lt;/A&gt;&lt;SPAN&gt; allows you to specify the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;fields&lt;/SPAN&gt;&lt;SPAN&gt; to be returned, and whether the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN&gt; should be returned, but it doesn't seem to return the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;symbol&lt;/SPAN&gt;&lt;SPAN&gt; associated with a feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The result of the queryTask is a featureSet, comprising the features which satisfy the query. Although feature.symbol is available, I'm finding that it's blank.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To illustrate, put a breakpoint on line 36 of this &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/query_nomap.html"&gt;Query sample&lt;/A&gt;&lt;SPAN&gt; and note that results.features[0].symbol is null, even though the &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5"&gt;source layer&lt;/A&gt;&lt;SPAN&gt; does have a renderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A workaround is presumably to obtain the renderer associated with the query.URL and build up the symbol this way - any better ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 02:34:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/528513#M49275</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2012-05-10T02:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to return a symbol from a queryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/528514#M49276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What i think is, you cannot get symbology in QueryTask from the server. If you want symbology, you may want to use the FeatureLayer. The FeatureLayer will, by default, use the drawing information (symbology and domains) from the server (requires ArcGIS Server 10 or above)&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/featurelayer.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;FeatureLayer&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to apply symbol to the features you get from QueryTask refer &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/intro_querytask.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;this&lt;/A&gt;&lt;SPAN&gt; document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It has all the steps to apply symbols to the Features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]&amp;nbsp;&amp;nbsp; 1. Initialize a &lt;/SPAN&gt;&lt;STRONG&gt;Map&lt;/STRONG&gt;&lt;SPAN&gt; and add a&lt;/SPAN&gt;&lt;STRONG&gt; Layer&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; 2. Initialize a &lt;/SPAN&gt;&lt;STRONG&gt;QueryTask&lt;/STRONG&gt;&lt;SPAN&gt; layer. Note that the URL includes the layer ID. In this example, the layer ID is "0".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; 3.Initialize the &lt;/SPAN&gt;&lt;STRONG&gt;Query&lt;/STRONG&gt;&lt;SPAN&gt;. You should specify everything except the actual filter. In this example, a list of output fields is included in outFields. When you specify the output fields, you should limit the fields only to those you expect to use in the query or the results. The fewer fields you include, the faster the response will be. You must use the actual field names rather than the alias names, but you can use the alias names later when you display the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; 4. Initialize &lt;/SPAN&gt;&lt;STRONG&gt;InfoTemplate&lt;/STRONG&gt;&lt;SPAN&gt;. If you plan to use an InfoWindow to display the results, this is a good time to construct the InfoTemplate. The syntax ${fieldName} is substituted at runtime with the actual attribute value. The first value is the title. The rest of the values make up the text of the InfoWindow. You can use any valid HTML.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; 5. Initialize the &lt;/SPAN&gt;&lt;STRONG&gt;Symbol &lt;/STRONG&gt;&lt;SPAN&gt;you want to use for displaying the highlighted features on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Initialize Map, Layer and QueryTask :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;function init() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; //create map and add layer
&amp;nbsp;&amp;nbsp;&amp;nbsp; map = new esri.Map("mapDiv");
&amp;nbsp;&amp;nbsp;&amp;nbsp; var layer = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer");
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(layer);

&amp;nbsp;&amp;nbsp;&amp;nbsp; //initialize query task
&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask = new esri.tasks.QueryTask("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/0");

&amp;nbsp;&amp;nbsp;&amp;nbsp; //initialize query
&amp;nbsp;&amp;nbsp;&amp;nbsp; query = new esri.tasks.Query();
&amp;nbsp;&amp;nbsp;&amp;nbsp; query.returnGeometry = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp; query.outFields = ["CITY_NAME", "STATE_NAME", "POP1990"];

&amp;nbsp;&amp;nbsp;&amp;nbsp; //initialize InfoTemplate
&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate = new esri.InfoTemplate("${CITY_NAME}", "Name : ${CITY_NAME}&amp;lt;br/&amp;gt; State : ${STATE_NAME}&amp;lt;br /&amp;gt;Population : ${POP1990}");

&amp;nbsp;&amp;nbsp;&amp;nbsp; //create symbol for selected features
&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol = new esri.symbol.SimpleMarkerSymbol();
&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol.setStyle(esri.symbol.SimpleMarkerSymbol.STYLE_SQUARE);
&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol.setSize(10);
&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol.setColor(new dojo.Color([255,255,0,0.5]));

&amp;nbsp; }
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a function to show the results:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;function showResults(featureSet) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; //remove all graphics on the maps graphics layer
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.graphics.clear();

&amp;nbsp;&amp;nbsp;&amp;nbsp; //Performance enhancer - assign featureSet array to a single variable.
&amp;nbsp;&amp;nbsp;&amp;nbsp; var resultFeatures = featureSet.features;

&amp;nbsp;&amp;nbsp;&amp;nbsp; //Loop through each feature returned
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i=0, il=resultFeatures.length; i&amp;lt;il; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Get the current feature from the featureSet.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Feature is a graphic
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphic = resultFeatures&lt;I&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.setSymbol(symbol);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Set the infoTemplate.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.setInfoTemplate(infoTemplate);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Add graphic to the map graphics layer.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.graphics.add(graphic);
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }
&lt;/I&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:01:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/528514#M49276</guid>
      <dc:creator>ShreyasVakil</dc:creator>
      <dc:date>2021-12-11T23:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to return a symbol from a queryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/528515#M49277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What i think is, you cannot get symbology in QueryTask from the server.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Shreyas, I think you're right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If you want symbology, you may want to use the FeatureLayer. The FeatureLayer will, by default, use the drawing information (symbology and domains) from the server&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd normally do this, but in this particular case I want to obtain the features which would have been returned by the feature layer, without actually drawing them - hence the use of a query task based on the extent of the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;5. Initialize the &lt;STRONG&gt;Symbol &lt;/STRONG&gt;you want to use for displaying the highlighted features on the map.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to do this automatically based on the current queryTask parameters, since my map is dynamic and I won't know exactly which symbol(s) to use at run-time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll keep playing around with it and will report back if I come up with a workaround.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 11:21:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/528515#M49277</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2012-05-11T11:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to return a symbol from a queryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/528516#M49278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure, no problem Steve !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you get a workaround, please try to post here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 14:57:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/528516#M49278</guid>
      <dc:creator>ShreyasVakil</dc:creator>
      <dc:date>2012-05-11T14:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to return a symbol from a queryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/1014643#M71308</link>
      <description>&lt;P&gt;OK - old topic, but doe the same apply for the idtask ?&amp;nbsp; Symbolgy isn't returned, just the geometry?&amp;nbsp; has anything changed over the years?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 15:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/1014643#M71308</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2021-01-07T15:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to return a symbol from a queryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/1014679#M71311</link>
      <description>&lt;P&gt;Adrain,&lt;/P&gt;&lt;P&gt;&amp;nbsp; No nothing has changed. The symbol is not something that is returned from the Identify task. You will have to make a esriRequest call to the service to get the renderer json info and in code create the renderer from that json and then use the getSymbol method on the renderer to get the symbol that that specific graphic should have or apply the renderer to the layer/graphics you create from the IdentTask results.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 16:08:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/1014679#M71311</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-01-07T16:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to return a symbol from a queryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/1014683#M71312</link>
      <description>&lt;P&gt;Cheers - one for a day when I've not much on.&amp;nbsp; My ID task already has the ability to take the geometry and create a simply highlighted feature to help the users pick out a feature where there are scores overlapping, but we want that added graphic to have similar styling to the layer, so by switching the layer off you get left with just the single added graphic for the required feature.&amp;nbsp; Mainly for printout reasons&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 16:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/1014683#M71312</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2021-01-07T16:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to return a symbol from a queryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/1014691#M71313</link>
      <description>&lt;P&gt;Check out &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/renderer-amd.html#getsymbol" target="_self"&gt;getSymbol&lt;/A&gt; (3.x) and&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-support-symbolUtils.html#getDisplayedSymbol" target="_self"&gt;getDisplayedSymbol&lt;/A&gt; (4.x) as they might provide a way to use the renderer of the source layer and the graphic from the returned query/identify to retrieve a specific symbol.&amp;nbsp; In 4.x I normally create a FeatureLayer (using client-side graphics) with the same render as the source layer and then add the query/identify results to it.&amp;nbsp; Critical to both of these approaches is that the returned graphic must have all the necessary attributes and values so the renderer can figure out the correct symbol to use or return.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 16:27:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/1014691#M71313</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-01-07T16:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to return a symbol from a queryTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/1017204#M71391</link>
      <description>&lt;P&gt;Thanks for that - in the end I went about it totally differently.&lt;/P&gt;&lt;P&gt;I have all the results of the ID task appear in a table - one table per layer - just like they used to in ArcIMS&lt;/P&gt;&lt;P&gt;At the end of each row (feature) I now have a button - this button takes the OBJECTID of that feature and the feature number and applies a filter to that layer. So the result is exactly what the users want - in those areas where there a 100s of features, they can ID the one they want, hit the button, and only that one is left - they then can print out just that one feature, without the others messing with the map.&lt;/P&gt;&lt;P&gt;Another button clears all these Isolations&lt;/P&gt;&lt;P&gt;The only pre-req is the existence of OBJECTID - which isn't a given - so much of our data are from other Esrti sites, that when they are imported the old OBJECTID is ignored and a new OBJECTID_1 is set up.&amp;nbsp; But that can be resolved.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:19:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-return-a-symbol-from-a-querytask/m-p/1017204#M71391</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2021-01-15T12:19:55Z</dc:date>
    </item>
  </channel>
</rss>

