<?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 Spatial Query vs Identify to obtain attribute info in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/spatial-query-vs-identify-to-obtain-attribute-info/m-p/601541#M15428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to write some code right now to obtain attribute information from either a point, line, or polygon. The field will have the same name for each feature. The value from that field will then be passed on elsewhere.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would either Identify or a Spatial Query work in my case? I am modifying some code but am running into a few issues due to lack of experience. I have identify mostly working right now, but is it possible to isolate one field and pass that value onto a variable? I do not need to display any of the information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 May 2010 16:32:43 GMT</pubDate>
    <dc:creator>TylerMunn</dc:creator>
    <dc:date>2010-05-31T16:32:43Z</dc:date>
    <item>
      <title>Spatial Query vs Identify to obtain attribute info</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/spatial-query-vs-identify-to-obtain-attribute-info/m-p/601541#M15428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to write some code right now to obtain attribute information from either a point, line, or polygon. The field will have the same name for each feature. The value from that field will then be passed on elsewhere.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would either Identify or a Spatial Query work in my case? I am modifying some code but am running into a few issues due to lack of experience. I have identify mostly working right now, but is it possible to isolate one field and pass that value onto a variable? I do not need to display any of the information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 16:32:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/spatial-query-vs-identify-to-obtain-attribute-info/m-p/601541#M15428</guid>
      <dc:creator>TylerMunn</dc:creator>
      <dc:date>2010-05-31T16:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Query vs Identify to obtain attribute info</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/spatial-query-vs-identify-to-obtain-attribute-info/m-p/601542#M15429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a feeling it may not be the best solution, but for now I have something temporarily working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to obtain the result value of the first field after OBJECT_ID &amp;amp; SHAPE, which works as I will only have one more ID field in the attribute table.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 21:24:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/spatial-query-vs-identify-to-obtain-attribute-info/m-p/601542#M15429</guid>
      <dc:creator>TylerMunn</dc:creator>
      <dc:date>2010-05-31T21:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Query vs Identify to obtain attribute info</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/spatial-query-vs-identify-to-obtain-attribute-info/m-p/601543#M15430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some other possible options:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Use the DisplayFieldName (class IdentifyResult), which likely is the field you want to display.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Use the userToken (optional second argument of ExecuteAsync) to store your field name. On the event ExecuteCompleted, you will get back the field name as UserState of the identifyEventArgs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Define your own handler for the event ExecuteCompleted and add the field name as argument of this handler.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 14:21:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/spatial-query-vs-identify-to-obtain-attribute-info/m-p/601543#M15430</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-06-01T14:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Query vs Identify to obtain attribute info</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/spatial-query-vs-identify-to-obtain-attribute-info/m-p/601544#M15431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Dominique,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I realize what I was doing was just displaying the field value from the attribute table that was set to Primary Display Field, and as a result, I've run into more problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the identify task have a way to take data from pre-chosen fields, like query outfield does? I will have overlapping polygons/points/lines, so when the user identifies, I want a box to come up with a list with all identified and only certain fields to have their data displayed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ID number + polygon type ...for example&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another option I have considered is using the Identify example with US states and the dropdown box. Is it possible to hide certain fields? If I select turn field off in the attribute table, would that hide it in the data grid? I want to have a URL field that I access the url as a variable from, and keep it hidden but linked to some text. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps your suggestion of "3) Define your own handler for the event ExecuteCompleted and add the field name as argument of this handler." would work but I am not much of a programmer and am learning by exmaples at this point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for anyones help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 22:56:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/spatial-query-vs-identify-to-obtain-attribute-info/m-p/601544#M15431</guid>
      <dc:creator>TylerMunn</dc:creator>
      <dc:date>2010-06-11T22:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Query vs Identify to obtain attribute info</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/spatial-query-vs-identify-to-obtain-attribute-info/m-p/601545#M15432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well after a lot of playing around I was able to figure some things out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Turning off the fields in the MXD will hide them from being displayed with the identify task. I am not able to hide the URL field currently but have modified some code to get it to perform as I want for the most part.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jun 2010 16:23:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/spatial-query-vs-identify-to-obtain-attribute-info/m-p/601545#M15432</guid>
      <dc:creator>TylerMunn</dc:creator>
      <dc:date>2010-06-13T16:23:38Z</dc:date>
    </item>
  </channel>
</rss>

