<?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 Rules for GlobalID and GUID on Append in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/rules-for-globalid-and-guid-on-append/m-p/738714#M265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So we do our own internal delta replication between our maintenance and published databases. We use GLOBALID as the key To preserve the GLOBALIDs on the target database we map these to a column called GLOBALID_GUID defined as type GUID. This all works quite well but we have come across a few details lately and so I thought I would document them here since I can't find anything in the ESRI documentation on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issues arise when the source object is a spatial view that we are replicating. In the spatial view, since we can't control the field registration, any GLOBALID column gets defined as a text column. Now there are apparently some rules in the append fieldmapping that has an affect here. Unless your source column is formatted to look like a GUID value you can't append. The source TEXT column must have GUID like formatting with the value such as: '{29198462-0345-4EF2-AD65-0AB8D5B038FE}'. If you are lacking the correct number of characters, parenthesis or hyphens the data will not append. In one of our cases we had a spatial view that hacked a globalid value but used a different unique column without formatting the value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table below shows what source data type can be appended to different target data types for GUID and GLOBALID type values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="border-width: 1px; border-color: #121111; background-color: #c9c7c7;" width="395"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="126"&gt;&lt;STRONG&gt;Source/Destination&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-left: none;" width="77"&gt;&lt;STRONG&gt;GLOBALID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-left: none;" width="64"&gt;&lt;STRONG&gt;GUID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-left: none;" width="64"&gt;&lt;STRONG&gt;TEXT&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;&lt;STRONG&gt;GLOBALID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;NO&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;YES&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;YES&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;&lt;STRONG&gt;GUID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;NO&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;YES&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;YES&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;&lt;STRONG&gt;TEXT&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;NO&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;MAYBE**&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;YES&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD colspan="3" width="192"&gt;&lt;EM&gt;**Text can only be appended to GUID using fieldmap if the data is in GUID format{} with correct number of chars and -&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**we can't use the preserveGlobalID setting as our datasets were created with an older version of ArcGIS and do not have the correct indexes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2019 18:11:00 GMT</pubDate>
    <dc:creator>AllanBenvin_yyc</dc:creator>
    <dc:date>2019-09-10T18:11:00Z</dc:date>
    <item>
      <title>Rules for GlobalID and GUID on Append</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rules-for-globalid-and-guid-on-append/m-p/738714#M265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So we do our own internal delta replication between our maintenance and published databases. We use GLOBALID as the key To preserve the GLOBALIDs on the target database we map these to a column called GLOBALID_GUID defined as type GUID. This all works quite well but we have come across a few details lately and so I thought I would document them here since I can't find anything in the ESRI documentation on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issues arise when the source object is a spatial view that we are replicating. In the spatial view, since we can't control the field registration, any GLOBALID column gets defined as a text column. Now there are apparently some rules in the append fieldmapping that has an affect here. Unless your source column is formatted to look like a GUID value you can't append. The source TEXT column must have GUID like formatting with the value such as: '{29198462-0345-4EF2-AD65-0AB8D5B038FE}'. If you are lacking the correct number of characters, parenthesis or hyphens the data will not append. In one of our cases we had a spatial view that hacked a globalid value but used a different unique column without formatting the value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table below shows what source data type can be appended to different target data types for GUID and GLOBALID type values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="border-width: 1px; border-color: #121111; background-color: #c9c7c7;" width="395"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="126"&gt;&lt;STRONG&gt;Source/Destination&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-left: none;" width="77"&gt;&lt;STRONG&gt;GLOBALID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-left: none;" width="64"&gt;&lt;STRONG&gt;GUID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-left: none;" width="64"&gt;&lt;STRONG&gt;TEXT&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;&lt;STRONG&gt;GLOBALID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;NO&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;YES&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;YES&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;&lt;STRONG&gt;GUID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;NO&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;YES&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;YES&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;&lt;STRONG&gt;TEXT&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;NO&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;MAYBE**&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none;"&gt;YES&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD colspan="3" width="192"&gt;&lt;EM&gt;**Text can only be appended to GUID using fieldmap if the data is in GUID format{} with correct number of chars and -&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**we can't use the preserveGlobalID setting as our datasets were created with an older version of ArcGIS and do not have the correct indexes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 18:11:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rules-for-globalid-and-guid-on-append/m-p/738714#M265</guid>
      <dc:creator>AllanBenvin_yyc</dc:creator>
      <dc:date>2019-09-10T18:11:00Z</dc:date>
    </item>
  </channel>
</rss>

