<?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: Trouble with the field mapping with the append tool in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/trouble-with-the-field-mapping-with-the-append/m-p/1504183#M71053</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/432404"&gt;@Laura_m_Conner&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In ArcGIS Pro, set up the Append tool as if you were going to execute it, but before clicking Run, click the dropdown arrow next to this and click&amp;nbsp;&lt;STRONG&gt;Copy Python Command&lt;/STRONG&gt;.&amp;nbsp; Paste that code into your script and do a comparison to what you have.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JakeSkinner_0-1720709180954.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109498i4CA6C6DB0C12C3D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JakeSkinner_0-1720709180954.png" alt="JakeSkinner_0-1720709180954.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 14:46:44 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2024-07-11T14:46:44Z</dc:date>
    <item>
      <title>Trouble with the field mapping with the append tool</title>
      <link>https://community.esri.com/t5/python-questions/trouble-with-the-field-mapping-with-the-append/m-p/1504175#M71052</link>
      <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;I am developing a script to be ran in the python window in Pro. Currently the&amp;nbsp;arcpy.management.Append is giving me trouble. One particular field needs ported over. Since the name of the fields do not match i am trying to use field mapping. The append works in general but I have been unable to get field mapping working despite trying to copy the syntax the documentation hade in the examples. It just put nulls in the field I am trying to specify. currently my code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;disolved_file = r"C:\\Path\to\the\document\on\PC\MyProject43.gdb\input_for_append"
Sweeping_FL=r"Path_to_web_feature\\web_feature_2022"
feild_match = [["Name","Fullname"]]

arcpy.management.Append(disolved_file, Sweeping_FL, "NO_TEST", match_fields = feild_match )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes I have permissions to update the web file.&lt;/P&gt;&lt;P&gt;the Name field belongs to&amp;nbsp;web_feature_2022, while the&amp;nbsp;Fullname belongs to input_for_append.&lt;/P&gt;&lt;P&gt;I have tried putting the&amp;nbsp;[["Name","Fullname]] directly in the into call for the&amp;nbsp;arcpy.management.Append but that had the same result.&lt;/P&gt;&lt;P&gt;Arc pro 3.3&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 14:40:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/trouble-with-the-field-mapping-with-the-append/m-p/1504175#M71052</guid>
      <dc:creator>Laura_m_Conner</dc:creator>
      <dc:date>2024-07-11T14:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with the field mapping with the append tool</title>
      <link>https://community.esri.com/t5/python-questions/trouble-with-the-field-mapping-with-the-append/m-p/1504183#M71053</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/432404"&gt;@Laura_m_Conner&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In ArcGIS Pro, set up the Append tool as if you were going to execute it, but before clicking Run, click the dropdown arrow next to this and click&amp;nbsp;&lt;STRONG&gt;Copy Python Command&lt;/STRONG&gt;.&amp;nbsp; Paste that code into your script and do a comparison to what you have.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JakeSkinner_0-1720709180954.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109498i4CA6C6DB0C12C3D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JakeSkinner_0-1720709180954.png" alt="JakeSkinner_0-1720709180954.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 14:46:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/trouble-with-the-field-mapping-with-the-append/m-p/1504183#M71053</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-07-11T14:46:44Z</dc:date>
    </item>
  </channel>
</rss>

