<?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: Deleting and populating a table using attribute rules / triggered on insert to another table in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/deleting-and-populating-a-table-using-attribute/m-p/1298139#M44583</link>
    <description>&lt;P&gt;you can look into an arcpy python script or arcgis pro add-ins for further customization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/" target="_blank"&gt;ArcGIS Developers&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jun 2023 15:41:28 GMT</pubDate>
    <dc:creator>MarceloMarques</dc:creator>
    <dc:date>2023-06-12T15:41:28Z</dc:date>
    <item>
      <title>Deleting and populating a table using attribute rules / triggered on insert to another table</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-and-populating-a-table-using-attribute/m-p/1298025#M44582</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a survey record table where users input each conducted survey for a given area. This table has survey_area, (area code) date_start (date of survey), and frequency (surveying freq. in days) attributes. I would like to create a separate "survey planning" table to show upcoming surveys based on the latest survey and the frequency of each area. When a survey is done, planning table should show upcoming surveys for the next 2 years. Whenever the same area is surveyed next, the table should update all the dates based on the latest survey date. That's because a survey could be late or early and planning table should always show an up to date plan.&lt;/P&gt;&lt;P&gt;My logic is to create an attribute rule triggered after each insert to first check the planning table, delete all entries with the same survey_area attribute and create new ones from the latest entry based on the new survey date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With a basic understanding of arcade, I can get the data, filter etc but I don't know how to delete and populate the planning table. Could you please help?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 13:17:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-and-populating-a-table-using-attribute/m-p/1298025#M44582</guid>
      <dc:creator>KIVANC</dc:creator>
      <dc:date>2023-06-12T13:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting and populating a table using attribute rules / triggered on insert to another table</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-and-populating-a-table-using-attribute/m-p/1298139#M44583</link>
      <description>&lt;P&gt;you can look into an arcpy python script or arcgis pro add-ins for further customization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/" target="_blank"&gt;ArcGIS Developers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 15:41:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-and-populating-a-table-using-attribute/m-p/1298139#M44583</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-06-12T15:41:28Z</dc:date>
    </item>
  </channel>
</rss>

