<?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 Referencing Field types in Value Table for JoinFeatures in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/referencing-field-types-in-value-table-for/m-p/1179838#M65635</link>
    <description>&lt;P&gt;I'm trying to create a python script in ArcGIS Pro to perform a simple join on two feature layers. I am trying to add the Field objects to a Value Table as described in the ArcGIS Pro docs here &lt;A href="https://pro.arcgis.com/en/pro-app/2.8/tool-reference/big-data-analytics/join-features.htm" target="_self"&gt;https://pro.arcgis.com/en/pro-app/2.8/tool-reference/big-data-analytics/join-features.htm&lt;/A&gt;, but I'm not sure how to specify the relationship. I have created the Value Table, and I understand that the values are space delimited, I'm just not sure exactly what form the Fields should be referenced in.&lt;/P&gt;&lt;P&gt;I have a reference to the Field objects in the form of&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;geoprocessing describe field object object at 0x000001C5AF296B50&amp;gt;&lt;/PRE&gt;&lt;P&gt;that I got using the ListFields() method. This is the address I get when using AddMessage(field0) to debug.&lt;/P&gt;&lt;P&gt;I am getting&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ERROR 120034:&lt;SPAN class=""&gt; At least one relationship is required.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;when I call&amp;nbsp;&lt;/P&gt;&lt;P&gt;arcpy.geoanalytics.JoinFeatures(targetFeatures, joinFeatures, outFS,"JOIN_ONE_TO_ONE", None,&lt;BR /&gt;None, None, None, attrRelations, None,&lt;BR /&gt;joinCondition, None, keepTargetFeatures)&lt;/P&gt;&lt;P&gt;I would greatly appreciate any help that can be provided!&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jun 2022 13:08:54 GMT</pubDate>
    <dc:creator>DakotaMorgan</dc:creator>
    <dc:date>2022-06-06T13:08:54Z</dc:date>
    <item>
      <title>Referencing Field types in Value Table for JoinFeatures</title>
      <link>https://community.esri.com/t5/python-questions/referencing-field-types-in-value-table-for/m-p/1179838#M65635</link>
      <description>&lt;P&gt;I'm trying to create a python script in ArcGIS Pro to perform a simple join on two feature layers. I am trying to add the Field objects to a Value Table as described in the ArcGIS Pro docs here &lt;A href="https://pro.arcgis.com/en/pro-app/2.8/tool-reference/big-data-analytics/join-features.htm" target="_self"&gt;https://pro.arcgis.com/en/pro-app/2.8/tool-reference/big-data-analytics/join-features.htm&lt;/A&gt;, but I'm not sure how to specify the relationship. I have created the Value Table, and I understand that the values are space delimited, I'm just not sure exactly what form the Fields should be referenced in.&lt;/P&gt;&lt;P&gt;I have a reference to the Field objects in the form of&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;geoprocessing describe field object object at 0x000001C5AF296B50&amp;gt;&lt;/PRE&gt;&lt;P&gt;that I got using the ListFields() method. This is the address I get when using AddMessage(field0) to debug.&lt;/P&gt;&lt;P&gt;I am getting&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ERROR 120034:&lt;SPAN class=""&gt; At least one relationship is required.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;when I call&amp;nbsp;&lt;/P&gt;&lt;P&gt;arcpy.geoanalytics.JoinFeatures(targetFeatures, joinFeatures, outFS,"JOIN_ONE_TO_ONE", None,&lt;BR /&gt;None, None, None, attrRelations, None,&lt;BR /&gt;joinCondition, None, keepTargetFeatures)&lt;/P&gt;&lt;P&gt;I would greatly appreciate any help that can be provided!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 13:08:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/referencing-field-types-in-value-table-for/m-p/1179838#M65635</guid>
      <dc:creator>DakotaMorgan</dc:creator>
      <dc:date>2022-06-06T13:08:54Z</dc:date>
    </item>
  </channel>
</rss>

