<?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: Calculation Attribute rule not working Properly in FGDB in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/calculation-attribute-rule-not-working-properly-in/m-p/1321002#M72335</link>
    <description>&lt;P&gt;Thank you Sarah. Do this rule work in the Work with Web App as well.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2023 03:47:47 GMT</pubDate>
    <dc:creator>HarishKV</dc:creator>
    <dc:date>2023-08-22T03:47:47Z</dc:date>
    <item>
      <title>Calculation Attribute rule not working Properly in FGDB</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculation-attribute-rule-not-working-properly-in/m-p/1318705#M72094</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to write an attribute rule to add a value to the attribute field if the feature is intersecting with other layer. Both are polygon layers and I had written an arcade expression but it is not returning any result as expected. Below is the expression&lt;/P&gt;&lt;P&gt;var intersectingFeatures = Intersects($feature, FeatureSetByName($datastore, "SurveyPlot2"));&lt;/P&gt;&lt;P&gt;if (Count(intersectingFeatures) &amp;gt; 0) {&lt;BR /&gt;$feature["rule"] == "1";&lt;BR /&gt;} else {&lt;BR /&gt;$feature["rule"] == "0";&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return $feature;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me debug the issue&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 15:04:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculation-attribute-rule-not-working-properly-in/m-p/1318705#M72094</guid>
      <dc:creator>HarishKV</dc:creator>
      <dc:date>2023-08-15T15:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Attribute rule not working Properly in FGDB</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculation-attribute-rule-not-working-properly-in/m-p/1320838#M72326</link>
      <description>&lt;P&gt;Assuming you are running your calculation on an attribute named&amp;nbsp;&lt;EM&gt;rule:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;var intersectingFeatures = Intersects($feature, FeatureSetByName($datastore, "SurveyPlot2"));&lt;/P&gt;&lt;P&gt;if (Count(intersectingFeatures) &amp;gt; 0) {&lt;BR /&gt;return "1";&lt;BR /&gt;} else {&lt;BR /&gt;return "0";&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 18:08:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculation-attribute-rule-not-working-properly-in/m-p/1320838#M72326</guid>
      <dc:creator>SarahRijneke</dc:creator>
      <dc:date>2023-08-21T18:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Attribute rule not working Properly in FGDB</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculation-attribute-rule-not-working-properly-in/m-p/1321002#M72335</link>
      <description>&lt;P&gt;Thank you Sarah. Do this rule work in the Work with Web App as well.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 03:47:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculation-attribute-rule-not-working-properly-in/m-p/1321002#M72335</guid>
      <dc:creator>HarishKV</dc:creator>
      <dc:date>2023-08-22T03:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Attribute rule not working Properly in FGDB</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculation-attribute-rule-not-working-properly-in/m-p/1321126#M72347</link>
      <description>&lt;P&gt;Depends on which app you're using. You can set up arcade calculate expressions in Field Maps Designer that should produce the same results when adding new features to a feature service.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 13:17:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculation-attribute-rule-not-working-properly-in/m-p/1321126#M72347</guid>
      <dc:creator>SarahRijneke</dc:creator>
      <dc:date>2023-08-22T13:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Attribute rule not working Properly in FGDB</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculation-attribute-rule-not-working-properly-in/m-p/1321494#M72375</link>
      <description>&lt;P&gt;Thank you Sarah. I had nailed it out. Its working fine both in WebApp and FieldMap.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 03:39:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculation-attribute-rule-not-working-properly-in/m-p/1321494#M72375</guid>
      <dc:creator>HarishKV</dc:creator>
      <dc:date>2023-08-23T03:39:48Z</dc:date>
    </item>
  </channel>
</rss>

