<?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: Apply Asset Package errors with &amp;quot;OID-based relationships must use same width of object ID&amp;quot; in Gas and Pipeline Questions</title>
    <link>https://community.esri.com/t5/gas-and-pipeline-questions/apply-asset-package-errors-with-quot-oid-based/m-p/1675777#M786</link>
    <description>&lt;P&gt;You can’t use OBJECTID for this, even though it looks like a Long.&lt;/P&gt;&lt;P&gt;In Utility Network / UPDM asset packages, relationships cannot use OBJECTID as the primary key. While OBJECTID is internally stored as a 32-bit integer, it is system-managed, non-stable, and not a true user key, so the asset package validator rejects it.&lt;/P&gt;&lt;P&gt;How to fix it:&lt;/P&gt;&lt;P&gt;Add a user-managed Long or GlobalID field on PipelineJunction&lt;/P&gt;&lt;P&gt;Populate it (or use GlobalID / GUID)&lt;/P&gt;&lt;P&gt;Point SVT_Order_Anno.FeatureID to that field instead&lt;/P&gt;&lt;P&gt;Re-run Apply Asset Package&lt;/P&gt;&lt;P&gt;OBJECTID may be numeric, but it’s not valid for relationship classes in asset packages. Use a stable user field (preferably GlobalID).&lt;/P&gt;</description>
    <pubDate>Sun, 04 Jan 2026 23:14:30 GMT</pubDate>
    <dc:creator>VenkataKondepati</dc:creator>
    <dc:date>2026-01-04T23:14:30Z</dc:date>
    <item>
      <title>Apply Asset Package errors with "OID-based relationships must use same width of object ID"</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/apply-asset-package-errors-with-quot-oid-based/m-p/1675776#M785</link>
      <description>&lt;P&gt;Hi -&lt;/P&gt;&lt;P&gt;So, I added to a UPDM asset package an annotation class that has a relationship as follows:&lt;/P&gt;&lt;P&gt;Origin class:&amp;nbsp; PipelineJunction&lt;/P&gt;&lt;P&gt;Origin Primary Key: OBJECTID (ObjectID)&lt;/P&gt;&lt;P&gt;Destination class:&amp;nbsp; SVT_Order_Anno&lt;/P&gt;&lt;P&gt;Destination Foreign Key: FeatureID (Long)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running "Apply Asset Package" results in the error in the subject (when I remove the relationship the GP tool works without error).&lt;/P&gt;&lt;P&gt;I *thought* an ObjectID had a data type of "Long" - but apparently not.&amp;nbsp; &amp;nbsp; Any suggestions on how to resolve this would be much appreciated.&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jan 2026 23:07:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/apply-asset-package-errors-with-quot-oid-based/m-p/1675776#M785</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2026-01-04T23:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Asset Package errors with "OID-based relationships must use same width of object ID"</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/apply-asset-package-errors-with-quot-oid-based/m-p/1675777#M786</link>
      <description>&lt;P&gt;You can’t use OBJECTID for this, even though it looks like a Long.&lt;/P&gt;&lt;P&gt;In Utility Network / UPDM asset packages, relationships cannot use OBJECTID as the primary key. While OBJECTID is internally stored as a 32-bit integer, it is system-managed, non-stable, and not a true user key, so the asset package validator rejects it.&lt;/P&gt;&lt;P&gt;How to fix it:&lt;/P&gt;&lt;P&gt;Add a user-managed Long or GlobalID field on PipelineJunction&lt;/P&gt;&lt;P&gt;Populate it (or use GlobalID / GUID)&lt;/P&gt;&lt;P&gt;Point SVT_Order_Anno.FeatureID to that field instead&lt;/P&gt;&lt;P&gt;Re-run Apply Asset Package&lt;/P&gt;&lt;P&gt;OBJECTID may be numeric, but it’s not valid for relationship classes in asset packages. Use a stable user field (preferably GlobalID).&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jan 2026 23:14:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/apply-asset-package-errors-with-quot-oid-based/m-p/1675777#M786</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2026-01-04T23:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Asset Package errors with "OID-based relationships must use same width of object ID"</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/apply-asset-package-errors-with-quot-oid-based/m-p/1675780#M787</link>
      <description>&lt;P&gt;Ok.&amp;nbsp; Thanks.&amp;nbsp; Will give the GlobalID a try.&amp;nbsp; &amp;nbsp;Fingers crossed.&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 01:14:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/apply-asset-package-errors-with-quot-oid-based/m-p/1675780#M787</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2026-01-05T01:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Asset Package errors with "OID-based relationships must use same width of object ID"</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/apply-asset-package-errors-with-quot-oid-based/m-p/1675835#M788</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/110901"&gt;@EdwardBlair&lt;/a&gt;&amp;nbsp;you'll want to migration the feature linked annotation class to use global ids.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 12:47:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/apply-asset-package-errors-with-quot-oid-based/m-p/1675835#M788</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-01-05T12:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Asset Package errors with "OID-based relationships must use same width of object ID"</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/apply-asset-package-errors-with-quot-oid-based/m-p/1676494#M789</link>
      <description>&lt;P&gt;Worked as described.&amp;nbsp; Thanks!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also found that anno expressions don't seems to work in JScript -- but they do in Arcade, so am going to make life simple(r) and stick with Arcade.&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 20:34:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/apply-asset-package-errors-with-quot-oid-based/m-p/1676494#M789</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2026-01-07T20:34:42Z</dc:date>
    </item>
  </channel>
</rss>

