<?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: Attribute Inspector in Mobile Flex in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/attribute-inspector-in-mobile-flex/m-p/460350#M10600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
for each(var updateatts:FormField in (list.dataProvider as ArrayList).source)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(updateatts.label == "Longitude")
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
 updateatts.feature.attributes["Longitude"] = 1.0;
 dispatchEvent(new AttributeInspectorEvent(UPDATE_FEATURE, false, updateatts.featureLayer, updateatts.feature));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; updateatts.dispatchEvent(new FormFieldEvent(FormFieldEvent.DATA_CHANGE));
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:29:31 GMT</pubDate>
    <dc:creator>YannCabon</dc:creator>
    <dc:date>2021-12-11T20:29:31Z</dc:date>
    <item>
      <title>Attribute Inspector in Mobile Flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/attribute-inspector-in-mobile-flex/m-p/460349#M10599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having a bit of a brain fart. I am updating an attribute inspector with current lat/long using the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
for each(var updateatts:* in (list.dataProvider as ArrayList).source)
{
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; if((updateatts as FormField).label == "Longitude")
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
 (updateatts as FormField).feature.attributes["Longitude"] = 1.0;
 dispatchEvent(new AttributeInspectorEvent(UPDATE_FEATURE, false, (updateatts as FormField).featureLayer, (updateatts as 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FormField).feature));
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like the form (see attached) to dynamically updated with this new data. Any good suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should add when we close the attribute inspector, then reopen the data is updated. I'd like the update to occur without the need to close the inspector window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--Rory&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 15:28:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/attribute-inspector-in-mobile-flex/m-p/460349#M10599</guid>
      <dc:creator>MattSheehan</dc:creator>
      <dc:date>2013-07-23T15:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Inspector in Mobile Flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/attribute-inspector-in-mobile-flex/m-p/460350#M10600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
for each(var updateatts:FormField in (list.dataProvider as ArrayList).source)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(updateatts.label == "Longitude")
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
 updateatts.feature.attributes["Longitude"] = 1.0;
 dispatchEvent(new AttributeInspectorEvent(UPDATE_FEATURE, false, updateatts.featureLayer, updateatts.feature));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; updateatts.dispatchEvent(new FormFieldEvent(FormFieldEvent.DATA_CHANGE));
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:29:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/attribute-inspector-in-mobile-flex/m-p/460350#M10600</guid>
      <dc:creator>YannCabon</dc:creator>
      <dc:date>2021-12-11T20:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Inspector in Mobile Flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/attribute-inspector-in-mobile-flex/m-p/460351#M10601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That worked. Thanks Yann.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 18:18:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/attribute-inspector-in-mobile-flex/m-p/460351#M10601</guid>
      <dc:creator>MattSheehan</dc:creator>
      <dc:date>2013-07-24T18:18:46Z</dc:date>
    </item>
  </channel>
</rss>

