<?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: Editing fails to save in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/editing-fails-to-save/m-p/26702#M119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you might be right with that link, although the grid index values don't differ that much and the edits are within the extents of the parent dataset on which the feature service is based.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I'm not getting an error in the Runtime and there's nothing in the logs to suggest that the edit has failed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Apr 2013 21:11:23 GMT</pubDate>
    <dc:creator>MatthewBrown1</dc:creator>
    <dc:date>2013-04-25T21:11:23Z</dc:date>
    <item>
      <title>Editing fails to save</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/editing-fails-to-save/m-p/26700#M117</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 have a script that creates map packages based on a template for different input data (in different locations). The schema and coordinate system are identical, however edits to scripted packages fail to save. They draw in the application and are visible on the map (as graphics), but they fail to persist between sessions. No error is returned by the application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found that the cause is a difference in "GeometryDef grid size 1" between the template and scripted feature classes and the issue is resolved by adding the same grid size to the CopyFeatures args. What I don't understand is why the spatial grid would stop the edits from saving.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not 100% sure, but I think this wasn't an issue prior to 10.1.1.&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;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 05:59:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/editing-fails-to-save/m-p/26700#M117</guid>
      <dc:creator>MatthewBrown1</dc:creator>
      <dc:date>2013-04-24T05:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Editing fails to save</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/editing-fails-to-save/m-p/26701#M118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this any help (see the section on "The Spatial Index Grid Size is Invalid")?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//01m600000046000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//01m600000046000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 06:22:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/editing-fails-to-save/m-p/26701#M118</guid>
      <dc:creator>DavidMartin</dc:creator>
      <dc:date>2013-04-24T06:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Editing fails to save</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/editing-fails-to-save/m-p/26702#M119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you might be right with that link, although the grid index values don't differ that much and the edits are within the extents of the parent dataset on which the feature service is based.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I'm not getting an error in the Runtime and there's nothing in the logs to suggest that the edit has failed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 21:11:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/editing-fails-to-save/m-p/26702#M119</guid>
      <dc:creator>MatthewBrown1</dc:creator>
      <dc:date>2013-04-25T21:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Editing fails to save</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/editing-fails-to-save/m-p/26703#M120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I looked for an arcpy function that would return the value of "GeometryDef grid size 1" for an existing feature class so I could use this as an argument for CopyFeatures, but I was unable to find anything. Looks like you need to use ArcObjects to expose that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.env.maintainSpatialIndex = True&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;to stop the grid index size changing during CopyFeatures or DeleteFeatures would be good, but the help &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//001w0000003r000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//001w0000003r000000&lt;/A&gt;&lt;SPAN&gt; says it's for ArcSDE, while I'm using File GDB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.CalculateDefaultGridIndex_management(inputFC) &lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;on the existing feature class and using the result as an argument in CopyFeatures seems to be a good workaround.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 23:12:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/editing-fails-to-save/m-p/26703#M120</guid>
      <dc:creator>MatthewBrown1</dc:creator>
      <dc:date>2013-04-25T23:12:54Z</dc:date>
    </item>
  </channel>
</rss>

