<?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: SOI on applyEdits of FeatureService in ArcGIS Enterprise Extensibility Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806023#M82</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you find a solution to this?&amp;nbsp; We would like to do the same thing.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Nov 2019 19:46:07 GMT</pubDate>
    <dc:creator>JadeFreeman</dc:creator>
    <dc:date>2019-11-12T19:46:07Z</dc:date>
    <item>
      <title>SOI on applyEdits of FeatureService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806022#M81</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm wondering if it's possible to capture applyEdits of a Feature Service using an SOI?&amp;nbsp; Here's the Rest request I want to intercept:&amp;nbsp; &lt;A href="https://developers.arcgis.com/rest/services-reference/apply-edits-feature-service-.htm"&gt;https://developers.arcgis.com/rest/services-reference/apply-edits-feature-service-.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But more importantly, I would like to integrate my code in the middle of the edit session.&amp;nbsp; So when doing the edits within an Edit Operation, I want to call other checks. If the checks fail, I need to basically undo the edit operation, and pass back an error message stating it failed.&amp;nbsp; There is a (non-working) example in the SOE samples of basically applying edits using an SOE.&amp;nbsp; So I think I can probably write my code in the middle of this.&amp;nbsp; But that would require me to essentially write all the code that is part of featureService/applyEdits. I was hoping to avoid this.&amp;nbsp; Ideas?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 13:59:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806022#M81</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2018-10-11T13:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: SOI on applyEdits of FeatureService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806023#M82</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you find a solution to this?&amp;nbsp; We would like to do the same thing.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2019 19:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806023#M82</guid>
      <dc:creator>JadeFreeman</dc:creator>
      <dc:date>2019-11-12T19:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: SOI on applyEdits of FeatureService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806024#M83</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. You have to do it as a SOE.&amp;nbsp; You need to run it against the Map Service, not Feature Service. You'll have to essentially reprogram the ApplyEdits REST endpoint. I got it working great, and even added topology checking in the middle of it and provide the ability to undo edits if topology fails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 15:48:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806024#M83</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2019-11-13T15:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: SOI on applyEdits of FeatureService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806025#M84</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, last time I checked, the sample online was buggy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 15:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806025#M84</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2019-11-13T15:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: SOI on applyEdits of FeatureService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806026#M85</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H Karen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share more details about SOE? I have requirement with Utility Networks topology to validate the adds and updates with third-party Enterprise Asset Management system. This includes obtaining "asset id" for any new objects such as pipe etc. from the EAM system and then continue with applyEdits. I was hoping to build it using SOI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 02:46:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806026#M85</guid>
      <dc:creator>VishApte</dc:creator>
      <dc:date>2019-12-06T02:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: SOI on applyEdits of FeatureService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806027#M86</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to do it in an SOI, you wont be able to undo edits because the SOI occurs before (or after, I can't remember), it gets to the actual edit.&amp;nbsp; I did mine in an SOE so that you can perform the following: start an edit session; check topology before the edit occurs; perform the edits; check topology after the edits; and then either cancel the edit session (undo edits), or continue/save the edits (depending upon which option the user chooses), and pass back topology&amp;nbsp;errors if there are any.&amp;nbsp; It'll help to fully understand how ArcObjects deals with edits. Then simulate that.&amp;nbsp; I had to duplicate&amp;nbsp;many of the ApplyEdits functions in a Feature Service as well in order to pull this off since&amp;nbsp;only Map Services can handle SOEs.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Karen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 13:04:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/soi-on-applyedits-of-featureservice/m-p/806027#M86</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2019-12-06T13:04:09Z</dc:date>
    </item>
  </channel>
</rss>

