<?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: Using Attribute Rules to calculate fields from intersecting polygons in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1657266#M27637</link>
    <description>&lt;P&gt;This is great!&amp;nbsp; Thank you so much for sharing.&lt;/P&gt;&lt;P&gt;Just FYI for anyone who may come after me... I ran this expression as a field calculation on a dataset of over 100,000 features and it took about 2 hours&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 11 Oct 2025 01:27:54 GMT</pubDate>
    <dc:creator>AllenDailey1</dc:creator>
    <dc:date>2025-10-11T01:27:54Z</dc:date>
    <item>
      <title>Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1032944#M25251</link>
      <description>&lt;P&gt;We have recently made the move to ArcGIS Pro for everything except our 911 Addressing.&amp;nbsp; We are searching for an Attribute rule that would allow us to take attribute data from several polygon layers and put them into our address layer.&amp;nbsp; In other words, we want to enter a new address point and have the attribute rule to go out and find certain data (ESN, Community, Senate, House, JP District, etc.) and enter that into our Address layer.&amp;nbsp; We were able to do this in ArcGIS Desktop using a script but that script will not work in Attribute rules.&amp;nbsp; Unfortunately, I do not understand Arcade and I'm pretty limited with vbscript.&amp;nbsp; I'm hoping that there is someone out there that has built something like this that would share it with me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You all in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 17:05:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1032944#M25251</guid>
      <dc:creator>TINATHOMPSON</dc:creator>
      <dc:date>2021-03-04T17:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1032951#M25252</link>
      <description>&lt;P&gt;I'm assuming the script you had running while using Desktop was a PYTHON script.&amp;nbsp; That being the case, why can't you run that same script in PRO?&amp;nbsp; &amp;nbsp;Import that script to your toolbox and run it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 17:14:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1032951#M25252</guid>
      <dc:creator>AlexRodriguez</dc:creator>
      <dc:date>2021-03-04T17:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1032959#M25253</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/26218"&gt;@TINATHOMPSON&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11571"&gt;@AlexRodriguez&lt;/a&gt;&amp;nbsp; has a valid point. If you have a Python script that worked in ArcMap chances are high that it will work in&amp;nbsp; Pro too (maybe with some slight modifications). A potential downside could be that you need to create some sort of trigger to execute the script to update the data when changes are made. You can work with scheduled tasks in Pro.&lt;/P&gt;&lt;P&gt;Now, using attribute rules may have the advantage that updating the data will trigger the attribute rule and update the data so you will always look at updated information and are not depending on a manual or scheduled update. It will require you to rewrite the code, your data must reside in the same data store and they must have GlobalIDs...&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 17:27:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1032959#M25253</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-03-04T17:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1032975#M25254</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/26218"&gt;@TINATHOMPSON&lt;/a&gt;&amp;nbsp; &lt;A href="https://www.esri.com/en-us/industries/blog/articles/gis-for-9-1-1-an-enterprise-approach-whats-your-schema/" target="_self"&gt;check this blog&lt;/A&gt;.&amp;nbsp; I don't work in 9-1-1 anymore but I still do addressing and I use the ESRI Address Data Management Solution.&amp;nbsp; I augmented the solution with a couple of my own rules that grab underlying polygon data to populate address points.&amp;nbsp; I really like the solution for addressing, but will be the first to tell you that the Arcade portion can be a challenge; but that's what this forum is for. Just ask&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108"&gt;@XanderBakker&lt;/a&gt;&amp;nbsp;how many times he helped me out...&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 18:11:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1032975#M25254</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-04T18:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033026#M25255</link>
      <description>Joe,&lt;BR /&gt;I have looked at the ESRI Address Data Management Solution in the past and took another look at it today. It is a nice tool but I don't see any attribute rules that would populate fields from polygon layers. That is where my problem is at, I can't figure out the Arcade script in order to make this work.&lt;BR /&gt;Thank you for your help and awesome job on your project!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tina L. Thompson, CFM, GISP&lt;BR /&gt;GIS/911 Administrator&lt;BR /&gt;1109 S 16th St&lt;BR /&gt;Fort Smith, AR 72901&lt;BR /&gt;(479)785-2651&lt;BR /&gt;&lt;A href="http://www.wapdd.org" target="_blank"&gt;www.wapdd.org&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.wagis.org" target="_blank"&gt;www.wagis.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Chairperson, River Valley GIS Users Group&lt;BR /&gt;&lt;A href="http://www.rivervalleygisusers.org" target="_blank"&gt;www.rivervalleygisusers.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Committee Member, GISCI Oversight Committee&lt;BR /&gt;Committee Member, APCO International Awards Committee&lt;BR /&gt;Committee Member, AR GIS Users Forum&lt;BR /&gt;Committee Member, National NENA 911/GIS Stewardship Working Group&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Mar 2021 19:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033026#M25255</guid>
      <dc:creator>TINATHOMPSON</dc:creator>
      <dc:date>2021-03-04T19:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033047#M25256</link>
      <description>&lt;P&gt;The trick with getting values from underlying polygon features is those features have to reside in the same "datastore" as your points.&amp;nbsp; The datastore is nothing more than than the database, be it FGDB or EGDB that holds your data. It's a limitation of Arcade.&amp;nbsp; However, here is a rule that I apply to get underlying zip code onto a site address point:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var zip = FeatureSetByName($datastore,"MSD.SLCOMSD.ZipcodesMSD",["ZIP_MOD_ID"], true)
var intersectLayer = Intersects(zip, Geometry($feature))
if (Count(intersectLayer) &amp;gt; 0) {
    var layer = First(intersectLayer);
    return layer.ZIP_MOD_ID;    
} else {
    return null;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I'm extracting the value of the field ZIP_MOD_ID from the ZipcodesMSD layer in our SDE database.&amp;nbsp; The if statement makes sure there is an intersecting layer to the point;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108"&gt;@XanderBakker&lt;/a&gt;&amp;nbsp;guided me through this one so all my intersecting rules check for that first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 19:35:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033047#M25256</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-04T19:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033052#M25257</link>
      <description>&lt;P&gt;Thank you for your help.&amp;nbsp; I've been doing this for 30+ years, I'm ready to retire as well.&amp;nbsp; I have found the python script that we used to use and I'm going to try it, as well as possibly look at your solution.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 19:38:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033052#M25257</guid>
      <dc:creator>TINATHOMPSON</dc:creator>
      <dc:date>2021-03-04T19:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033073#M25258</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Quick question... would you create multiple rules since the OP needs to update values from multiple layers or would you use a single attribute rule? If it is the latter, I suppose the return value should be changed to include multiple values. I was looking for an example of this and can't find any, but I suppose it should be similar to updating another feature layer, right?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 20:21:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033073#M25258</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-03-04T20:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033200#M25259</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;; for each layer I have a rule.&amp;nbsp; I did it that way because each layer has a value for a different field in my site address points:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Municipalities layer provides a city name for the point field CITY&lt;/P&gt;&lt;P&gt;Zip code layer provides&amp;nbsp; a numeric zipcode value for the point field ZipCode&lt;/P&gt;&lt;P&gt;etc...&amp;nbsp; For a 9-1-1 application there would be feature layers like PoliceBeat, FireZone, EMTZone etc...&lt;/P&gt;&lt;P&gt;I don't know how to construct a single attribute rule for multiple attributes.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 22:35:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033200#M25259</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-04T22:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033206#M25260</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for getting back. It makes sense what you are saying. I think it should be possible to return multiple values in a single Attribute Rule, but I haven't seen examples of this. I do suppose that it follows the same logic as the "Edit another feature class with a calculation rule" example here:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rule-script-expression.htm#anchor4" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rule-script-expression.htm#anchor4&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(but I am not sure)&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 22:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033206#M25260</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-03-04T22:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033214#M25261</link>
      <description>&lt;P&gt;Perhaps&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/346994"&gt;@HusseinNasser2&lt;/a&gt;&amp;nbsp;can weigh in on this....&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 23:11:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1033214#M25261</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-04T23:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1118120#M25995</link>
      <description>&lt;P&gt;I am trying to do the same thing by pulling an attribute from an intersecting layer but I am receiving an error that the $datastore identifier is not found.&amp;nbsp; Is there additional set up on the service that is required in order to use the $datastore identifier?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 13:06:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1118120#M25995</guid>
      <dc:creator>TroyGray</dc:creator>
      <dc:date>2021-11-18T13:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1118172#M25996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/259935"&gt;@TroyGray&lt;/a&gt;&amp;nbsp;, I have seen this type of error when the feature set does not have GlobalIDs. Can you validate that it does?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 14:48:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1118172#M25996</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-11-18T14:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1118201#M25997</link>
      <description>&lt;P&gt;Thanks Xander for the reply.&amp;nbsp; It turns out it was my fault because I didn't have "Feature Access" enabled on the service.&amp;nbsp; Once I enabled "Feature Access" the $datastore, $map, etc. appeared in the Arcade window and is working great.&amp;nbsp; Thanks again&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 15:30:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1118201#M25997</guid>
      <dc:creator>TroyGray</dc:creator>
      <dc:date>2021-11-18T15:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1194987#M26410</link>
      <description>&lt;P&gt;So as far as you know there is no way to do this between datastores?&amp;nbsp; Our points are in one database but our polygons are in another?&amp;nbsp; Do you think it may be possible to do this if both feature layers are published to Enterprise?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 16:30:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1194987#M26410</guid>
      <dc:creator>JonathanPollack</dc:creator>
      <dc:date>2022-07-22T16:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1657266#M27637</link>
      <description>&lt;P&gt;This is great!&amp;nbsp; Thank you so much for sharing.&lt;/P&gt;&lt;P&gt;Just FYI for anyone who may come after me... I ran this expression as a field calculation on a dataset of over 100,000 features and it took about 2 hours&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 01:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1657266#M27637</guid>
      <dc:creator>AllenDailey1</dc:creator>
      <dc:date>2025-10-11T01:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1668756#M27660</link>
      <description>&lt;P&gt;Wow. This is so frustrating. Since two hours I try to transfer the point number of intersecting Points from layer A to layer B in ArcGIS Pro with Arcade. And maybe I am too stupid. But I cannot understand that if I want to grab another layer in my ArcGIS Pro Map by name, it has to be in the same datastore as the layer I want to update. And $map gives me an Error: Object not found $map.&lt;/P&gt;&lt;P&gt;With QGIS this is so easy! Just: overelay_intersects(layer_name, field_name)&lt;BR /&gt;And this is it! No need for globalIDs, no need to be in the same datastore! Nothing! And it is free!&lt;/P&gt;&lt;P&gt;I am completely out of words and so frustrated you cannot imagine!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 13:35:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1668756#M27660</guid>
      <dc:creator>MarcelBeckmann</dc:creator>
      <dc:date>2025-11-26T13:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1668759#M27661</link>
      <description>&lt;P&gt;If you are using an attribute rule or a field calculation, the Arcade expression does not know what the $map is. You need to use $datastore to access the other featureset and there should be no problem to transfer the number of points from layer A to layer B.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 13:48:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1668759#M27661</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2025-11-26T13:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1668782#M27662</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108"&gt;@XanderBakker&lt;/a&gt;Thank you for the information.&lt;/P&gt;&lt;P&gt;Sorry for not being clear on this. One of my layers is in a Enterprise Geodatabase. The other layer is from ArcGIS Online. So $datastore does not work.&lt;/P&gt;&lt;P&gt;I would be really greatfull for any solution.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 14:54:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1668782#M27662</guid>
      <dc:creator>MarcelBeckmann</dc:creator>
      <dc:date>2025-11-26T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using Attribute Rules to calculate fields from intersecting polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1668786#M27663</link>
      <description>&lt;P&gt;Thanks for providing some more details. There might be an issue with getting access to the two layers if they require different users to get access to them. If this s not the case, you could try using something similar to this example below to get access to the featureset:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Acccess the portal
var spx = Portal('https://utility-esri-co.maps.arcgis.com');

// Provide an optional SQL query 
var sql = "Motivo &amp;lt;&amp;gt; ''";

// access the layer in the portal using the item ID
var proyectos = Filter(FeatureSetByPortalItem(spx, 'bf4a31341a5d49be90de6ce471a0b647', 0, ["Motivo"], false), sql);&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 26 Nov 2025 15:10:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-attribute-rules-to-calculate-fields-from/m-p/1668786#M27663</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2025-11-26T15:10:31Z</dc:date>
    </item>
  </channel>
</rss>

