<?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 Update feature class attributes with applyEdits() in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/update-feature-class-attributes-with-applyedits/m-p/349015#M8283</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;I'm trying to update a feature's geometry and attribute using applyEdits(), following the order below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Retrieve the feature from the SDE database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Update its geometry and attribute using : feature.geometry = ... and feature.attributes.FIELD1 = ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Perform applyEdits(null, [feature], null).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I update the geometry of the feature without changing its attributes, the operation is performed successfully. But when I change the attribute too, I get the following error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"addResults":[],"updateResults":[{"objectId":1,"globalId":null,"success":false,"error":{"code":-2147217395,"description":"Setting of Value for TYPE_ARRET failed."}}],"deleteResults":[]}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I doing somethign wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Feb 2013 12:15:29 GMT</pubDate>
    <dc:creator>ab1</dc:creator>
    <dc:date>2013-02-14T12:15:29Z</dc:date>
    <item>
      <title>Update feature class attributes with applyEdits()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/update-feature-class-attributes-with-applyedits/m-p/349015#M8283</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;I'm trying to update a feature's geometry and attribute using applyEdits(), following the order below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Retrieve the feature from the SDE database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Update its geometry and attribute using : feature.geometry = ... and feature.attributes.FIELD1 = ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Perform applyEdits(null, [feature], null).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I update the geometry of the feature without changing its attributes, the operation is performed successfully. But when I change the attribute too, I get the following error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"addResults":[],"updateResults":[{"objectId":1,"globalId":null,"success":false,"error":{"code":-2147217395,"description":"Setting of Value for TYPE_ARRET failed."}}],"deleteResults":[]}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I doing somethign wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 12:15:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/update-feature-class-attributes-with-applyedits/m-p/349015#M8283</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2013-02-14T12:15:29Z</dc:date>
    </item>
  </channel>
</rss>

