<?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 Delete all features before add new data in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/delete-all-features-before-add-new-data/m-p/495285#M2177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our system will retrieve new data each 30 mins from external website and add them into the feature layer(Database), and all old data should be deleted before this action. The question is there is no date type attributes which could let us use delete old features when we do the add/update action. And the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;$ReceivedTime doesn't contains specific time(hh:mm:ss) to support this since our system will be refreshed each 30 mins.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I noticed there is a way like&amp;nbsp;&lt;SPAN&gt;have a '&lt;/SPAN&gt;&lt;SPAN style="color: #909090; border: 0px; font-size: 10pt;"&gt;Poll an ArcGIS Server for Features&lt;/SPAN&gt;&lt;SPAN&gt;' input,&amp;nbsp;and set the input's '&lt;SPAN style="color: #909090; background-color: #ffffff; border: 0px; font-size: 12px;"&gt;Delete Polled Features&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;' property to Yes. Yeah, this can delete the features, however, there is no way that combine it with add/update action like a workflow,&amp;nbsp;could let us do the add/update after the delete operation.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jul 2017 01:48:21 GMT</pubDate>
    <dc:creator>KevinQi</dc:creator>
    <dc:date>2017-07-13T01:48:21Z</dc:date>
    <item>
      <title>Delete all features before add new data</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/delete-all-features-before-add-new-data/m-p/495285#M2177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our system will retrieve new data each 30 mins from external website and add them into the feature layer(Database), and all old data should be deleted before this action. The question is there is no date type attributes which could let us use delete old features when we do the add/update action. And the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;$ReceivedTime doesn't contains specific time(hh:mm:ss) to support this since our system will be refreshed each 30 mins.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I noticed there is a way like&amp;nbsp;&lt;SPAN&gt;have a '&lt;/SPAN&gt;&lt;SPAN style="color: #909090; border: 0px; font-size: 10pt;"&gt;Poll an ArcGIS Server for Features&lt;/SPAN&gt;&lt;SPAN&gt;' input,&amp;nbsp;and set the input's '&lt;SPAN style="color: #909090; background-color: #ffffff; border: 0px; font-size: 12px;"&gt;Delete Polled Features&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;' property to Yes. Yeah, this can delete the features, however, there is no way that combine it with add/update action like a workflow,&amp;nbsp;could let us do the add/update after the delete operation.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 01:48:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/delete-all-features-before-add-new-data/m-p/495285#M2177</guid>
      <dc:creator>KevinQi</dc:creator>
      <dc:date>2017-07-13T01:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Delete all features before add new data</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/delete-all-features-before-add-new-data/m-p/495286#M2178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this post is a little bit older, but I think it might have related with something I've struggling this week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, I need to delete all features before add new data too. I've created an output connector which let me delete old features using a date attribute (It's work well). &lt;BR /&gt;The problem is, I can't syncronize the input connector and output conector and as a result the feature is storaging some duplicated data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here an example of the geovent services configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Connector - Poll an External Website for JSON. &lt;BR /&gt;It return data from the last hour (noticed that would there is features already created in the output and them doesn't are the age to be deleted). &lt;BR /&gt;(every 5 minutes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out Connector - Add Feature &lt;BR /&gt;With option to delete old features&lt;BR /&gt;maximum feature age = 60 min&lt;BR /&gt;Frequency of deleting = 300 seg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea to delete all features before the add new ones?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2020 15:03:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/delete-all-features-before-add-new-data/m-p/495286#M2178</guid>
      <dc:creator>Alexander_DanielMena</dc:creator>
      <dc:date>2020-04-24T15:03:41Z</dc:date>
    </item>
  </channel>
</rss>

