<?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: Reading properties from a FeatureLayer Programmatically in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/reading-properties-from-a-featurelayer/m-p/466573#M12056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jennifer, I'm getting all the columns now :o.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Feb 2012 01:12:28 GMT</pubDate>
    <dc:creator>MarvinOconitrillo</dc:creator>
    <dc:date>2012-02-04T01:12:28Z</dc:date>
    <item>
      <title>Reading properties from a FeatureLayer Programmatically</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/reading-properties-from-a-featurelayer/m-p/466571#M12054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I'm trying to read the properties of some features I insert before, but happends something strange, it's the following: if a read each property from the features in the layer I can read all the properties from the last one I insert, if I close my silverlight application and run again when I read the properties of the features I can read just some columns and not all of them cause it says are null, but I can see all the information from the arcmap viewing the featurelayer service .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone to tell me what could be the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the structure of my featurelayer is the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;OBJECTID (Tipo: esriFieldTypeOID, Alias: OBJECTID, Editable: False)&lt;BR /&gt;ID (Tipo: esriFieldTypeString, Alias: ID, Longitud: 10, Editable: True)&lt;BR /&gt;ASIENTO (Tipo: esriFieldTypeString, Alias: ASIENTO, Longitud: 12, Editable: True)&lt;BR /&gt;INGRESO (Tipo: esriFieldTypeDate, Alias: INGRESO, Longitud: 36, Editable: True)&lt;BR /&gt;TIPO_INGRESO (Tipo: esriFieldTypeString, Alias: REINGRESO, Longitud: 10, Editable: True)&lt;BR /&gt;ANOTACIONES (Tipo: esriFieldTypeString, Alias: ANOTACIONES, Longitud: 100, Editable: True)&lt;BR /&gt;NO_INSCRIPCION (Tipo: esriFieldTypeString, Alias: NO_INSCRIPCI??N, Longitud: 12, Editable: True)&lt;BR /&gt;COORDENADA_NORTE (Tipo: esriFieldTypeDouble, Alias: COORDENADA_NORTE, Editable: True)&lt;BR /&gt;COORDENADA_ESTE (Tipo: esriFieldTypeDouble, Alias: COORDENADA_ESTE, Editable: True)&lt;BR /&gt;ESTADO (Tipo: esriFieldTypeString, Alias: ESTADO, Longitud: 1, Editable: True)&lt;BR /&gt;ESTADO_CALIFICACION (Tipo: esriFieldTypeString, Alias: ESTADO_CALIFICACION, Longitud: 1, Editable: True)&lt;BR /&gt;USUARIO_EDITA (Tipo: esriFieldTypeString, Alias: USUARIO_EDITA, Longitud: 20, Editable: True)&lt;BR /&gt;FECHA_EDICION (Tipo: esriFieldTypeDate, Alias: FECHA_EDICI??N, Longitud: 36, Editable: True)&lt;BR /&gt;REGISTRADOR (Tipo: esriFieldTypeString, Alias: REGISTRADOR, Longitud: 20, Editable: True)&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code that i'm using to read the properties is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;foreach (Graphic graphic in flCalificacion.Graphics)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; foreach (var f in flCalificacion.LayerInfo.Fields)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (graphic.Attributes[f.Name] != null)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show(f.Name + ":" + graphic.Attributes[f.Name].ToString());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where flCalificacion is my featurelayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll appreciate any help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 17:43:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/reading-properties-from-a-featurelayer/m-p/466571#M12054</guid>
      <dc:creator>MarvinOconitrillo</dc:creator>
      <dc:date>2012-02-03T17:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reading properties from a FeatureLayer Programmatically</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/reading-properties-from-a-featurelayer/m-p/466572#M12055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you set FeatureLayer.OutFields? If this only contains a subset, these are the only Attributes that will show when you run your code. If you set OutFields="*", then all fields in your service will be displayed in graphic.Attributes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 20:17:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/reading-properties-from-a-featurelayer/m-p/466572#M12055</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-02-03T20:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reading properties from a FeatureLayer Programmatically</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/reading-properties-from-a-featurelayer/m-p/466573#M12056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jennifer, I'm getting all the columns now :o.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Feb 2012 01:12:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/reading-properties-from-a-featurelayer/m-p/466573#M12056</guid>
      <dc:creator>MarvinOconitrillo</dc:creator>
      <dc:date>2012-02-04T01:12:28Z</dc:date>
    </item>
  </channel>
</rss>

