<?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: Error editing data after dropping field from hosted feature service in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/475898#M23954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Josh from Esri tech support gave me the solution to problem.&amp;nbsp; I needed to disable/save/enable/save all the 'Editing' settings for the hosted feature layer. From Josh:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;The editing setting "Keep track of created and updated features " creates a back end table that lists out all of the fields in the feature layer. When deleting fields, this table does not always update. When the table in the feature layer and this back end table do not match, it disallows editing capabilities. Turning this option on and off&amp;nbsp; causes the table to refresh and update with the correct data.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2020 15:56:58 GMT</pubDate>
    <dc:creator>Trippetoe</dc:creator>
    <dc:date>2020-04-17T15:56:58Z</dc:date>
    <item>
      <title>Error editing data after dropping field from hosted feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/475897#M23953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an AGOL Hosted Feature Service that's been around for a long time. Several maps and apps have been built on the feature service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today, i deleted one field from the service (field name = '&lt;STRONG&gt;HearingDate&lt;/STRONG&gt;'). To delete the field, I used the AGOL Item &amp;gt; Data &amp;gt; Table page; clicked the field name, then selected Delete. The field seemed to be deleted as expected:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The field no longer appears in the Item &amp;gt; Data Table or Fields view&lt;/LI&gt;&lt;LI&gt;When I view the item's REST browser page, the field is not present&lt;/LI&gt;&lt;LI&gt;When I open the 'Configure Popup' dialog in a web map, the field is not listed&lt;/LI&gt;&lt;LI&gt;When I open the WAB 'Edit or create item' widget, the field is not present.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After dropping the field, i am unable to edit data in the table:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I tried editing directly in the Items &amp;gt; Data &amp;gt; table grid view&lt;/LI&gt;&lt;LI&gt;I tried editing directly in a web map&lt;/LI&gt;&lt;LI&gt;I tried adding map with the layer to a WAB and use the Edit widget&lt;/LI&gt;&lt;LI&gt;I tried editing in the REST browser for the service.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All those efforts result in the following response: &lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;{"addResults":[],"updateResults":[{"objectId":51099,"uniqueId":51099,"globalId":null,"success":false,"error":{"code":1000,"description":"Invalid column name '&lt;STRONG&gt;HearingDate&lt;/STRONG&gt;'."}}],"deleteResults":[]}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas about what's going on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a typical update request against the feature service. Note that the phrase '&lt;STRONG&gt;HearingDate&lt;/STRONG&gt;' is not part of the request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;[{"attributes":{"OBJECTID":51099,"CaseNumber":"6705943754","DateReceived":1532735978738,"Complainant":"test 105","ComplainantPhone":null,"ComplainantEmail":null,"Address":"Test Address","City":"Test city","IncidentDescription":"testing","SiteStatusDate":1532735978738,"DispositionDate":1532735978738,"DispositionNotes":null,"TagNumber":null,"TagIssuedDate":null,"IgaPartner":null,"Icomp":null,"PostingDate":null,"Latitude":null,"Longitude":null,"CitationNumber":null,"RespondentName":null,"IssuedDate":null,"ResponseDate":null,"Costs":null,"TotalCitationAmount":null,"JudgementDate":null,"HearingsOfficerJudgement":null,"CitationComments":null,"AsbestosSampleDate":null,"AsbestosSampleCount":null,"CaseAgeInDays":621,"DataApprovedDate":null,"SiteStatus":"Dirty","CleanupTime":null,"HasEvidence":"No","Disposition":"Open","CaseType":"Report","WasteSource":null,"DumpLocation":null,"EnvironmentalSensitivity":null,"DumpSize":null,"IsFreeBox":null,"CampersPresent":null,"PersonalProperty":null,"IsActive":"Yes","SuspectAsbestos":"No","ReportedMethod":"Website","County":"testing","AssignedCrew":null,"InvestigatingOfficer":null,"CitationResponse":null,"AsbestosSampleResults":null,"DataApproved":null,"SiteNotes":null,"IsTheftOfService":"No","LocationDetails":null,"ReferredToAgency":null,"ReportID":"RPT0Test","ReportStatus":"Received","ReportStatusDate":1532735978738,"ReportStatusNotes":null,"ReportedCount":1,"ReporterHasEvidence":"No","ReporterFirstContactedDate":null,"ReporterContactNotes":null,"reporterEvidenceDetails":"","EditDate_1":1534591020000}}]&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 20:36:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/475897#M23953</guid>
      <dc:creator>Trippetoe</dc:creator>
      <dc:date>2020-04-16T20:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error editing data after dropping field from hosted feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/475898#M23954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Josh from Esri tech support gave me the solution to problem.&amp;nbsp; I needed to disable/save/enable/save all the 'Editing' settings for the hosted feature layer. From Josh:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;The editing setting "Keep track of created and updated features " creates a back end table that lists out all of the fields in the feature layer. When deleting fields, this table does not always update. When the table in the feature layer and this back end table do not match, it disallows editing capabilities. Turning this option on and off&amp;nbsp; causes the table to refresh and update with the correct data.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 15:56:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/475898#M23954</guid>
      <dc:creator>Trippetoe</dc:creator>
      <dc:date>2020-04-17T15:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error editing data after dropping field from hosted feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/1076693#M41126</link>
      <description>&lt;P&gt;This worked for me.&amp;nbsp; Thanks for sharing!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 12:59:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/1076693#M41126</guid>
      <dc:creator>LeonS</dc:creator>
      <dc:date>2021-07-08T12:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error editing data after dropping field from hosted feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/1115871#M42919</link>
      <description>&lt;P&gt;This also solved my issue, thank you for sharing!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 23:04:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/1115871#M42919</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-11-10T23:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error editing data after dropping field from hosted feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/1286143#M51972</link>
      <description>&lt;P&gt;I am experiencing a similar issue, after doing the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Loading a hosted feature layer in to ArcGIS Pro&lt;/P&gt;&lt;P&gt;2. Deleting unused fields via the attribute table in ArcGIS Pro&lt;/P&gt;&lt;P&gt;3. Trying to carry out editing / use Calculate Field on other fields. I get the following error in ArcGIS Pro:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;ERROR 999999:&lt;SPAN class=""&gt; Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;General function failure [Error code: 1000. Description: Invalid column name 'Column2'.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Invalid column name 'F39'.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Invalid column name 'F2016_cond'.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Invalid column name 'F41'.. ]&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Failed to execute (CalculateField).&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;Failed at 05 May 2023 15:49:51 (Elapsed Time: 2.10 seconds)&lt;/PRE&gt;&lt;P&gt;I have tried the suggested fix of disabling, saving, re-enabling and saving the following settings in the AGOL hosted feature layer, but to no avail. I have also tried removing and re-adding the layer to the ArcGIS Pro project in between these steps, and also closing and reopening the project. Still no luck.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;Keep track of changes to the data (add, update, delete features).&lt;/DIV&gt;&lt;DIV class=""&gt;Keep track of who edited the data (editor name, date and time).&lt;/DIV&gt;&lt;DIV class=""&gt;I have also tried running Calculate Field in Python and SQL and still no luck.&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 May 2023 14:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/1286143#M51972</guid>
      <dc:creator>DataOfficer</dc:creator>
      <dc:date>2023-05-05T14:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error editing data after dropping field from hosted feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/1319865#M53983</link>
      <description>&lt;P&gt;I rebuilt the feature template using the Map Classic (why isn't this available in the new map yet, it's August 2023??) but that didn't work. I tried turning on/off the "Keep track of changes to the data (add, update, delete features)." but it didn't fix the problem. I then tried turning off/on &lt;STRONG&gt;all&lt;/STRONG&gt; of those features (Enable editing, Keep track of changes..., Keep track of who... Enable Sync... ). I also rebuilt the Spatial Index (not sure if necessary).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Then it finally started working again.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 20:35:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/1319865#M53983</guid>
      <dc:creator>alex_friant</dc:creator>
      <dc:date>2023-08-17T20:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error editing data after dropping field from hosted feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/1497149#M59864</link>
      <description>&lt;P&gt;Hi there! I followed your advice because the previous solution didn't work for me either. I wanted to thank you and share what I did in case someone else encounters the same issue.&lt;/P&gt;&lt;P&gt;Here's a bit of background: I have a hosted feature layer in ArcGIS Online consisting of point locations for mine sites. This layer had a lot of fields, and I decided to clean it up by deleting many of them. I deleted the fields using the "Data" tab in ArcGIS Online, selecting the fields and deleting them from there, rather than doing it in ArcGIS Pro. Over time, I've found that managing layers hosted in ArcGIS Online works better for me using ArcGIS Online commands instead of ArcGIS Pro commands—if that makes sense. Things just seem to stick better that way.&lt;/P&gt;&lt;P&gt;So, back to my story. I followed Mr. Alex's suggestion and adjusted the settings as shown in the image. I’m not sure if that alone fixed the issue, but what I did next definitely helped. I opened the layer in an ArcGIS Online map, went to a point, and updated an attribute. It allowed me to save the change. Then, I was able to load the layer into ArcGIS Pro and save any changes I made.&lt;/P&gt;&lt;P&gt;I wanted to share this extra bit of information for anyone who might come across this post. I hope it helps!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FIX.png" style="width: 568px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107878iD73A99969EF2673A/image-size/large?v=v2&amp;amp;px=999" role="button" title="FIX.png" alt="FIX.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 15:07:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-editing-data-after-dropping-field-from/m-p/1497149#M59864</guid>
      <dc:creator>JonJones1</dc:creator>
      <dc:date>2024-06-25T15:07:59Z</dc:date>
    </item>
  </channel>
</rss>

