<?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 Unable to retrive description in the coded value domain field from ArcGIS Sever 10.1 Silverlight API in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-retrive-description-in-the-coded-value/m-p/503262#M12897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I get the description returned instead of the value?&amp;nbsp; In other words we are getting the value of 'MFT' but I would like returned 'Mudflat'.&amp;nbsp; I can see in the REST directory that the all the info is there, I am just not sure how to display 'Mudflat' instead of 'MFT'.&amp;nbsp; Any&amp;nbsp; sample code or help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;P&gt;Web map Server: ArcGIS Server 10.1&lt;/P&gt;&lt;P&gt;Service: REST&lt;/P&gt;&lt;P&gt;API: Silverlight&lt;/P&gt;&lt;P&gt;Operating System: Windows 7 SP1, Windows Server 2012 R2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Muruganandam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2014 10:29:41 GMT</pubDate>
    <dc:creator>NCSCMNCSCM</dc:creator>
    <dc:date>2014-10-10T10:29:41Z</dc:date>
    <item>
      <title>Unable to retrive description in the coded value domain field from ArcGIS Sever 10.1 Silverlight API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-retrive-description-in-the-coded-value/m-p/503262#M12897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I get the description returned instead of the value?&amp;nbsp; In other words we are getting the value of 'MFT' but I would like returned 'Mudflat'.&amp;nbsp; I can see in the REST directory that the all the info is there, I am just not sure how to display 'Mudflat' instead of 'MFT'.&amp;nbsp; Any&amp;nbsp; sample code or help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;P&gt;Web map Server: ArcGIS Server 10.1&lt;/P&gt;&lt;P&gt;Service: REST&lt;/P&gt;&lt;P&gt;API: Silverlight&lt;/P&gt;&lt;P&gt;Operating System: Windows 7 SP1, Windows Server 2012 R2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Muruganandam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 10:29:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-retrive-description-in-the-coded-value/m-p/503262#M12897</guid>
      <dc:creator>NCSCMNCSCM</dc:creator>
      <dc:date>2014-10-10T10:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to retrive description in the coded value domain field from ArcGIS Sever 10.1 Silverlight API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-retrive-description-in-the-coded-value/m-p/503263#M12898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the domain of your field is a CodedValueDomain, you can get the description from the dictionary of CodedValues.&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;CodedValueDomain&lt;/SPAN&gt; codedValueDomain = field.Domain &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;CodedValueDomain&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;string code = "MFT";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; (codedValueDomain != &lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &amp;amp;&amp;amp; codedValueDomain.CodedValues.ContainsKey(code))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; description = codedValueDomain.CodedValues&lt;PRE&gt;;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 08:50:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-retrive-description-in-the-coded-value/m-p/503263#M12898</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2014-10-15T08:50:34Z</dc:date>
    </item>
  </channel>
</rss>

