<?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 Intersect in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002680#M34397</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115570"&gt;@DonovanC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to reply you private message, but I think there is something not working correctly at this moment. I was not able to download the ZIP you shared, since for some reason it end up downloading a download.html page and not the ZIP (weird). Also when I tried to answer with a private message an error occurred.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If possible please send the ZIP to "xbakker&lt;EM&gt;[at]&lt;/EM&gt;esri.co" (and yes ".co" stands for Colombia).&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 20:10:17 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2020-11-18T20:10:17Z</dc:date>
    <item>
      <title>Attribute Rules Intersect</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002178#M34344</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108"&gt;@XanderBakker&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can I use the attribute rules to intersect two features to update an attribute. If the tracks fc intersect with the line buffer I created I want to update the field in the line buffer to Yes or No to determine if the tracks intersect.&lt;/P&gt;&lt;P&gt;I can get the code to execute in the Calculate Field Tool but cannot get it to work as an attribute rule.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DonovanC_0-1605629591040.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/317i17F1470884E4320A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DonovanC_0-1605629591040.png" alt="DonovanC_0-1605629591040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 16:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002178#M34344</guid>
      <dc:creator>DonovanC</dc:creator>
      <dc:date>2020-11-17T16:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules Intersect</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002504#M34370</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115570"&gt;@DonovanC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share a screenshot of how you configured the calculation attribute rule?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 13:24:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002504#M34370</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-11-18T13:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules Intersect</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002540#M34373</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108"&gt;@XanderBakker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DonovanC_0-1605709650813.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/446iCEB593BD68853752/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DonovanC_0-1605709650813.png" alt="DonovanC_0-1605709650813.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is a screen shot of the tracks that intersect the buffer.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DonovanC_1-1605709779532.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/448iED2A966FDA3DA972/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DonovanC_1-1605709779532.png" alt="DonovanC_1-1605709779532.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the code, I used the same script from the field calculator and I thought that it would apply the same as an attribute rule.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Donovan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 14:31:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002540#M34373</guid>
      <dc:creator>DonovanC</dc:creator>
      <dc:date>2020-11-18T14:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules Intersect</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002590#M34378</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115570"&gt;@DonovanC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first thing to look at would be making sure that your layer has GlobalID's. This is required for an attribute rule to work.&lt;/P&gt;&lt;P&gt;I did a test with some slightly different code and it seems to work:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var fs = FeatureSetByName($datastore, "buffers");
var LeakSurveys = Intersects(fs, $feature);
if (Count(LeakSurveys) &amp;gt; 0) {
   return "Yes";
} else {
   return "No";
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expression:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XanderBakker_0-1605718401214.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/456i8DA25E37DF7FEF3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XanderBakker_0-1605718401214.png" alt="XanderBakker_0-1605718401214.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attribute rule configuration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XanderBakker_1-1605718423194.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/457i205917EDC829F69B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XanderBakker_1-1605718423194.png" alt="XanderBakker_1-1605718423194.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result symbolized by LeakSurvey (Yes/No):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XanderBakker_2-1605718455995.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/458i1272CB8AABC8D6DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XanderBakker_2-1605718455995.png" alt="XanderBakker_2-1605718455995.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remember to check your GlobalID's:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XanderBakker_3-1605718546032.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/459iDC1130DF7EB704CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XanderBakker_3-1605718546032.png" alt="XanderBakker_3-1605718546032.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 16:56:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002590#M34378</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-11-18T16:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules Intersect</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002601#M34380</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108"&gt;@XanderBakker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's exactly what I want but in my case I want my buffer line to indicate Yes/No if the point falls within the buffer and not the points&amp;nbsp; showing the indication. The naming convention I created might seem a bit confusing, sorry about that. My fs "Tracks_Buffers" are the points.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DonovanC_0-1605720450786.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/464i8CC702EC304A12E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DonovanC_0-1605720450786.png" alt="DonovanC_0-1605720450786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Polygon with the buffer has Global ID's already.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 17:28:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002601#M34380</guid>
      <dc:creator>DonovanC</dc:creator>
      <dc:date>2020-11-18T17:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules Intersect</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002647#M34387</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115570"&gt;@DonovanC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what is going wrong. I just did a test changing the attribute of the polygons depending if there are points inside the polygon and it all works as expected.&lt;/P&gt;&lt;P&gt;Arcade expression:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XanderBakker_0-1605724691488.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/477i46830933F5005FB6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XanderBakker_0-1605724691488.png" alt="XanderBakker_0-1605724691488.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Capturing a new polygon with a point inside:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XanderBakker_1-1605724840182.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/478iA54E1A3C82B842ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XanderBakker_1-1605724840182.png" alt="XanderBakker_1-1605724840182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;... automatically gets codes with "Yes" (green):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XanderBakker_2-1605724881447.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/479iD8C128760B38A1A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XanderBakker_2-1605724881447.png" alt="XanderBakker_2-1605724881447.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and when creating a polygon that has no point inside:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XanderBakker_3-1605724919852.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/480i1A4318D78926EABF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XanderBakker_3-1605724919852.png" alt="XanderBakker_3-1605724919852.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;will automatically get the code "No" (red):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XanderBakker_4-1605724955224.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/481i82D4450983D0A296/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XanderBakker_4-1605724955224.png" alt="XanderBakker_4-1605724955224.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe it is data related. Would it be possible te receive a small sample of the data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 18:43:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002647#M34387</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-11-18T18:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules Intersect</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002680#M34397</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115570"&gt;@DonovanC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to reply you private message, but I think there is something not working correctly at this moment. I was not able to download the ZIP you shared, since for some reason it end up downloading a download.html page and not the ZIP (weird). Also when I tried to answer with a private message an error occurred.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If possible please send the ZIP to "xbakker&lt;EM&gt;[at]&lt;/EM&gt;esri.co" (and yes ".co" stands for Colombia).&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 20:10:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1002680#M34397</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-11-18T20:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules Intersect</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1245958#M64043</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am interested in this particular behavior for Attribute Rules and I do have another question: in your example, if the point in the first green polygon is deleted, would the polygons automatically gets codes with "No"? I believe not.&lt;/P&gt;&lt;P&gt;Behavior on attribute rules applies on Insert, Update and Delete, for the polygons... But if an Insert, Update and Delete happens on the points, it is not reflected in the polygon attribute rule. Does this make sense?&lt;/P&gt;&lt;P&gt;For example, the squared polygons below use an attribute rule to sum the employees of intersecting points. When the rule runs on polygons, it calculates 1,557. However, if a point if updated with +100 employees, the rule on polygons is not runned (not triggered)! The attribute stays 1,557 but it should now shows 1,657.&lt;/P&gt;&lt;P&gt;I have exactly the same Arcade script in use for PopUps and it does updates to 1,657 because the Arcade code is executed each time you open the PopUps.&lt;/P&gt;&lt;P&gt;Is there any code in Arcade to introduce some 'events'? I mean to run the Arcade attribute rule in polygons if any updates are performed in the underlying layers used in the Arcade code...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VincentLaunstorfer_0-1673002963377.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59853iB44FF96E243EAF04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VincentLaunstorfer_0-1673002963377.png" alt="VincentLaunstorfer_0-1673002963377.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 11:12:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-intersect/m-p/1245958#M64043</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2023-01-06T11:12:11Z</dc:date>
    </item>
  </channel>
</rss>

