<?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 Append M-N Relationship Table with Python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/append-m-n-relationship-table-with-python/m-p/812294#M2514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi -&lt;/P&gt;&lt;P&gt;Am trying to append the contents of an M-N relationship table in one Geodatabase to an identical table in another Geodatabase using Python.&amp;nbsp; I had thought that since there is a table that holds foreign keys for the related features that an Arc Python APPEND would work as it does with other tables.&amp;nbsp; But apparently not so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is basically this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;classes = ["RelClassName1","RelClassName2"]&lt;/P&gt;&lt;P&gt;for className in classes:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; arcpy.Append_management(class, os.path.join(outputWorkspace, className), "TEST")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the classes are actually tables this works fine.&amp;nbsp; If they are m-n relationship class names it doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 May 2019 16:27:40 GMT</pubDate>
    <dc:creator>EdwardBlair</dc:creator>
    <dc:date>2019-05-09T16:27:40Z</dc:date>
    <item>
      <title>Append M-N Relationship Table with Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/append-m-n-relationship-table-with-python/m-p/812294#M2514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi -&lt;/P&gt;&lt;P&gt;Am trying to append the contents of an M-N relationship table in one Geodatabase to an identical table in another Geodatabase using Python.&amp;nbsp; I had thought that since there is a table that holds foreign keys for the related features that an Arc Python APPEND would work as it does with other tables.&amp;nbsp; But apparently not so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is basically this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;classes = ["RelClassName1","RelClassName2"]&lt;/P&gt;&lt;P&gt;for className in classes:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; arcpy.Append_management(class, os.path.join(outputWorkspace, className), "TEST")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the classes are actually tables this works fine.&amp;nbsp; If they are m-n relationship class names it doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 16:27:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/append-m-n-relationship-table-with-python/m-p/812294#M2514</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2019-05-09T16:27:40Z</dc:date>
    </item>
  </channel>
</rss>

