<?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: Find query problems in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/find-query-problems/m-p/690320#M17754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tested it with a couple other esri services and they worked just fine as well. Its just my services, My services will query and get results but when I click on the result to get the feature highlighted, the error occures.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2011 14:04:43 GMT</pubDate>
    <dc:creator>JerryBiedenbender</dc:creator>
    <dc:date>2011-09-20T14:04:43Z</dc:date>
    <item>
      <title>Find query problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/find-query-problems/m-p/690317#M17751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I am trying to use the Find query from the silverlight samples. &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Find"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Find&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After updating to code to search against my service I am getting search results but when I click on the result to make it highlighted on the screen I get an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See attached&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 13:49:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/find-query-problems/m-p/690317#M17751</guid>
      <dc:creator>JerryBiedenbender</dc:creator>
      <dc:date>2011-09-19T13:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Find query problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/find-query-problems/m-p/690318#M17752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jerry, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried adding:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;findParameters.ReturnGeometry = true;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;somewhere before:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;findTask.ExecuteAsync(findParameters);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The default is "true" in this version of the API, but I cannot recall what it was in previous versions. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like your Shape attributes come back null, so give it a try. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:03:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/find-query-problems/m-p/690318#M17752</guid>
      <dc:creator>DarinaTchountcheva</dc:creator>
      <dc:date>2021-12-12T05:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Find query problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/find-query-problems/m-p/690319#M17753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I added the code and it is still doing the same thing. Any other ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 13:14:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/find-query-problems/m-p/690319#M17753</guid>
      <dc:creator>JerryBiedenbender</dc:creator>
      <dc:date>2011-09-20T13:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Find query problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/find-query-problems/m-p/690320#M17754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tested it with a couple other esri services and they worked just fine as well. Its just my services, My services will query and get results but when I click on the result to get the feature highlighted, the error occures.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 14:04:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/find-query-problems/m-p/690320#M17754</guid>
      <dc:creator>JerryBiedenbender</dc:creator>
      <dc:date>2011-09-20T14:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find query problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/find-query-problems/m-p/690321#M17755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jerry, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you debug and find out which object is null? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it "graphic" or the Shape attribute? While debugging, check to see what is the value of findResult.LayerName if you are searching multiple layers. It could be only one layer causing the error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, you could go to your service in the REST Services directory, and perform Find there. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://yourservername/arcgis/rest/services/yourmapservicename"&gt;http://yourservername/arcgis/rest/services/yourmapservicename&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scroll all the way down to the page and click on Find. Use the API Reference link in the upper right corner to see what parameters you need to provide. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See if you get geometry back when Return Geometry is true.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure that all layers you are searching have the Shape field (to see the fields of each layer go to the above page and click on each layer link to see their metadata). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 14:37:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/find-query-problems/m-p/690321#M17755</guid>
      <dc:creator>DarinaTchountcheva</dc:creator>
      <dc:date>2011-09-20T14:37:29Z</dc:date>
    </item>
  </channel>
</rss>

