<?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: Arcade expression Validation Atributte Rules in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/arcade-expression-validation-atributte-rules/m-p/1250733#M721</link>
    <description>&lt;P&gt;In which table do you want to create the validation rule?&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2023 12:12:30 GMT</pubDate>
    <dc:creator>JohannesLindner</dc:creator>
    <dc:date>2023-01-24T12:12:30Z</dc:date>
    <item>
      <title>Arcade expression Validation Atributte Rules</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/arcade-expression-validation-atributte-rules/m-p/1250671#M718</link>
      <description>&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Hey people, I need some help with issues about making arcade expressions. I made this one but i don't understand what is wrong, can someone help me?&lt;/P&gt;&lt;P&gt;My intent is create a capable rule to identify when a polygon feature overlaps another one. I tried to use the Ready to use Rules (Feature on feature) but it isn't work, so i began tried to write this code.&lt;/P&gt;&lt;P&gt;I thank you in advance,&lt;BR /&gt;Best regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 04:40:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/arcade-expression-validation-atributte-rules/m-p/1250671#M718</guid>
      <dc:creator>ammsgis</dc:creator>
      <dc:date>2023-01-24T04:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression Validation Atributte Rules</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/arcade-expression-validation-atributte-rules/m-p/1250686#M719</link>
      <description>&lt;P&gt;To post code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_0-1674546019020.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61024i9395FCD1342758F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_0-1674546019020.png" alt="JohannesLindner_0-1674546019020.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_1-1674546030601.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61025i32D994A8887826BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_1-1674546030601.png" alt="JohannesLindner_1-1674546030601.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/geometry_functions/#overlaps" target="_blank" rel="noopener"&gt;Overlaps&lt;/A&gt; takes two geometries/features as arguments. You are trying to run it with two featuresets.&lt;/P&gt;&lt;P&gt;You have to get the intersecting features first, then loop over those features and test if they overlap the current $feature.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// get all polygons that are intersected by the current feature
var fs_polygons = FeaturesetByName($datastore, "HydrographySrf", ["*"], true)
var i_polygons = Intersects($feature, fs_polygons)

// loop over those polygons
for(var i_poly in i_polygons) {
    // if the polygon overlaps the current feature
    if(Overlaps($feature, i_poly)) {
        return false
    }
}
return true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 07:45:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/arcade-expression-validation-atributte-rules/m-p/1250686#M719</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-01-24T07:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression Validation Atributte Rules</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/arcade-expression-validation-atributte-rules/m-p/1250730#M720</link>
      <description>&lt;P&gt;Hi Johannes!How you doing?&lt;BR /&gt;Thank you for response!Can you answer some questions to clarify my thoughts?&lt;BR /&gt;Can I associate the variable i_polygons which will loop with the&amp;nbsp;the feature PhisiographySrf ?Because i just wanna identify this overlapped features over the feature HydrographySrf.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 11:59:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/arcade-expression-validation-atributte-rules/m-p/1250730#M720</guid>
      <dc:creator>ammsgis</dc:creator>
      <dc:date>2023-01-24T11:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression Validation Atributte Rules</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/arcade-expression-validation-atributte-rules/m-p/1250733#M721</link>
      <description>&lt;P&gt;In which table do you want to create the validation rule?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 12:12:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/arcade-expression-validation-atributte-rules/m-p/1250733#M721</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-01-24T12:12:30Z</dc:date>
    </item>
  </channel>
</rss>

