<?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 Arcade and attribut rules in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/arcade-and-attribut-rules/m-p/778792#M5266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Im trying to create my first attribut rule. Im using ArcGis Pro 2.5&lt;/P&gt;&lt;P&gt;When validating the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var area= FeatureSetByName($datastore,"TestArea")&lt;BR /&gt;var fs = Contains(area,$feature)&lt;BR /&gt;var res = First(fs)&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;It fails with this message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invalid expression&lt;BR /&gt;Error on line 3.&lt;BR /&gt;General evaluation error&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;If i Change First to Count, i do not get a validation error. Why can i not use first?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2020 13:08:33 GMT</pubDate>
    <dc:creator>leonoestergaard</dc:creator>
    <dc:date>2020-03-25T13:08:33Z</dc:date>
    <item>
      <title>Arcade and attribut rules</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-and-attribut-rules/m-p/778792#M5266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Im trying to create my first attribut rule. Im using ArcGis Pro 2.5&lt;/P&gt;&lt;P&gt;When validating the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var area= FeatureSetByName($datastore,"TestArea")&lt;BR /&gt;var fs = Contains(area,$feature)&lt;BR /&gt;var res = First(fs)&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;It fails with this message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invalid expression&lt;BR /&gt;Error on line 3.&lt;BR /&gt;General evaluation error&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;If i Change First to Count, i do not get a validation error. Why can i not use first?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 13:08:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-and-attribut-rules/m-p/778792#M5266</guid>
      <dc:creator>leonoestergaard</dc:creator>
      <dc:date>2020-03-25T13:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade and attribut rules</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-and-attribut-rules/m-p/778793#M5267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I too have just entered into the Arcade/Attribute rules arena, and claim no expertise at all, but in&amp;nbsp;&lt;A href="https://community.esri.com/thread/250256"&gt;Chasing my tail with Arcade/Attribute Rules&lt;/A&gt;&amp;nbsp; &lt;A href="https://community.esri.com/migrated-users/8586"&gt;Jake Skinner&lt;/A&gt;‌ provides a solution for me.&amp;nbsp; I just wonder of the 'optional' arguments to the function aren't so optional.&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/arcade/function-reference/data_functions/" title="https://developers.arcgis.com/arcade/function-reference/data_functions/"&gt;Data Functions | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 13:25:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-and-attribut-rules/m-p/778793#M5267</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-03-25T13:25:58Z</dc:date>
    </item>
  </channel>
</rss>

