<?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 Create Relationship in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/create-relationship/m-p/1360286#M44858</link>
    <description>&lt;P&gt;I am puzzled here...&amp;nbsp; I am using a script to create some Relationship Classes ... This works on my TEST environment but for some reason not in my UAT environment...&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The Attribute indexes on GLOBALID are Unique and Ascending&lt;/LI&gt;&lt;LI&gt;There is no index for RELGLOBALID which resides in the REL_Line_Logsheet Feature Class.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Anyone have any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;    arcpy.env.workspace = "Database Connections\\GIS_DATA@GISUAT.sde"
    arcpy.CreateRelationshipClass_management("GIS_DATA.SDE_PERMIT_L", "GIS_DATA.SDE_LOGSHEET",
                                         "GIS_DATA.REL_Line_Logsheet", "SIMPLE",
                                         "Line to Logsheet", "Logsheet to Line",
                                         "NONE", "ONE_TO_MANY", "NONE", "GLOBALID", "RELGLOBALID")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&amp;nbsp;Error&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Traceback (most recent call last):
  File "D:\_Stage\GIS_Release\2023\12_Dec11_RelationshipBuild_UAT_LupsPermits\UAT\BuildRelationships_UAT.py", line 125, in &amp;lt;module&amp;gt;
    createRelationships()
  File "D:\_Stage\GIS_Release\2023\12_Dec11_RelationshipBuild_UAT_LupsPermits\UAT\BuildRelationships_UAT.py", line 89, in createRelationships
    "NONE", "ONE_TO_MANY", "NONE", "GLOBALID", "RELGLOBALID")
  File "D:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\management.py", line 16838, in CreateRelationshipClass
    raise e
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
WARNING 001003: Datum conflict between input and output.
ERROR 000800: The value is not a member of GLOBALID.
Failed to execute (CreateRelationshipClass).&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 15:00:57 GMT</pubDate>
    <dc:creator>kapalczynski</dc:creator>
    <dc:date>2023-12-13T15:00:57Z</dc:date>
    <item>
      <title>Create Relationship</title>
      <link>https://community.esri.com/t5/data-management-questions/create-relationship/m-p/1360286#M44858</link>
      <description>&lt;P&gt;I am puzzled here...&amp;nbsp; I am using a script to create some Relationship Classes ... This works on my TEST environment but for some reason not in my UAT environment...&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The Attribute indexes on GLOBALID are Unique and Ascending&lt;/LI&gt;&lt;LI&gt;There is no index for RELGLOBALID which resides in the REL_Line_Logsheet Feature Class.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Anyone have any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;    arcpy.env.workspace = "Database Connections\\GIS_DATA@GISUAT.sde"
    arcpy.CreateRelationshipClass_management("GIS_DATA.SDE_PERMIT_L", "GIS_DATA.SDE_LOGSHEET",
                                         "GIS_DATA.REL_Line_Logsheet", "SIMPLE",
                                         "Line to Logsheet", "Logsheet to Line",
                                         "NONE", "ONE_TO_MANY", "NONE", "GLOBALID", "RELGLOBALID")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&amp;nbsp;Error&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Traceback (most recent call last):
  File "D:\_Stage\GIS_Release\2023\12_Dec11_RelationshipBuild_UAT_LupsPermits\UAT\BuildRelationships_UAT.py", line 125, in &amp;lt;module&amp;gt;
    createRelationships()
  File "D:\_Stage\GIS_Release\2023\12_Dec11_RelationshipBuild_UAT_LupsPermits\UAT\BuildRelationships_UAT.py", line 89, in createRelationships
    "NONE", "ONE_TO_MANY", "NONE", "GLOBALID", "RELGLOBALID")
  File "D:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\management.py", line 16838, in CreateRelationshipClass
    raise e
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
WARNING 001003: Datum conflict between input and output.
ERROR 000800: The value is not a member of GLOBALID.
Failed to execute (CreateRelationshipClass).&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 15:00:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-relationship/m-p/1360286#M44858</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2023-12-13T15:00:57Z</dc:date>
    </item>
  </channel>
</rss>

