<?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 rule not working since the upgrade in ArcGIS Pro 3.5.1 in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-not-working-since-the-upgrade-in/m-p/1627707#M96907</link>
    <description>&lt;P&gt;Thank you so much for your reply &lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/745832" target="_self"&gt;@GlenterpriceUK&lt;/A&gt;, I did update the attribute rule per your instructions, but it does not recognize the "Project" funtion. The Spatial reference is accepted, but when I add the project function I get the message bellow&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KosThe_0-1751018076639.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/135269iDF467B898D61B95E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KosThe_0-1751018076639.png" alt="KosThe_0-1751018076639.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jun 2025 21:16:29 GMT</pubDate>
    <dc:creator>KosThe</dc:creator>
    <dc:date>2025-06-27T21:16:29Z</dc:date>
    <item>
      <title>Attribute rule not working since the upgrade in ArcGIS Pro 3.5.1</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-not-working-since-the-upgrade-in/m-p/1626093#M96820</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="attr.png" style="width: 477px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134910i7599C4819EF19486/image-size/large?v=v2&amp;amp;px=999" role="button" title="attr.png" alt="attr.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This attribute rule used to work just fine until now. It uses arcade to intersect two polygon layers and calculate the intersecting areas based on a category field. Here is the attribute rule:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var buff = Buffer($feature,-0.001,'feet')&lt;BR /&gt;var intersectsLayer = Intersects(FeatureSetByName($datastore, "PER_NOTIOY_AIGAIOY"),buff)&lt;BR /&gt;var intcount = Count(intersectsLayer)&lt;BR /&gt;var expr = ' '&lt;BR /&gt;if(intcount == 0){&lt;BR /&gt;expr = 'εκτός αναρτησης'&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;else{&lt;BR /&gt;var das_list = ''&lt;BR /&gt;for (var f in intersectsLayer){&lt;BR /&gt;expr += f.KATHGORDX + " " + Round(area(Intersection($feature,f)),2) + " τ.μ. "&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;return&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 09:10:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-not-working-since-the-upgrade-in/m-p/1626093#M96820</guid>
      <dc:creator>KosThe</dc:creator>
      <dc:date>2025-06-24T09:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute rule not working since the upgrade in ArcGIS Pro 3.5.1</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-not-working-since-the-upgrade-in/m-p/1626128#M96826</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/506063"&gt;@KosThe&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Have you tried modifying the Arcade to include the Spatial Reference?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Something around this lines like below:&lt;BR /&gt;var buff = Buffer($feature, -0.001, 'feet')&lt;BR /&gt;var intersectsLayer = Intersects(FeatureSetByName($datastore, "PER_NOTIOY_AIGAIOY"), buff)&lt;BR /&gt;var intcount = Count(intersectsLayer)&lt;BR /&gt;var expr = ' '&lt;/P&gt;&lt;P&gt;if (intcount == 0) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; expr = 'εκτός αναρτησης'&lt;BR /&gt;} else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var das_list = ''&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var sr = SpatialReference(2100) // EGSA87 Greek Grid&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var f in intersectsLayer) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var geom1 = Project($feature, sr)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var geom2 = Project(f, sr)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expr += f.KATHGORDX + " " + Round(Area(Intersection(geom1, geom2)), 2) + " τ.μ. "&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return expr&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 12:16:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-not-working-since-the-upgrade-in/m-p/1626128#M96826</guid>
      <dc:creator>GlenterpriseUK</dc:creator>
      <dc:date>2025-06-24T12:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute rule not working since the upgrade in ArcGIS Pro 3.5.1</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-not-working-since-the-upgrade-in/m-p/1627707#M96907</link>
      <description>&lt;P&gt;Thank you so much for your reply &lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/745832" target="_self"&gt;@GlenterpriceUK&lt;/A&gt;, I did update the attribute rule per your instructions, but it does not recognize the "Project" funtion. The Spatial reference is accepted, but when I add the project function I get the message bellow&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KosThe_0-1751018076639.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/135269iDF467B898D61B95E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KosThe_0-1751018076639.png" alt="KosThe_0-1751018076639.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 21:16:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-not-working-since-the-upgrade-in/m-p/1627707#M96907</guid>
      <dc:creator>KosThe</dc:creator>
      <dc:date>2025-06-27T21:16:29Z</dc:date>
    </item>
  </channel>
</rss>

