<?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: Oracle Trigger in a versioned point feature class in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-trigger-in-a-versioned-point-feature-class/m-p/125796#M4849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;before sent the data with applyEdits they can execute a query using the rest end point&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;with the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;notification number. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;See here for more information&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/query-feature-service-.htm"&gt;https://developers.arcgis.com/rest/services-reference/query-feature-service-.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;If a feature exist they can use the ObjectID from the Json response in order to prepare an applyEdit request for update attributes and/or shape.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 May 2019 06:52:39 GMT</pubDate>
    <dc:creator>PanagiotisPapadopoulos</dc:creator>
    <dc:date>2019-05-02T06:52:39Z</dc:date>
    <item>
      <title>Oracle Trigger in a versioned point feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-trigger-in-a-versioned-point-feature-class/m-p/125793#M4846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a point feature class that I published with feature access enabled with Create, Update and Sync options.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The feature class has object ID, Global ID, Notification number, notification created date, due date, comments, work order. I enabled keep tracking on edits on the feature class. So it created Created date, created by, last edited date and&amp;nbsp;edited by fields. The feature class is versioned as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the team that I work with uses applyEdits REST endpoint of the feature service to post data to the feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All they do is insert into the feature class through applyEdits which is on a daily basis. My condition is,&amp;nbsp;if the notification number already exist in feature class, it should update the corresponding values for that particular record. If not, it should insert a new record.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried creating trigger on Adds table from Oracle following this link but I have very limited knowledge on python and oracle.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/113402-sql-trigger-in-versioned-sde"&gt;https://community.esri.com/thread/113402-sql-trigger-in-versioned-sde&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please point in the right direction how to proceed on&amp;nbsp;about this either using python or FME or any other ways?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate your time and consideration.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 06:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-trigger-in-a-versioned-point-feature-class/m-p/125793#M4846</guid>
      <dc:creator>Teejay</dc:creator>
      <dc:date>2019-04-23T06:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Trigger in a versioned point feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-trigger-in-a-versioned-point-feature-class/m-p/125794#M4847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The javascript method applyEdits can add, update or delete a feature&lt;/P&gt;&lt;P&gt;applyEdits(adds?, updates?, deletes?, callback?, errback?) -&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/featurelayer-amd.html#applyedits"&gt;https://developers.arcgis.com/javascript/3/jsapi/featurelayer-amd.html#applyedits&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case I believe would be better to ask from the team using the apply Edits to make a query with the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;notification number in order to check if already exist in feature class. &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;If a feature exist they can use the ObjectID from the response in order to prepare an applyEdit request for update attributes and/or shape.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;If not exist proceed to add a new feature.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 09:01:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-trigger-in-a-versioned-point-feature-class/m-p/125794#M4847</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2019-04-24T09:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Trigger in a versioned point feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-trigger-in-a-versioned-point-feature-class/m-p/125795#M4848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;SPAN class=""&gt;Panagiotis for your answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The team using the below endpoint via automated DataPower gateway technology. I'm trying to understand how to use the applyEdits(adds?, updates?, deletes?, callback?, errback?) method for them to query the data before do a insert or update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;server/rest/services/SAPNotification/Notification/FeatureServer/0/applyEdits&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the SAP team sending the data, do not have objectID to validate the query. From the feature class, whenever a new insert happens, the ObjectID, GlobalID generates.&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me get an idea to understand how?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 17:26:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-trigger-in-a-versioned-point-feature-class/m-p/125795#M4848</guid>
      <dc:creator>Teejay</dc:creator>
      <dc:date>2019-04-25T17:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Trigger in a versioned point feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-trigger-in-a-versioned-point-feature-class/m-p/125796#M4849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;before sent the data with applyEdits they can execute a query using the rest end point&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;with the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;notification number. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;See here for more information&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/query-feature-service-.htm"&gt;https://developers.arcgis.com/rest/services-reference/query-feature-service-.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;If a feature exist they can use the ObjectID from the Json response in order to prepare an applyEdit request for update attributes and/or shape.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 06:52:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-trigger-in-a-versioned-point-feature-class/m-p/125796#M4849</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2019-05-02T06:52:39Z</dc:date>
    </item>
  </channel>
</rss>

