<?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: canUpdateFeature returning false when geometry updated in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696296#M6229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting - so would it be correct to assume that edits are considered invalid but new features can still be added? &amp;nbsp;That would explain why those features were able to be saved as new features. &amp;nbsp;It created duplicates, which was inconvenient, but that's better than not saving at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously we were using featureServiceInfo.fullExtent to define the limits of our replica... for this specific service that is defined as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; font-size: 14.399999618530273px;"&gt;Full Extent: &lt;/STRONG&gt;&lt;/P&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;XMin: -1.966968105025479E7&lt;/UL&gt;&lt;/UL&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;YMin: 4584716.816155555&lt;/UL&gt;&lt;/UL&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;XMax: -1.3670387279936444E7&lt;/UL&gt;&lt;/UL&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;YMax: 1.1525350761196049E7&lt;/UL&gt;&lt;/UL&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;Spatial Reference: 102100 &amp;nbsp;(3857)&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jul 2019 16:33:45 GMT</pubDate>
    <dc:creator>MichaelDavis3</dc:creator>
    <dc:date>2019-07-19T16:33:45Z</dc:date>
    <item>
      <title>canUpdateFeature returning false when geometry updated</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696291#M6224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When users save a record in our apps I check if the feature can be updated, and if not I add the feature instead. &amp;nbsp;In a recent app (100.5) we've noticed that if the user updates the (point) geometry canUpdateFeature is returning as false and triggering the creation of a duplicate feature in the geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the expected behavior? &amp;nbsp;Should I be detecting an existing feature in another way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 20:16:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696291#M6224</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2019-07-11T20:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: canUpdateFeature returning false when geometry updated</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696292#M6225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This appears to be due to the new point being outside the replica extent. &amp;nbsp;Not sure yet though because our users were definitely out inside the extent when editing field points and we got duplicate records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 20:38:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696292#M6225</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2019-07-11T20:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: canUpdateFeature returning false when geometry updated</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696293#M6226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the delay in getting back to you, &lt;A href="https://community.esri.com/migrated-users/21364"&gt;Michael Davis&lt;/A&gt;. Did you manage to resolve this?‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 20:51:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696293#M6226</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-07-17T20:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: canUpdateFeature returning false when geometry updated</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696294#M6227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes - not sure exactly why it was happening, but editing the geometry was triggering "false" on canUpdateFeature and was then being added as a new record by our app. &amp;nbsp;Changing the extent of our .geodatabase file to cover the whole planet resolved the issue for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can tell neither the original geometry or the updated geometry were outside of the service's maximum extent which is what we were previously using for our offline .geodatabase extent... so still not sure what was up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 21:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696294#M6227</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2019-07-17T21:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: canUpdateFeature returning false when geometry updated</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696295#M6228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've found out a little more from the team. When you take a .geodatabase offline with a target extent, any edits outside of it are considered invalid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like what you're seeing isn't covered by the above rule, so I'd be interested to see what your replica's target extent and the service's full extent are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would also be helpful to understand what the edited geometry is when this is triggered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 15:11:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696295#M6228</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-07-19T15:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: canUpdateFeature returning false when geometry updated</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696296#M6229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting - so would it be correct to assume that edits are considered invalid but new features can still be added? &amp;nbsp;That would explain why those features were able to be saved as new features. &amp;nbsp;It created duplicates, which was inconvenient, but that's better than not saving at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously we were using featureServiceInfo.fullExtent to define the limits of our replica... for this specific service that is defined as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; font-size: 14.399999618530273px;"&gt;Full Extent: &lt;/STRONG&gt;&lt;/P&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;XMin: -1.966968105025479E7&lt;/UL&gt;&lt;/UL&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;YMin: 4584716.816155555&lt;/UL&gt;&lt;/UL&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;XMax: -1.3670387279936444E7&lt;/UL&gt;&lt;/UL&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;YMax: 1.1525350761196049E7&lt;/UL&gt;&lt;/UL&gt;&lt;UL style="color: #000000; font-size: 14.399999618530273px;"&gt;Spatial Reference: 102100 &amp;nbsp;(3857)&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 16:33:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/canupdatefeature-returning-false-when-geometry/m-p/696296#M6229</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2019-07-19T16:33:45Z</dc:date>
    </item>
  </channel>
</rss>

