<?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 Existing Field Values Based on Updated Domains List in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/updating-existing-field-values-based-on-updated/m-p/1366472#M76969</link>
    <description>&lt;P&gt;You say 'Fields differing from the new domains' - do you instead mean the values in the field?&lt;/P&gt;&lt;P&gt;If so I'd just use Field Calculator&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/calculate-field.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/calculate-field.htm&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def replace_value(field):
    if field == 'apple':
        return 'fruit'
    elif field == 'potato':
        return 'vegetable'


# Call the function to update the field values
replace_value(!YourFieldName!)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2024 20:02:22 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2024-01-04T20:02:22Z</dc:date>
    <item>
      <title>Updating Existing Field Values Based on Updated Domains List</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/updating-existing-field-values-based-on-updated/m-p/1366424#M76968</link>
      <description>&lt;P&gt;I have updated an existing domain list for an existing field, which has resulted in the fields differing from the new domains. Is there a way to update field values based on the new domains? I'm using ArcPro version 3.1.2.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 18:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/updating-existing-field-values-based-on-updated/m-p/1366424#M76968</guid>
      <dc:creator>BumbleBeast</dc:creator>
      <dc:date>2024-01-04T18:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Existing Field Values Based on Updated Domains List</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/updating-existing-field-values-based-on-updated/m-p/1366472#M76969</link>
      <description>&lt;P&gt;You say 'Fields differing from the new domains' - do you instead mean the values in the field?&lt;/P&gt;&lt;P&gt;If so I'd just use Field Calculator&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/calculate-field.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/calculate-field.htm&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def replace_value(field):
    if field == 'apple':
        return 'fruit'
    elif field == 'potato':
        return 'vegetable'


# Call the function to update the field values
replace_value(!YourFieldName!)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 20:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/updating-existing-field-values-based-on-updated/m-p/1366472#M76969</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2024-01-04T20:02:22Z</dc:date>
    </item>
  </channel>
</rss>

