<?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 Rule for Intersecting Layer in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568279#M24976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌; I think the problem was on my end: this particular rule is based on a relationship class, and I had neglected to have that relationship class created when I tested yesterday.&amp;nbsp; (It came to me as s one of those 'eyes slamming open moments at 2 am.) So I created the relationship class and things seem to be just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2020 17:07:12 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2020-09-02T17:07:12Z</dc:date>
    <item>
      <title>Attribute Rule for Intersecting Layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568277#M24974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS Pro 2.5.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In March, 2020, I posted&amp;nbsp;&lt;A href="https://community.esri.com/thread/250256" target="_blank"&gt;Chasing my tail with Arcade/Attribute Rules&lt;/A&gt;&amp;nbsp;and &lt;A href="https://community.esri.com/migrated-users/8586" target="_blank"&gt;Jake Skinner&lt;/A&gt;‌ provided an attribute rule that worked just fine for me.&amp;nbsp; Until today.&amp;nbsp; The rule&amp;nbsp; updates a field in a point feature class when a new point is created with the name of the municipality the point is located within:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var township = FeatureSetByName($datastore,"MunicipalitiesMSD",["NAME"],true)
var intersectLayer = Intersects(township, Geometry($feature))
var layer = First (intersectLayer)
return layer.NAME&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When I verify the expression, I get an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Invalid expression&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Error line 4.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dictionary type expected&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also deployed the same basic expression to get the Zipcode from an intersecting zip polygon and it now tosses the same error. I don't see the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/505890_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/8586" target="_blank"&gt;Jake Skinner&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100" target="_blank"&gt;Xander Bakker&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:28:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568277#M24974</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-12-12T00:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule for Intersecting Layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568278#M24975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/people/jborgion" target="_blank"&gt;jborgion&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fact that something stopped working could be due to change in Arcade (which I highly doubt) or change in the data. Can you test the expression in a pop-up to see what is returned?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would change a couple of things:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You don't need to retrieve the geometry, even if you are going to use the featureset in an intersect afterwards (line one "true" changed to "false")&lt;/LI&gt;&lt;LI&gt;I included two Console statements on line 2 and 5 (but I'm not sure if you can see the result in Pro)&lt;/LI&gt;&lt;LI&gt;When you are going to access the first of something, always be sure there is something. I use a count on line 5 and 6 to validate that&lt;/LI&gt;&lt;LI&gt;Also define what to do when you don't find an intersecting feature&lt;/LI&gt;&lt;/UL&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; township &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;FeatureSetByName&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$datastore&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"MunicipalitiesMSD"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"NAME"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Console&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"cnt township: "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Count&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;township&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; intersectLayer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Intersects&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;township&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; cnt &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Count&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;intersectLayer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Console&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"cnt intersectLayer: "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; cnt&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cnt &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; feat &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;First&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;intersectLayer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; feat&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NAME&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;    
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;// what do you want to do if no intersecting feature was found?&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, none of these recommendations explains why a something that worked before suddenly does not work. It might be good to call support for this one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:28:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568278#M24975</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-12T00:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule for Intersecting Layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568279#M24976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌; I think the problem was on my end: this particular rule is based on a relationship class, and I had neglected to have that relationship class created when I tested yesterday.&amp;nbsp; (It came to me as s one of those 'eyes slamming open moments at 2 am.) So I created the relationship class and things seem to be just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2020 17:07:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568279#M24976</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-09-02T17:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule for Intersecting Layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568280#M24977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I spoke to soon:&amp;nbsp; I have two attribute rules that do the basically the same thing; after creating the relationship class, one works and the other tosses the dictionary error as noted originally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This flavor works: it grabs the underlying city and adds it to a new point:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var township = FeatureSetByName($datastore,"MunicipalitiesMSD",["NAME"],true)
var intersectLayer = Intersects(township, Geometry($feature))
var layer = First (intersectLayer)
return layer.NAME&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This flavor should add the underlying Zip code to the same point:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var zip = FeatureSetByName($datastore,"Zipcodes",["ZIP_MOD_ID"], true)
var intersectLayer = Intersects(zip, Geometry($feature))
var layer = First(intersectLayer)
return layer.ZIP_MOD_ID‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/506257_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;The 'ZIP_MOD_ID' field in the Zipcodes feature class is of long numeric type, as is the field I'm applying this rule to in my point feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100" target="_blank"&gt;Xander Bakker&lt;/A&gt;- the console() function does not work in Pro, but when I&amp;nbsp;mimic the rest of your suggested code, it tosses the same Dictionary type error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="167" src="https://community.esri.com/legacyfs/online/506258_pastedImage_4.png" width="757" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sigh....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:28:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568280#M24977</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-12-12T00:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule for Intersecting Layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568281#M24978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just migrated the the one expression that 'works' in the FGDB environment to out EGDB environment.&amp;nbsp; The good news is it doesn't toss the Dictionary error.&amp;nbsp; The bad news is it tosses a different error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/506260_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2020 20:38:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568281#M24978</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-09-02T20:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule for Intersecting Layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568282#M24979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/4422"&gt;Joe Borgione&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See my initial comment and always include a check to see if you have something before you try to access the properties of nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I have noticed in the past that Arcade does not always like you at access attributes using $feature.field_name, when the field name has un underscore in the name. Please use&amp;nbsp;&lt;SPAN&gt;$feature["field_name"] instead.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 00:16:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568282#M24979</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-09-03T00:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule for Intersecting Layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568283#M24980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;always include a check to see if you have something before you try to access the properties of nothing.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;-&amp;nbsp; words of wisdom to be sure.&amp;nbsp; In a separate email to and from &lt;A href="https://community.esri.com/migrated-users/52415"&gt;Chris Fox&lt;/A&gt;‌, he explained that when one uses Verify in the expression window, it not only checks for syntax issues but executes the expression as well.&amp;nbsp; I did not&amp;nbsp;realize that.&amp;nbsp; None the less, now that I have deployed your check, all is well.&amp;nbsp; I don't have any idea why it worked in the past, but I'm moving forward, not looking back!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 14:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/568283#M24980</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-09-03T14:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule for Intersecting Layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/1101312#M45943</link>
      <description>&lt;P&gt;I had the same issue and your Arcade code works for me. Thanks! Now I ran into something else and can't seem to figure out a good way to get it to work.&lt;/P&gt;&lt;P&gt;I have a couple polygons that features intersect with that are overlapping. Do you have any suggesstions with dealing with overlapping polygons? One easy solution would be to clip the polygons so they don't overlap but that is not an option for now. In my case there is a field in the features being intersected with the polgyons that could be used. For example when feature A intersects with overlapping polgyons 1 and 2 and feature A has an attribute value of Blue I want it to take the value coming from polygon 2 because polygon 2 is also blue. Hope that made sense. I would apprieiate any help.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 16:21:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/1101312#M45943</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-09-23T16:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule for Intersecting Layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/1205400#M58948</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;/&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;I am facing some technical challenge in calculating the immediate attribute rule to generate the unique parcel id. In my requirement at the time of insert new feature unique id generated and no problem.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;if ($editContext.editType == "INSERT") {
                 //var seq = NextSequenceValue("uniqueparcel")
                 //return "ID-"+seq
                 var seq = Text(NextSequenceValue("uniqueparcel"), "000000")
                 var parcelid = planning_area_code+"_"+ "I" +"_"+parentcode +"_"+seq
                 return parcelid&lt;/LI-CODE&gt;&lt;P&gt;Now I want to update means split this polygon into 2 polygons, so this time i want to update the parcel id with old parcel id and suffix _1 &amp;amp; _2.&amp;nbsp; eg OLD ID = PA00050 and after split update the parcel id = PA00050_01 &amp;amp; PA00050_02.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;else if ($editContext.editType == "UPDATE") {
    // get intersecting polygon
       for(var poly in Intersects($originalfeature, fsMAP)) &lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 23 Aug 2022 14:34:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-for-intersecting-layer/m-p/1205400#M58948</guid>
      <dc:creator>SU00861536</dc:creator>
      <dc:date>2022-08-23T14:34:14Z</dc:date>
    </item>
  </channel>
</rss>

