<?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: Update feature returing false | canUpdate(feature) in Kotlin Maps SDK Questions</title>
    <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/update-feature-returing-false-canupdate-feature/m-p/1391530#M365</link>
    <description>&lt;P&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Can you throw some detail info what you mean?&amp;nbsp; I have added this check&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;featureTable&lt;/SPAN&gt;.canUpdate(feature)&lt;/PRE&gt;&lt;P&gt;But before, I didnt add that check, as I was able see the table is editable and also can add values into it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 22:40:40 GMT</pubDate>
    <dc:creator>DeepamPalaniswami</dc:creator>
    <dc:date>2024-03-05T22:40:40Z</dc:date>
    <item>
      <title>Update feature returing false | canUpdate(feature)</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/update-feature-returing-false-canupdate-feature/m-p/1390870#M362</link>
      <description>&lt;P&gt;Hi Guys,&lt;BR /&gt;&lt;BR /&gt;I am facing the issues when i am trying to edit an entry. I tried calling canUpdate(feature), it returned false.&lt;/P&gt;&lt;P&gt;I get an error message:&amp;nbsp;exceptions.GeodatabaseException: message=Geodatabase item not found., additionalMessage=The following features were not found: [-9223372036854775808], errorCode=3010&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Code snippet&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;if &lt;/SPAN&gt;(&lt;SPAN&gt;featureTable&lt;/SPAN&gt;.canUpdate(feature)) {&lt;BR /&gt;    &lt;SPAN&gt;// update the feature to the feature table&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;featureTable&lt;/SPAN&gt;.updateFeature(feature).&lt;SPAN&gt;onSuccess &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;featureTable&lt;/SPAN&gt;.applyEdits()&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    }&lt;/SPAN&gt;.&lt;SPAN&gt;onFailure &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;        showError(&lt;SPAN&gt;it&lt;/SPAN&gt;.&lt;SPAN&gt;message&lt;/SPAN&gt;.&lt;SPAN&gt;toString&lt;/SPAN&gt;(), &lt;SPAN&gt;window&lt;/SPAN&gt;.&lt;SPAN&gt;decorView&lt;/SPAN&gt;.&lt;SPAN&gt;rootView&lt;/SPAN&gt;)&lt;BR /&gt;    &lt;SPAN&gt;}&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;:&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 02:20:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/update-feature-returing-false-canupdate-feature/m-p/1390870#M362</guid>
      <dc:creator>DeepamPalaniswami</dc:creator>
      <dc:date>2024-03-05T02:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Update feature returing false | canUpdate(feature)</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/update-feature-returing-false-canupdate-feature/m-p/1391530#M365</link>
      <description>&lt;P&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Can you throw some detail info what you mean?&amp;nbsp; I have added this check&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;featureTable&lt;/SPAN&gt;.canUpdate(feature)&lt;/PRE&gt;&lt;P&gt;But before, I didnt add that check, as I was able see the table is editable and also can add values into it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 22:40:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/update-feature-returing-false-canupdate-feature/m-p/1391530#M365</guid>
      <dc:creator>DeepamPalaniswami</dc:creator>
      <dc:date>2024-03-05T22:40:40Z</dc:date>
    </item>
  </channel>
</rss>

