<?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: How to get a particular attribute value from a FeatureSet? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-a-particular-attribute-value-from-a/m-p/528816#M11977</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sree,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;featureSet.attributes["field name"]&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jul 2010 16:06:48 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2010-07-28T16:06:48Z</dc:date>
    <item>
      <title>How to get a particular attribute value from a FeatureSet?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-a-particular-attribute-value-from-a/m-p/528815#M11976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to know if there is a way to get value of a particular attribute from a featureSet?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For Ex, when I do a queryTask the OnResult() method gets a FeatureSet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can get values of all attributes -&amp;gt; featureSet.attributes &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can get the geometry -&amp;gt; featureSet.features[0].geometry&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But how do I access a particular attribute value from the featureSet?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 15:59:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-a-particular-attribute-value-from-a/m-p/528815#M11976</guid>
      <dc:creator>SreeS</dc:creator>
      <dc:date>2010-07-28T15:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a particular attribute value from a FeatureSet?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-a-particular-attribute-value-from-a/m-p/528816#M11977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sree,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;featureSet.attributes["field name"]&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 16:06:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-a-particular-attribute-value-from-a/m-p/528816#M11977</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-07-28T16:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a particular attribute value from a FeatureSet?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-a-particular-attribute-value-from-a/m-p/528817#M11978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Small correction since FeatureSet.attributes is an Array&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;featureSet.attributes[0]["field name"]; // gets the value of a field from the first feature&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the same as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;featureSet.features[0].attributes["field name"]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 16:11:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-a-particular-attribute-value-from-a/m-p/528817#M11978</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-07-28T16:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a particular attribute value from a FeatureSet?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-a-particular-attribute-value-from-a/m-p/528818#M11979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dasa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Thanks That is what I get for going off the top of my head and not checking first.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 16:20:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-a-particular-attribute-value-from-a/m-p/528818#M11979</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-07-28T16:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a particular attribute value from a FeatureSet?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-a-particular-attribute-value-from-a/m-p/528819#M11980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Those are some pretty quick responses. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you guys. Really appreciate it!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ive tried almost all combinations, but for the one from Dasa. And it works!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 16:39:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-a-particular-attribute-value-from-a/m-p/528819#M11980</guid>
      <dc:creator>SreeS</dc:creator>
      <dc:date>2010-07-28T16:39:08Z</dc:date>
    </item>
  </channel>
</rss>

