<?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 Attribute rule causes error when copying data in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-causes-error-when-copying-data/m-p/1285904#M876</link>
    <description>&lt;P&gt;....&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2023 19:13:09 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2023-07-19T19:13:09Z</dc:date>
    <item>
      <title>Attribute rule causes error when copying data</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-causes-error-when-copying-data/m-p/1285904#M876</link>
      <description>&lt;P&gt;....&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 19:13:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-causes-error-when-copying-data/m-p/1285904#M876</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2023-07-19T19:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute rule causes error when copying data</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-causes-error-when-copying-data/m-p/1285912#M877</link>
      <description>&lt;P&gt;How about if you export the data instead of copy the data as that should remove any attribute rules?&amp;nbsp; I had to do this for a data set received from a vendor who had been using attribute rules in their geodatabase.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 21:44:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-causes-error-when-copying-data/m-p/1285912#M877</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2023-05-04T21:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute rule causes error when copying data</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-causes-error-when-copying-data/m-p/1286052#M878</link>
      <description>&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;I do not believe it is the code that is the issue but depending on what version&amp;nbsp;of ArcGIS Pro and SQL Server are you using it might be. I have noticed in the past that with code that refences a database schema, e.g. GIS.xxxxxx, ArcGIS Pro can not handle this. In the latest release this is not the case. See below.&lt;BR /&gt;&lt;BR /&gt;Also, this was not limited to file geodatabases but also other RDMBs. This issue was also presented in copying form one Oracle databases to another.&lt;BR /&gt;&lt;BR /&gt;This issue seems to be resolved in later versions of ArcGIS Pro as in the example below I am using ArcGIS Pro 3.1.1 and a Postgres EGDB and copy and pasting a Attribute Rule that refences a database schema and table copies to the file geodatabase just fine. Road_Line AR refences the cch.owner1.ZIPCITIES table for data. Copying the Road_Lines to the Default.gdb also copied over the referenced ZIPCITIES table without me doing so.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The code on the enterprise database feature Road_Line referencing&amp;nbsp;a database schema table&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JS_Esri_1-1683286106749.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69941i42E18E198BF8965A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JS_Esri_1-1683286106749.png" alt="JS_Esri_1-1683286106749.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Copy and paste successful of just the Road_Line and&amp;nbsp;database schema table copied over on its own (ZIPCITIES). The attribute rule on Road_line drops the database schema.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JS_Esri_2-1683286244118.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69942i7ACCB6CFBDDCB3F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JS_Esri_2-1683286244118.png" alt="JS_Esri_2-1683286244118.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the past I have had to export the Attribute Rules to xml using the&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/export-attribute-rules.htm" target="_self"&gt;Export Attribute Rules (Data Management)&lt;/A&gt; tool on the feature classes I want to copy. Then delete the rules using the&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/delete-attribute-rule.htm" target="_self"&gt;Delete Attribute Rule (Data Management)&lt;/A&gt; tool form the feature class. Copy my data to the location I wanted (file geodatabase or EGDB) then restore the Attribute Rules with the&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/import-attribute-rules.htm" target="_self"&gt;Import Attribute Rules (Data Management)&lt;/A&gt; tool to the original and use on the new data.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Not sure this helps but my help knowing that you are not alone.&lt;BR /&gt;&lt;BR /&gt;~Jake&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 11:34:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/attribute-rule-causes-error-when-copying-data/m-p/1286052#M878</guid>
      <dc:creator>Jake_S</dc:creator>
      <dc:date>2023-05-05T11:34:53Z</dc:date>
    </item>
  </channel>
</rss>

