<?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: Can't join newly created layer with arcpy in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/can-t-join-newly-created-layer-with-arcpy/m-p/1250330#M64510</link>
    <description>&lt;P&gt;The error was on my end I was pointing to the wrong GDB. Thanks for the help!&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2023 11:38:47 GMT</pubDate>
    <dc:creator>Davec43</dc:creator>
    <dc:date>2023-01-23T11:38:47Z</dc:date>
    <item>
      <title>Can't join newly created layer with arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-t-join-newly-created-layer-with-arcpy/m-p/1250025#M64468</link>
      <description>&lt;P&gt;For whatever reason it'll create the new layer to be joined but errors out when it gets to the join. Although the Join will work if I run it through GEO tools?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;import os
import sys
import arcpy
#Paramaters
Database_Path = arcpy.GetParameterAsText(0) # Database Path for RTL/Tracks GDB
Existing_GDB = arcpy.GetParameterAsText(1) # Path to working GDB
Tracks_Join = arcpy.GetParameterAsText(2) # Path to working GDB
#Joins and paths
FP1 = os.path.abspath(Existing_GDB)
outputFile =  fr"{FP1}\Tracks_Joined"
#ArcPy Execution
arcpy.management.CreateFileGDB(Database_Path, "RTL.gdb")
arcpy.management.CreateFileGDB(Database_Path, "Tracks.gdb")
arcpy.management.CopyFeatures(Tracks_Join, fr"{FP1}\Tracks_Joined")
arcpy.SetParameterAsText(3, outputFile)
arcpy.management.JoinField("Tracks_Joined", "Event", "Points_Filtered", "Event", None)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 18:13:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-t-join-newly-created-layer-with-arcpy/m-p/1250025#M64468</guid>
      <dc:creator>Davec43</dc:creator>
      <dc:date>2023-01-20T18:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can't join newly created layer with arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-t-join-newly-created-layer-with-arcpy/m-p/1250066#M64473</link>
      <description>&lt;P&gt;Could be because it can't find "Points_Filtered" feature class as the path isn't defined anywhere.&lt;/P&gt;&lt;P&gt;What is error?&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 19:51:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-t-join-newly-created-layer-with-arcpy/m-p/1250066#M64473</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-01-20T19:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can't join newly created layer with arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-t-join-newly-created-layer-with-arcpy/m-p/1250330#M64510</link>
      <description>&lt;P&gt;The error was on my end I was pointing to the wrong GDB. Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 11:38:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-t-join-newly-created-layer-with-arcpy/m-p/1250330#M64510</guid>
      <dc:creator>Davec43</dc:creator>
      <dc:date>2023-01-23T11:38:47Z</dc:date>
    </item>
  </channel>
</rss>

