<?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 The type initializer for 'ArcGIS.Desktop.Editing.EditingModule' threw an exception in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/the-type-initializer-for-arcgis-desktop-editing/m-p/1297374#M9921</link>
    <description>&lt;P&gt;I’m trying to update a database record using the EditOperation class, and I’m running into problems instantiating that class.&amp;nbsp; It requires WPF, and I’m not sure about using that in a web application.&amp;nbsp; When I try to create a EditOperation, I get the exception “The type initializer for 'ArcGIS.Desktop.Editing.EditingModule' threw an exception”.&lt;/P&gt;&lt;P&gt;Is there another way to update a row from a Table or FeatureClass?&amp;nbsp; Perhaps equivalent to an InsertCursor? Has anyone run into this with C#?&lt;/P&gt;&lt;P&gt;We’re using C#, ArcGIS Pro SDK 2.9.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2023 21:36:11 GMT</pubDate>
    <dc:creator>Chip727</dc:creator>
    <dc:date>2023-06-08T21:36:11Z</dc:date>
    <item>
      <title>The type initializer for 'ArcGIS.Desktop.Editing.EditingModule' threw an exception</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/the-type-initializer-for-arcgis-desktop-editing/m-p/1297374#M9921</link>
      <description>&lt;P&gt;I’m trying to update a database record using the EditOperation class, and I’m running into problems instantiating that class.&amp;nbsp; It requires WPF, and I’m not sure about using that in a web application.&amp;nbsp; When I try to create a EditOperation, I get the exception “The type initializer for 'ArcGIS.Desktop.Editing.EditingModule' threw an exception”.&lt;/P&gt;&lt;P&gt;Is there another way to update a row from a Table or FeatureClass?&amp;nbsp; Perhaps equivalent to an InsertCursor? Has anyone run into this with C#?&lt;/P&gt;&lt;P&gt;We’re using C#, ArcGIS Pro SDK 2.9.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 21:36:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/the-type-initializer-for-arcgis-desktop-editing/m-p/1297374#M9921</guid>
      <dc:creator>Chip727</dc:creator>
      <dc:date>2023-06-08T21:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: The type initializer for 'ArcGIS.Desktop.Editing.EditingModule' threw an exception</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/the-type-initializer-for-arcgis-desktop-editing/m-p/1297591#M9922</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For CoreHost applications, calls to editing methods should be enclosed within a call to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic72539.html" target="_blank" rel="nofollow noopener noreferrer"&gt;Geodatabase.ApplyEdits&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sample here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/issue-creating-updating-features-via-corehost/td-p/864941" target="_self"&gt;https://community.esri.com/t5/arcgis-pro-sdk-questions/issue-creating-updating-features-via-corehost/td-p/864941&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 14:09:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/the-type-initializer-for-arcgis-desktop-editing/m-p/1297591#M9922</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-06-09T14:09:42Z</dc:date>
    </item>
  </channel>
</rss>

