<?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: Updating a feature class when there are changes to an Excel row in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/updating-a-feature-class-when-there-are-changes-to/m-p/1682434#M101686</link>
    <description>&lt;P&gt;At first I was thinking you could use an immediate calculation Attribute Rule to accomplish this but Arcade cannot be used to directly access MS Excel files or monitor changes.&amp;nbsp; As&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/154737"&gt;@RyanUthoff&lt;/a&gt;&amp;nbsp;mentioned, likely Python could do this.&amp;nbsp; I used an AI assistant on the Esri Support website to write this Python example below.&amp;nbsp; Likely you'll need to change and test the workflow to see if it works as intended. but it's a starting point.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;import pandas as pd&lt;BR /&gt;import arcpy&lt;BR /&gt;import os&lt;BR /&gt;import time&lt;/P&gt;&lt;P&gt;# Paths&lt;BR /&gt;excel_file = r"C:\Temp\TEMP.xlsx" # Replace with your Excel file path&lt;BR /&gt;sde_connection = r"C:\Temp\GISOWNER@TEMP.sde" # Replace with your connection file&lt;BR /&gt;feature_class = "TEMP.YourFeatureClass" # Replace with your feature class name&lt;BR /&gt;field_to_update = "NAME" # Replace with the field name in your eGDB.&lt;/P&gt;&lt;P&gt;# Function to update the enterprise geodatabase&lt;BR /&gt;def update_geodatabase_from_excel():&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Read Excel file&lt;BR /&gt;df = pd.read_excel(excel_file, sheet_name="TEMP")&lt;BR /&gt;&lt;BR /&gt;# Assuming the Excel file has a column 'NAME' and a unique identifier 'ID'&lt;BR /&gt;name_dict = dict(zip(df['ID'], df['NAME']))&lt;BR /&gt;&lt;BR /&gt;# Update the geodatabase&lt;BR /&gt;with arcpy.da.UpdateCursor(os.path.join(sde_connection, feature_class), ['ID', field_to_update]) as cursor:&lt;BR /&gt;for row in cursor:&lt;BR /&gt;if row[0] in name_dict:&lt;BR /&gt;row[1] = name_dict[row[0]]&lt;BR /&gt;cursor.updateRow(row)&lt;/P&gt;&lt;P&gt;# Monitor the Excel file for changes&lt;BR /&gt;last_modified_time = os.path.getmtime(excel_file)&lt;BR /&gt;while True:&lt;BR /&gt;current_modified_time = os.path.getmtime(excel_file)&lt;BR /&gt;if current_modified_time != last_modified_time:&lt;BR /&gt;update_geodatabase_from_excel()&lt;BR /&gt;last_modified_time = current_modified_time&lt;BR /&gt;time.sleep(5) # Check every 5 seconds&lt;/P&gt;</description>
    <pubDate>Thu, 05 Feb 2026 16:40:51 GMT</pubDate>
    <dc:creator>Robert_LeClair</dc:creator>
    <dc:date>2026-02-05T16:40:51Z</dc:date>
    <item>
      <title>Updating a feature class when there are changes to an Excel row</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/updating-a-feature-class-when-there-are-changes-to/m-p/1682369#M101672</link>
      <description>&lt;DIV&gt;We maintain an Excel sheet that is regularly updated, but some of my team members are not familiar with ArcGIS Pro to do data entry. Therefore, want to create a workflow that automatically pushes the information from Excel to an Enterprise GIS feature layer in real time. I’m new to integrating Excel with feature layers could someone provide guidance or best practices to accomplish this?&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Feb 2026 14:40:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/updating-a-feature-class-when-there-are-changes-to/m-p/1682369#M101672</guid>
      <dc:creator>Dakshata_Parajuli</dc:creator>
      <dc:date>2026-02-05T14:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a feature class when there are changes to an Excel row</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/updating-a-feature-class-when-there-are-changes-to/m-p/1682373#M101674</link>
      <description>&lt;P&gt;Someone might be able to provide a better solution, but I have a couple different ideas with the knowledge I have, but none of it will display changes in the Excel file in real time.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Use Python to make the updates. There are various implementations of this, but you can use Python to identify the changes in the Excel file, and then have it update the SQL table.&lt;/LI&gt;&lt;LI&gt;Do the same thing as what I said above, except do it in FME.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;None of this will push the data up in real time, but you could schedule it every 15 minutes, hour, etc.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 14:51:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/updating-a-feature-class-when-there-are-changes-to/m-p/1682373#M101674</guid>
      <dc:creator>RyanUthoff</dc:creator>
      <dc:date>2026-02-05T14:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a feature class when there are changes to an Excel row</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/updating-a-feature-class-when-there-are-changes-to/m-p/1682429#M101685</link>
      <description>&lt;P&gt;If you restructure the workbook around the &lt;A href="https://doc.arcgis.com/en/excel/latest/get-started/get-started-with-arcgis-for-excel.htm" target="_self"&gt;ArcGIS for Excel&lt;/A&gt; extension you can have two-way updates between the GIS and the Workbook. Keep in mind the workbook authors will need a certain level of &lt;A href="https://doc.arcgis.com/en/excel/latest/get-started/accounts.htm" target="_self"&gt;user privileges&lt;/A&gt; to push updates through the extension.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 16:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/updating-a-feature-class-when-there-are-changes-to/m-p/1682429#M101685</guid>
      <dc:creator>DavidSolari</dc:creator>
      <dc:date>2026-02-05T16:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a feature class when there are changes to an Excel row</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/updating-a-feature-class-when-there-are-changes-to/m-p/1682434#M101686</link>
      <description>&lt;P&gt;At first I was thinking you could use an immediate calculation Attribute Rule to accomplish this but Arcade cannot be used to directly access MS Excel files or monitor changes.&amp;nbsp; As&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/154737"&gt;@RyanUthoff&lt;/a&gt;&amp;nbsp;mentioned, likely Python could do this.&amp;nbsp; I used an AI assistant on the Esri Support website to write this Python example below.&amp;nbsp; Likely you'll need to change and test the workflow to see if it works as intended. but it's a starting point.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;import pandas as pd&lt;BR /&gt;import arcpy&lt;BR /&gt;import os&lt;BR /&gt;import time&lt;/P&gt;&lt;P&gt;# Paths&lt;BR /&gt;excel_file = r"C:\Temp\TEMP.xlsx" # Replace with your Excel file path&lt;BR /&gt;sde_connection = r"C:\Temp\GISOWNER@TEMP.sde" # Replace with your connection file&lt;BR /&gt;feature_class = "TEMP.YourFeatureClass" # Replace with your feature class name&lt;BR /&gt;field_to_update = "NAME" # Replace with the field name in your eGDB.&lt;/P&gt;&lt;P&gt;# Function to update the enterprise geodatabase&lt;BR /&gt;def update_geodatabase_from_excel():&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Read Excel file&lt;BR /&gt;df = pd.read_excel(excel_file, sheet_name="TEMP")&lt;BR /&gt;&lt;BR /&gt;# Assuming the Excel file has a column 'NAME' and a unique identifier 'ID'&lt;BR /&gt;name_dict = dict(zip(df['ID'], df['NAME']))&lt;BR /&gt;&lt;BR /&gt;# Update the geodatabase&lt;BR /&gt;with arcpy.da.UpdateCursor(os.path.join(sde_connection, feature_class), ['ID', field_to_update]) as cursor:&lt;BR /&gt;for row in cursor:&lt;BR /&gt;if row[0] in name_dict:&lt;BR /&gt;row[1] = name_dict[row[0]]&lt;BR /&gt;cursor.updateRow(row)&lt;/P&gt;&lt;P&gt;# Monitor the Excel file for changes&lt;BR /&gt;last_modified_time = os.path.getmtime(excel_file)&lt;BR /&gt;while True:&lt;BR /&gt;current_modified_time = os.path.getmtime(excel_file)&lt;BR /&gt;if current_modified_time != last_modified_time:&lt;BR /&gt;update_geodatabase_from_excel()&lt;BR /&gt;last_modified_time = current_modified_time&lt;BR /&gt;time.sleep(5) # Check every 5 seconds&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 16:40:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/updating-a-feature-class-when-there-are-changes-to/m-p/1682434#M101686</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2026-02-05T16:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a feature class when there are changes to an Excel row</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/updating-a-feature-class-when-there-are-changes-to/m-p/1682444#M101689</link>
      <description>&lt;P&gt;An issue I have come across when an Excel sheet is directly loaded into an ArcPro map is the need to refresh the link to allow you to see the latest edits done in Excel. Imagine you have an XY event layer built from XY fields from an Excel sheet loaded in the map. You would need to run the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/refresh-excel.htm" target="_self"&gt;Refresh Excel&lt;/A&gt; tool to see updates, the alternative is to shutdown and restart ArcPro which frankly is a non-starter.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 17:10:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/updating-a-feature-class-when-there-are-changes-to/m-p/1682444#M101689</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2026-02-05T17:10:24Z</dc:date>
    </item>
  </channel>
</rss>

