<?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 Geometry not generated by immediate calculation for insert action in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/geometry-not-generated-by-immediate-calculation/m-p/1326694#M1110</link>
    <description>&lt;P&gt;Hi, I am trying to create an arcade code for immediate calculation to generate a geometry feature.&lt;/P&gt;&lt;P&gt;I have managed to create a code for updating the attributes of a Polygon feature class when there is a change in the attributes of a Table feature class. For the insert action, I have used a filter function to join the two feature classes and then employed a Geometry function to create a new feature's geometry. However, the code for the insert action does not work for some reason. I have been investigating a workaround, but I haven't had any luck yet.&lt;/P&gt;&lt;P&gt;Greatly appreciate it if anyone could point out what I am doing wrong.&lt;/P&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2023 07:17:18 GMT</pubDate>
    <dc:creator>HNTZK46</dc:creator>
    <dc:date>2023-09-12T07:17:18Z</dc:date>
    <item>
      <title>Geometry not generated by immediate calculation for insert action</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/geometry-not-generated-by-immediate-calculation/m-p/1326694#M1110</link>
      <description>&lt;P&gt;Hi, I am trying to create an arcade code for immediate calculation to generate a geometry feature.&lt;/P&gt;&lt;P&gt;I have managed to create a code for updating the attributes of a Polygon feature class when there is a change in the attributes of a Table feature class. For the insert action, I have used a filter function to join the two feature classes and then employed a Geometry function to create a new feature's geometry. However, the code for the insert action does not work for some reason. I have been investigating a workaround, but I haven't had any luck yet.&lt;/P&gt;&lt;P&gt;Greatly appreciate it if anyone could point out what I am doing wrong.&lt;/P&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 07:17:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/geometry-not-generated-by-immediate-calculation/m-p/1326694#M1110</guid>
      <dc:creator>HNTZK46</dc:creator>
      <dc:date>2023-09-12T07:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry not generated by immediate calculation for insert action</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/geometry-not-generated-by-immediate-calculation/m-p/1326706#M1111</link>
      <description>&lt;P&gt;So what exactly is the problem?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Feature isn't created&lt;/LI&gt;&lt;LI&gt;Feature is created (there is a row in the attribute table), but without geometry&lt;/LI&gt;&lt;LI&gt;An error occurs (error message?)&lt;/LI&gt;&lt;LI&gt;Something other&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First thing I'd check id that your Park_ID can actually be found in the National_parks.CODE field. If not, the rule will abort in line 12.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 09:19:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/geometry-not-generated-by-immediate-calculation/m-p/1326706#M1111</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-09-08T09:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry not generated by immediate calculation for insert action</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/geometry-not-generated-by-immediate-calculation/m-p/1326748#M1112</link>
      <description>&lt;P&gt;The problem is any Feature of the Polygon layer (both attribute and Geometry) is not created even if I create a new record in a Table feature class.&lt;/P&gt;&lt;P&gt;To make sure if the filter works or not, I have applied the filter (line 8, 9 and 10) for Update, and update works fine with this filter setting, i.e. Park_ID was found in the National_parks.CODE field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tested another thing - if I did not include the geometry (exclude line 17), a row of the attribute was created successfully in the Polygon layer but of course with no geometry.&lt;/P&gt;&lt;P&gt;This is the situation that I have come across and struggling to work around.&lt;/P&gt;&lt;P&gt;By the way the&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/301813"&gt;@Key&lt;/a&gt; in line 10 in my actual code is small case. For some reasons, it became a proper case when I past the code into this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 13:43:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/geometry-not-generated-by-immediate-calculation/m-p/1326748#M1112</guid>
      <dc:creator>HNTZK46</dc:creator>
      <dc:date>2023-09-08T13:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry not generated by immediate calculation for insert action</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/geometry-not-generated-by-immediate-calculation/m-p/1327608#M1114</link>
      <description>&lt;P&gt;Found a solution - Split the code into two rules for each of insert and update, then it works.&lt;/P&gt;&lt;P&gt;However, still uncertain why the single code with both insert and update did not work.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 07:19:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/geometry-not-generated-by-immediate-calculation/m-p/1327608#M1114</guid>
      <dc:creator>HNTZK46</dc:creator>
      <dc:date>2023-09-12T07:19:36Z</dc:date>
    </item>
  </channel>
</rss>

