<?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: addFeature vs. updateFeature in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/addfeature-vs-updatefeature/m-p/762376#M6815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it would. A feature &lt;EM&gt;created&lt;/EM&gt; just exists in memory whereas an update operation is done on the table. canUpdateFeature would&amp;nbsp;return true after you've added the feature to the table using add method.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2019 00:23:18 GMT</pubDate>
    <dc:creator>SuganyaBaskaran1</dc:creator>
    <dc:date>2019-01-09T00:23:18Z</dc:date>
    <item>
      <title>addFeature vs. updateFeature</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/addfeature-vs-updatefeature/m-p/762373#M6812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm updating some apps from runtime 2.5 to 100.4&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It looks like the AGSGDBFeatureTable saveFeature method has been replaced by the&amp;nbsp;AGSGeodatabaseFeatureTable addFeature and updateFeature methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to detect if the feature is "new" and use the appropriate add or update method now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 23:51:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/addfeature-vs-updatefeature/m-p/762373#M6812</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2019-01-08T23:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: addFeature vs. updateFeature</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/addfeature-vs-updatefeature/m-p/762374#M6813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct. For new features, you would first create a feature using one of the create methods on &lt;SPAN style="background-color: #ffffff;"&gt;AGSGeodatabaseFeatureTable. Once created, you can add the feature to the table using the add method.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;For existing features, you typically get a reference to the feature first&amp;nbsp;(query, identify etc), edit and call the update method.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Hope that helps.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 23:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/addfeature-vs-updatefeature/m-p/762374#M6813</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2019-01-08T23:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: addFeature vs. updateFeature</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/addfeature-vs-updatefeature/m-p/762375#M6814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks - I have tons of generic edit views where I might have either a new or existing feature that is being edited. &amp;nbsp;Previously the saveFeature method worked fine for either, but I guess I'll have to use&amp;nbsp;AGSGeodatabaseFeatureTable's&amp;nbsp;canUpdateFeature to check if it is new (not updatable) or not and&amp;nbsp;take the appropriate route.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Am I assuming correctly that a new feature will return a NO when I check with canUpdateFeature?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 00:04:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/addfeature-vs-updatefeature/m-p/762375#M6814</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2019-01-09T00:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: addFeature vs. updateFeature</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/addfeature-vs-updatefeature/m-p/762376#M6815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it would. A feature &lt;EM&gt;created&lt;/EM&gt; just exists in memory whereas an update operation is done on the table. canUpdateFeature would&amp;nbsp;return true after you've added the feature to the table using add method.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 00:23:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/addfeature-vs-updatefeature/m-p/762376#M6815</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2019-01-09T00:23:18Z</dc:date>
    </item>
  </channel>
</rss>

