<?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 AddJoin_management Problem...it simply doesn't seem to execute. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/addjoin-management-problem-it-simply-doesn-t-seem/m-p/100563#M7808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running 10.1, with the 64bit geoprocessing patch installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm automating the creation of a bunch of maps using Python and we have the need to bring in a table within an Excel file that contains some data.&amp;nbsp; I can guarantee that the fields will be named as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm asking for the table via a parameter in the script...the user simply points at the table they want to import and join.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's what the command line looks like, according to the logfile:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AddJoin_management NOTerritoryFocusCys ID C:\Users\pfe2040\Documents\ArcGIS\TransientData\MarketOpp.xlsx\Report1$ FIPS_Code KEEP_ALL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Indeed, it looks the same if I execute the AddJoin interactively with ArcGIS...which does work just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, the log file reports nothing amiss.&amp;nbsp; The layer NOTerritoryFocusCys does exist (it's created in the same script, just before this little chunck of code).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once the script is complete, no errors are reported, and I take a look at the target NOTerritoryFocucCys - no join.&amp;nbsp; It's like the script does the join, but it doesn't "take."&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&amp;nbsp; Am I missing something simple here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 20:22:01 GMT</pubDate>
    <dc:creator>KristopherPfeiffer</dc:creator>
    <dc:date>2013-10-08T20:22:01Z</dc:date>
    <item>
      <title>AddJoin_management Problem...it simply doesn't seem to execute.</title>
      <link>https://community.esri.com/t5/python-questions/addjoin-management-problem-it-simply-doesn-t-seem/m-p/100563#M7808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running 10.1, with the 64bit geoprocessing patch installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm automating the creation of a bunch of maps using Python and we have the need to bring in a table within an Excel file that contains some data.&amp;nbsp; I can guarantee that the fields will be named as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm asking for the table via a parameter in the script...the user simply points at the table they want to import and join.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's what the command line looks like, according to the logfile:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AddJoin_management NOTerritoryFocusCys ID C:\Users\pfe2040\Documents\ArcGIS\TransientData\MarketOpp.xlsx\Report1$ FIPS_Code KEEP_ALL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Indeed, it looks the same if I execute the AddJoin interactively with ArcGIS...which does work just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, the log file reports nothing amiss.&amp;nbsp; The layer NOTerritoryFocusCys does exist (it's created in the same script, just before this little chunck of code).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once the script is complete, no errors are reported, and I take a look at the target NOTerritoryFocucCys - no join.&amp;nbsp; It's like the script does the join, but it doesn't "take."&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&amp;nbsp; Am I missing something simple here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 20:22:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/addjoin-management-problem-it-simply-doesn-t-seem/m-p/100563#M7808</guid>
      <dc:creator>KristopherPfeiffer</dc:creator>
      <dc:date>2013-10-08T20:22:01Z</dc:date>
    </item>
  </channel>
</rss>

