<?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 Can't create features when attribute rules are enabled! in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1246584#M9263</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a very strange exception in my very simple C# code. I'm trying to insert polygon features in a feature class and everything is working perfectly until I create an attribute rules calling a sequence on a field on creation.&lt;/P&gt;&lt;P&gt;What is really strange is the exception since I get an&amp;nbsp;ArcGIS.Core.Data.Exceptions.GeodatabaseEnterpriseException&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;'A database level I/O error occurred. Reason: Underlying DBMS error [ERROR: Geometry type (MultiPolygon) does not match column type (Polygon) (s100ed6.s101.geoms)::SQLSTATE=22023]'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If I disable the attribute rule everything is working again.&lt;/P&gt;&lt;P&gt;Creating features directly in ArcGIS PRO works perfectly and the sequence is updating the field as expected.&lt;/P&gt;&lt;P&gt;I would really appreciate any feedback on this topic &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Jens&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2023 19:28:41 GMT</pubDate>
    <dc:creator>pocalipse</dc:creator>
    <dc:date>2023-01-09T19:28:41Z</dc:date>
    <item>
      <title>Can't create features when attribute rules are enabled!</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1246584#M9263</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a very strange exception in my very simple C# code. I'm trying to insert polygon features in a feature class and everything is working perfectly until I create an attribute rules calling a sequence on a field on creation.&lt;/P&gt;&lt;P&gt;What is really strange is the exception since I get an&amp;nbsp;ArcGIS.Core.Data.Exceptions.GeodatabaseEnterpriseException&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;'A database level I/O error occurred. Reason: Underlying DBMS error [ERROR: Geometry type (MultiPolygon) does not match column type (Polygon) (s100ed6.s101.geoms)::SQLSTATE=22023]'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If I disable the attribute rule everything is working again.&lt;/P&gt;&lt;P&gt;Creating features directly in ArcGIS PRO works perfectly and the sequence is updating the field as expected.&lt;/P&gt;&lt;P&gt;I would really appreciate any feedback on this topic &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Jens&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 19:28:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1246584#M9263</guid>
      <dc:creator>pocalipse</dc:creator>
      <dc:date>2023-01-09T19:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can't create features when attribute rules are enabled!</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1246935#M9269</link>
      <description>&lt;P&gt;Hi Jens,&lt;/P&gt;&lt;P&gt;What kind of database are you using? Are you editing in a CoreHost app or a Pro add-in?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 18:25:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1246935#M9269</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2023-01-10T18:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can't create features when attribute rules are enabled!</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1247027#M9271</link>
      <description>&lt;P&gt;Hi Rich&lt;/P&gt;&lt;P&gt;I'm currently working in a Postgres enterprise database and the code is a CoreHost application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My very small code is actually only copying features from another database to this Postgres one and everything is working perfectly - until I enable an attribute rule on one of my fields!&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Jens&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 21:21:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1247027#M9271</guid>
      <dc:creator>pocalipse</dc:creator>
      <dc:date>2023-01-10T21:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can't create features when attribute rules are enabled!</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1247099#M9273</link>
      <description>&lt;P&gt;If you can post your editing code fragment here, I can see if anything looks weird, but we haven't seen anything like this before, and you may need to submit this to technical support for further analysis.&lt;/P&gt;&lt;P&gt;Sorry I'm not much help.&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 00:30:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1247099#M9273</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2023-01-11T00:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can't create features when attribute rules are enabled!</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1251196#M9326</link>
      <description>&lt;P&gt;Hi Rich&lt;/P&gt;&lt;P&gt;I'm sorry for my very late reply!&lt;/P&gt;&lt;P&gt;Anyway, my problem is related to the fact that I keen to create my tables and feature classes directly in Postgres and then just use the RegisterTable functionality in ArcGIS PRO. If you do so the attribute rules will fail but if you start from scratch creating your tables and feature classes directly in ArcGIS PRO everything is working.&lt;/P&gt;&lt;P&gt;So everything is actually working but now I'm stuck with an ObjectID attribute and a SHAPE attribute and the idea was to use some other naming specially on the SHAPE field and that is why I started directly in the database.&lt;/P&gt;&lt;P&gt;--Jens&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 10:48:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1251196#M9326</guid>
      <dc:creator>pocalipse</dc:creator>
      <dc:date>2023-01-25T10:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can't create features when attribute rules are enabled!</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1251397#M9341</link>
      <description>&lt;P&gt;Hi Jens,&lt;/P&gt;&lt;P&gt;Thanks for letting me know- that's interesting information. We can take a look and see if this is something we can support in the future. For now, your work-around is probably the best solution.&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 16:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-t-create-features-when-attribute-rules-are/m-p/1251397#M9341</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2023-01-25T16:50:29Z</dc:date>
    </item>
  </channel>
</rss>

