<?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 Why i can't edit my featureClass using (.geodatabase) file in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/why-i-can-t-edit-my-featureclass-using-geodatabase/m-p/459142#M5635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello i've generated (.geodatabase) and i ried to edit my featureClass by adding a new feature (polygon) using the following code :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;private async void startLocalDB()&lt;BR /&gt; {&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; var gdb = await Esri.ArcGISRuntime.Data.Geodatabase.OpenAsync(@"C:\Users\mkeddar\Documents\ArcGIS\geodblocal\poly\data\pocdb.geodatabase");&lt;BR /&gt; var table = gdb.GeodatabaseFeatureTables.ElementAt(0);&lt;BR /&gt; await table.LoadAsync();&lt;BR /&gt; MapPoint locationPoint = new MapPoint(-2.708471, 56.096575, 5000, SpatialReferences.Wgs84);&lt;BR /&gt; var pointCollection = new Esri.ArcGISRuntime.Geometry.PointCollection(SpatialReferences.Wgs84);&lt;BR /&gt; pointCollection.Add(-109.048, 40.998);&lt;BR /&gt; pointCollection.Add(-102.047, 40.998);&lt;BR /&gt; pointCollection.Add(-102.037, 36.989);&lt;BR /&gt; pointCollection.Add(-109.048, 36.998);&lt;/P&gt;&lt;P&gt;var poly = new Esri.ArcGISRuntime.Geometry.Polygon(pointCollection);&lt;BR /&gt; var attributes = new Dictionary&amp;lt;string, object&amp;gt;();&lt;BR /&gt; attributes.Add("polygon", poly);&lt;BR /&gt; if (table.LoadStatus == Esri.ArcGISRuntime.LoadStatus.Loaded)&lt;BR /&gt; {&lt;BR /&gt; // var lyr = new FeatureLayer(table);&lt;BR /&gt; MyMapView.Map = new Map();&lt;BR /&gt; // MyMapView.Map.OperationalLayers.Add(lyr);&lt;BR /&gt; var template = table.FeatureTemplates.FirstOrDefault() ?? table.FeatureTypes.FirstOrDefault(t =&amp;gt; t.Templates.Any())?.Templates?.FirstOrDefault();&lt;BR /&gt; var feature = table.CreateFeature(attributes,locationPoint);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;//var feature = table.CreateFeature(template);&lt;/SPAN&gt;&lt;BR /&gt; await table.AddFeatureAsync(feature);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;i don't know why this doesn't work and i have an exception telling me that the table doesn't support Create option , although i have a standard licence ArcMap 10.4 &amp;nbsp;that i used to generate the mobile geodatabase i have the same problem when i work with (.mpk) file is it the problem with ArcGis runtime or with my ArcMap configuration ? i shared my .geodatabse file .thanks to help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jul 2017 15:59:51 GMT</pubDate>
    <dc:creator>ManelKEDDAR</dc:creator>
    <dc:date>2017-07-27T15:59:51Z</dc:date>
    <item>
      <title>Why i can't edit my featureClass using (.geodatabase) file</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-i-can-t-edit-my-featureclass-using-geodatabase/m-p/459142#M5635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello i've generated (.geodatabase) and i ried to edit my featureClass by adding a new feature (polygon) using the following code :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;private async void startLocalDB()&lt;BR /&gt; {&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; var gdb = await Esri.ArcGISRuntime.Data.Geodatabase.OpenAsync(@"C:\Users\mkeddar\Documents\ArcGIS\geodblocal\poly\data\pocdb.geodatabase");&lt;BR /&gt; var table = gdb.GeodatabaseFeatureTables.ElementAt(0);&lt;BR /&gt; await table.LoadAsync();&lt;BR /&gt; MapPoint locationPoint = new MapPoint(-2.708471, 56.096575, 5000, SpatialReferences.Wgs84);&lt;BR /&gt; var pointCollection = new Esri.ArcGISRuntime.Geometry.PointCollection(SpatialReferences.Wgs84);&lt;BR /&gt; pointCollection.Add(-109.048, 40.998);&lt;BR /&gt; pointCollection.Add(-102.047, 40.998);&lt;BR /&gt; pointCollection.Add(-102.037, 36.989);&lt;BR /&gt; pointCollection.Add(-109.048, 36.998);&lt;/P&gt;&lt;P&gt;var poly = new Esri.ArcGISRuntime.Geometry.Polygon(pointCollection);&lt;BR /&gt; var attributes = new Dictionary&amp;lt;string, object&amp;gt;();&lt;BR /&gt; attributes.Add("polygon", poly);&lt;BR /&gt; if (table.LoadStatus == Esri.ArcGISRuntime.LoadStatus.Loaded)&lt;BR /&gt; {&lt;BR /&gt; // var lyr = new FeatureLayer(table);&lt;BR /&gt; MyMapView.Map = new Map();&lt;BR /&gt; // MyMapView.Map.OperationalLayers.Add(lyr);&lt;BR /&gt; var template = table.FeatureTemplates.FirstOrDefault() ?? table.FeatureTypes.FirstOrDefault(t =&amp;gt; t.Templates.Any())?.Templates?.FirstOrDefault();&lt;BR /&gt; var feature = table.CreateFeature(attributes,locationPoint);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;//var feature = table.CreateFeature(template);&lt;/SPAN&gt;&lt;BR /&gt; await table.AddFeatureAsync(feature);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;i don't know why this doesn't work and i have an exception telling me that the table doesn't support Create option , although i have a standard licence ArcMap 10.4 &amp;nbsp;that i used to generate the mobile geodatabase i have the same problem when i work with (.mpk) file is it the problem with ArcGis runtime or with my ArcMap configuration ? i shared my .geodatabse file .thanks to help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 15:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-i-can-t-edit-my-featureclass-using-geodatabase/m-p/459142#M5635</guid>
      <dc:creator>ManelKEDDAR</dc:creator>
      <dc:date>2017-07-27T15:59:51Z</dc:date>
    </item>
  </channel>
</rss>

