<?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 Urgent - How to use FeatureDataForm for tables (not features)? in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/urgent-how-to-use-featuredataform-for-tables-not/m-p/265864#M1267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use FeatureDataForm to add new records or edit existing records in the personal geodatabase. I am using ArcGIS Runtime SDK for WPF and using MPK as local services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to create the FeatureData form but when I click "OK" button, it fires EditEnded, but does not create any records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Dec 2014 16:14:17 GMT</pubDate>
    <dc:creator>BARISUZ1</dc:creator>
    <dc:date>2014-12-20T16:14:17Z</dc:date>
    <item>
      <title>Urgent - How to use FeatureDataForm for tables (not features)?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/urgent-how-to-use-featuredataform-for-tables-not/m-p/265864#M1267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use FeatureDataForm to add new records or edit existing records in the personal geodatabase. I am using ArcGIS Runtime SDK for WPF and using MPK as local services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to create the FeatureData form but when I click "OK" button, it fires EditEnded, but does not create any records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Dec 2014 16:14:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/urgent-how-to-use-featuredataform-for-tables-not/m-p/265864#M1267</guid>
      <dc:creator>BARISUZ1</dc:creator>
      <dc:date>2014-12-20T16:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent - How to use FeatureDataForm for tables (not features)?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/urgent-how-to-use-featuredataform-for-tables-not/m-p/265865#M1268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the solution implicitly here: &lt;A href="https://community.esri.com/message/43304" target="_blank"&gt;EditorWidget FeatureDataForm events and when can save edits&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was actually as easy as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;...
void featureDataForm_EditEnded(object sender, EventArgs e)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; //
&amp;nbsp;&amp;nbsp;&amp;nbsp; // some code segment to check EventArgs ...
&amp;nbsp;&amp;nbsp;&amp;nbsp; //

&amp;nbsp;&amp;nbsp;&amp;nbsp; // some other code segment ...

&amp;nbsp;&amp;nbsp;&amp;nbsp; tblDataForm.FeatureLayer.SaveEditsFailed += FeatureLayer_SaveEditsFailed;
&amp;nbsp;&amp;nbsp;&amp;nbsp; tblDataForm.FeatureLayer.EndSaveEdits += FeatureLayer_EndSaveEdits;
&amp;nbsp;&amp;nbsp;&amp;nbsp; tblDataForm.FeatureLayer.SaveEdits(); // this does the trick!!!
}
...&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope someone finds this useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:03:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/urgent-how-to-use-featuredataform-for-tables-not/m-p/265865#M1268</guid>
      <dc:creator>BARISUZ1</dc:creator>
      <dc:date>2021-12-11T13:03:26Z</dc:date>
    </item>
  </channel>
</rss>

