<?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: exposing layer details in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/exposing-layer-details/m-p/616352#M15897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The feature returned in the 'IdentifyResult' of an identify task contains an attributes dictionary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So in your case, you should get you ID, location, condition,.... by code like&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
 
forreach( IdentifyResult result in results)
{
&amp;nbsp; Graphic feature = result.Feature;
&amp;nbsp; foreach(var attribute in feature.Attributes)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //attribute.Key and attribute.Value available here
&amp;nbsp; }
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 02:20:58 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2021-12-12T02:20:58Z</dc:date>
    <item>
      <title>exposing layer details</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/exposing-layer-details/m-p/616351#M15896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a map that displays different kinds of layers - water, streets, parcels, hydrants etc. I have implemented a IdentifyTask query such that, when I click anywhere on the map, it identifies the layer(s) where I had clicked and displays some information such as DisplayFieldname, LayerId, LayerName and Value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And now, I need to be able to display other details about each specific layer. Say, when I click on a hydrant, it would return the ID, location, condition of that hydrant. I'm guessing I'll be able to see the fields that are setup in the ArcGIS server, but I dont know how to access them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a predefined function I could use?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 13:33:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/exposing-layer-details/m-p/616351#M15896</guid>
      <dc:creator>SangamLama</dc:creator>
      <dc:date>2011-01-27T13:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: exposing layer details</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/exposing-layer-details/m-p/616352#M15897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The feature returned in the 'IdentifyResult' of an identify task contains an attributes dictionary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So in your case, you should get you ID, location, condition,.... by code like&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
 
forreach( IdentifyResult result in results)
{
&amp;nbsp; Graphic feature = result.Feature;
&amp;nbsp; foreach(var attribute in feature.Attributes)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //attribute.Key and attribute.Value available here
&amp;nbsp; }
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/exposing-layer-details/m-p/616352#M15897</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-12T02:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: exposing layer details</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/exposing-layer-details/m-p/616353#M15898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The feature returned in the 'IdentifyResult' of an identify task contains an attributes dictionary.&lt;BR /&gt; &lt;BR /&gt;So in your case, you should get you ID, location, condition,.... by code like&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
 
forreach( IdentifyResult result in results)
{
&amp;nbsp; Graphic feature = result.Feature;
&amp;nbsp; foreach(var attribute in feature.Attributes)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //attribute.Key and attribute.Value available here
&amp;nbsp; }
}
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:21:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/exposing-layer-details/m-p/616353#M15898</guid>
      <dc:creator>SangamLama</dc:creator>
      <dc:date>2021-12-12T02:21:01Z</dc:date>
    </item>
  </channel>
</rss>

