<?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: Editor widget applyEdits error (Dev Edition 1.11) in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1272992#M6569</link>
    <description>&lt;P&gt;I am having exactly the same issue with ArcGIS JavaScript 4.26.5! Did you manage to solve this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have noticed that they have included&amp;nbsp;returnServiceEditsOption: "original-and-current-features" in the EditorViewModel.js during the applyEdits. This is the case if the feature layer is using a URL and not a portaItem? There is some logic to test if the layer is a hosted one, or in AGOL. We are using the feature layer by loading a URL since we have an standalone ArcGIS Server. We also have an enterprise Portal and load the layer again with the url.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/349741" target="_blank" rel="noopener"&gt;@JoseBanuelos&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/7384" target="_blank" rel="noopener"&gt;@ReneRubalcava&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;, please let us know about any feedback!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EDIT: we downgrade to version 4.26.1 and it works fine&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2023 14:16:44 GMT</pubDate>
    <dc:creator>MichailMarinakis1</dc:creator>
    <dc:date>2023-03-29T14:16:44Z</dc:date>
    <item>
      <title>Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1272304#M6557</link>
      <description>&lt;P&gt;I'm wondering if I'm getting this error because of something I've miss configured or it's a bug.&lt;/P&gt;&lt;P&gt;I've installed the Dev Edition 1.11 and am testing out the Editor Widget. I've setup my layers and in testing a first edit I get this error:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;"Error: Combination of parameters rollbackOnFailure = false &amp;amp; returnServiceEditsOption = originalAndCurrentFeatures for applyEdits operation is not supported."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;extendedCode&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;-2147467259&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;message&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;"Unable to complete operation."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Looking at the body of the request:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeonAus_0-1679970155186.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66449i0B3688CA027C3F29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeonAus_0-1679970155186.png" alt="LeonAus_0-1679970155186.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and the &lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits-feature-service-.htm" target="_self"&gt;documentation&lt;/A&gt; of applyEdits, &lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;originalAndCurrentFeatures&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;option is only valid when&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;rollBackOnFailure&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;. As rollBackOnFailure isn't being set in the request, I'm guessing it's defaulting to false, which is causing my error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way I can get the Editor Widget to send the rollBackOnFailure parameter as true without customizing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My edit layer is an ArcGIS Server 10.9.1 Feature Service with the data in an Enterprise Geodatabase.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 03:21:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1272304#M6557</guid>
      <dc:creator>LeonAus</dc:creator>
      <dc:date>2023-03-28T03:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1272992#M6569</link>
      <description>&lt;P&gt;I am having exactly the same issue with ArcGIS JavaScript 4.26.5! Did you manage to solve this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have noticed that they have included&amp;nbsp;returnServiceEditsOption: "original-and-current-features" in the EditorViewModel.js during the applyEdits. This is the case if the feature layer is using a URL and not a portaItem? There is some logic to test if the layer is a hosted one, or in AGOL. We are using the feature layer by loading a URL since we have an standalone ArcGIS Server. We also have an enterprise Portal and load the layer again with the url.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/349741" target="_blank" rel="noopener"&gt;@JoseBanuelos&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/7384" target="_blank" rel="noopener"&gt;@ReneRubalcava&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;, please let us know about any feedback!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EDIT: we downgrade to version 4.26.1 and it works fine&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 14:16:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1272992#M6569</guid>
      <dc:creator>MichailMarinakis1</dc:creator>
      <dc:date>2023-03-29T14:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1273375#M6579</link>
      <description>&lt;P&gt;I ended up getting around it with an interceptor, but was hoping not to have to make a custom widget to get around it long term.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;esriConfig.request.interceptors.splice(0, 0, {
      urls: "https://&amp;lt;FeatureServer URL&amp;gt;",
      before: function(params) {
        if (params.requestOptions.query.returnServiceEditsOption &amp;amp;&amp;amp; params.requestOptions.query.returnServiceEditsOption === "originalAndCurrentFeatures") {
          params.requestOptions.query.rollbackOnFailure = true;
        }
      }
    });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 01:57:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1273375#M6579</guid>
      <dc:creator>LeonAus</dc:creator>
      <dc:date>2023-03-30T01:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1273425#M6584</link>
      <description>&lt;P&gt;Nice approach! Thanks for the response&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 07:57:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1273425#M6584</guid>
      <dc:creator>MichailMarinakis1</dc:creator>
      <dc:date>2023-03-30T07:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1275691#M6638</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/261246"&gt;@LeonAus&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I don’t fully understand the interceptor and the before interceptor call back parameters&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#BeforeInterceptorCallback" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#BeforeInterceptorCallback&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to set the parameters? I’ve tried using the code you have but this doesn’t seem make any difference to the editor widget.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 10:51:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1275691#M6638</guid>
      <dc:creator>PaulHickson1</dc:creator>
      <dc:date>2023-04-05T10:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1278636#M6713</link>
      <description>&lt;P&gt;You should only need to update the urls string with your FeatureServer endpoint, then add the code to the right spot in a cloned editor widget in ExB Dev Edition.&lt;/P&gt;&lt;P&gt;That's why I did anyway. If you're using a different app or different version then it will be a slightly different process.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 05:27:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1278636#M6713</guid>
      <dc:creator>LeonAus</dc:creator>
      <dc:date>2023-04-14T05:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1282056#M6763</link>
      <description>&lt;P&gt;We're also seeing this with Server 10.9.1 w/ data in an Enterprise Geodatabase. We're not using Experience Builder but are using the JS SDK directly. I was able to apply the interceptor to fix the issue. Posting here mainly to subscribe but also to validate that this issue still exists.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 19:53:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1282056#M6763</guid>
      <dc:creator>RyderRoss</dc:creator>
      <dc:date>2023-04-24T19:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1282920#M6791</link>
      <description>&lt;P&gt;Our team is also experiencing the same issue in the same environment. Except for some reason, we are able to create point features no problem but get the&amp;nbsp;&lt;EM&gt;&lt;SPAN class=""&gt;"Error: Combination of parameters rollbackOnFailure = false &amp;amp; returnServiceEditsOption = originalAndCurrentFeatures for applyEdits operation is not supported."&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;&amp;nbsp;when creating a polygon feature.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Just curious if anyone saw this issue upgrading to Enterprise 11.1 yet to see if it "solves" the issue?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 16:54:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1282920#M6791</guid>
      <dc:creator>ClangDevGuy</dc:creator>
      <dc:date>2023-04-26T16:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1282958#M6792</link>
      <description>&lt;P&gt;Esri are aware of this bug but unwilling to fix or communicate the issue to users. This cannot wait for the next release cycle and should be applied as a hot fix. Typical esri unfortunately.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 17:48:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1282958#M6792</guid>
      <dc:creator>QuantitativeFuturist</dc:creator>
      <dc:date>2023-04-26T17:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1283235#M6800</link>
      <description>&lt;P&gt;With the comment above you have suggested esri are aware.&amp;nbsp; Do you have a bug number that they have supplied ?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 09:02:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1283235#M6800</guid>
      <dc:creator>PaulHickson1</dc:creator>
      <dc:date>2023-04-27T09:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1283238#M6801</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are suspecting that there is a bug with the editor widget in ArcGIS SDK for JavaScript, that impacts custom web apps and functionalities on the experience builder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is reproducible at version&amp;nbsp;&lt;SPAN&gt;4.26.5 but not in the 4.26.1. There are further details in the comments above.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please let us know about any feedback! Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 09:10:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1283238#M6801</guid>
      <dc:creator>MichailMarinakis1</dc:creator>
      <dc:date>2023-04-27T09:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1285596#M6846</link>
      <description>&lt;P&gt;I can not find this bug in ESRIs systems, do you buy any chance have the bug-number or title? &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anne&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 11:45:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1285596#M6846</guid>
      <dc:creator>Anne_F</dc:creator>
      <dc:date>2023-05-04T11:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1287152#M6883</link>
      <description>&lt;P&gt;Please work with the support team to make a reproducible app, then we'll investigate it ASAP. Thanks for the post!&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 07:53:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1287152#M6883</guid>
      <dc:creator>TianWen</dc:creator>
      <dc:date>2023-05-09T07:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget applyEdits error (Dev Edition 1.11)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1288436#M6937</link>
      <description>&lt;P&gt;Hi, we have logged this as BUG-000157217,&amp;nbsp; it took some sleuthing but have determined a fix and plan on addressing this for 4.27.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 02:02:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/editor-widget-applyedits-error-dev-edition-1-11/m-p/1288436#M6937</guid>
      <dc:creator>HeatherGonzago</dc:creator>
      <dc:date>2023-05-12T02:02:56Z</dc:date>
    </item>
  </channel>
</rss>

