<?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: Attribute Rules can't be saved in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-can-t-be-saved/m-p/1281679#M68277</link>
    <description>&lt;P&gt;what about length geodesic&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/geometry_functions/#lengthgeodetic" target="_blank"&gt;Geometry functions | ArcGIS Arcade | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 23 Apr 2023 08:40:38 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2023-04-23T08:40:38Z</dc:date>
    <item>
      <title>Attribute Rules can't be saved</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-can-t-be-saved/m-p/1281675#M68276</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I created a immediate calculation rule to calculate the length of polyline when the insert/update action occurred. I made sure I checked syntax when enter the Arcade codes, but when I tried to save rule, the rule row turned red without telling what's wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have idea what's wrong with this rule? The targeted field "Length_" has data type of "float". The polyline feature class uses WGS1984 (WKID 4326) and probably because of that, the default shape_length return incorrect shape length numbers. That's why I decided to set up a new column. I tried to use field calculator just to make sure calculate geometry worked under this spatial reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HanZheng_0-1682220736351.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68842i5BBE37E428A50D8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HanZheng_0-1682220736351.png" alt="HanZheng_0-1682220736351.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 03:37:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-can-t-be-saved/m-p/1281675#M68276</guid>
      <dc:creator>HanZheng</dc:creator>
      <dc:date>2023-04-23T03:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules can't be saved</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-can-t-be-saved/m-p/1281679#M68277</link>
      <description>&lt;P&gt;what about length geodesic&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/geometry_functions/#lengthgeodetic" target="_blank"&gt;Geometry functions | ArcGIS Arcade | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 08:40:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-can-t-be-saved/m-p/1281679#M68277</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-04-23T08:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules can't be saved</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-can-t-be-saved/m-p/1281707#M68284</link>
      <description>&lt;P&gt;If you hover over the red square, it should tell you what's wrong.&lt;/P&gt;&lt;P&gt;Common reasons you can't save a rule:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You forgot to add GlobalIDs to the feature class&lt;/LI&gt;&lt;LI&gt;You forgot to set a trigger event&lt;/LI&gt;&lt;LI&gt;Error in your script&lt;/LI&gt;&lt;LI&gt;You're editing the feature class (though that will deactivate the save button, not show the red square)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 17:28:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-can-t-be-saved/m-p/1281707#M68284</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-04-23T17:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules can't be saved</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-can-t-be-saved/m-p/1281715#M68287</link>
      <description>&lt;P&gt;Thanks. I didn't realize that's the way to find error message. Global ID was the issue for my case.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 22:15:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-can-t-be-saved/m-p/1281715#M68287</guid>
      <dc:creator>HanZheng</dc:creator>
      <dc:date>2023-04-23T22:15:55Z</dc:date>
    </item>
  </channel>
</rss>

