<?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: Update Attributes in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363438#M15949</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/368337"&gt;Brian Acheff&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message is indicating that you cannot use the $map global variable in a field calculation of an attribute calculation rule. You should use the $datastore instead. See&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/arcade/guide/profiles/" title="https://developers.arcgis.com/arcade/guide/profiles/"&gt;Profiles | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;for more information on what global variables and functions are available in each profile.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Sep 2020 14:03:05 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2020-09-17T14:03:05Z</dc:date>
    <item>
      <title>Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363437#M15948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have old features that I am adding via copy and paste to a current production feature class that has attribute rules enabled. I am having trouble figuring out a way to update "at will" specific fields that are null for the old features being brought in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attribute rule for the current feature populates point data fields with data from a polygon boundary vi INTERSECT, but when I perform the copy and past the fields remain null and are not updated via the attribute rule.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know with attribute assistant you can "Run Change Rules for Selected Features" is there a simple way to do this with attribute rules or mimics the rule using ARCADE or Python in the field calculator as I attempted below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="507067" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/507067_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2020 20:42:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363437#M15948</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-09-16T20:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363438#M15949</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/368337"&gt;Brian Acheff&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message is indicating that you cannot use the $map global variable in a field calculation of an attribute calculation rule. You should use the $datastore instead. See&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/arcade/guide/profiles/" title="https://developers.arcgis.com/arcade/guide/profiles/"&gt;Profiles | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;for more information on what global variables and functions are available in each profile.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 14:03:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363438#M15949</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-09-17T14:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363439#M15950</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;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for noticing my simple mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use $datastore the expression check out, but returns nothing.&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/507215_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed the&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt; &lt;SPAN style="font-weight: 300;"&gt;$editcontext.editType global for attribute rules and the following expression:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #aa0d91;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #aa0d91;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt; ($editContext.editType == &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;"UPDATE"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;would this need to be inserted into the expression or would I need to create a rules using this and then when field calculating call out the&amp;nbsp;&lt;SPAN class="" style="color: #aa0d91;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;($editContext.editType ==&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;"UPDATE"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;)&amp;nbsp; ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8f8f8; color: #595959; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #006a00;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 14:41:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363439#M15950</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-09-17T14:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363440#M15951</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;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This checks out, but returns this error, would you be able to point me in the correct direction or if I am headed in the correct direction with this script?&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/507217_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 16:01:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363440#M15951</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-09-17T16:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363441#M15952</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;‌ helped me out here:&amp;nbsp;&lt;A href="https://community.esri.com/thread/259345-attribute-rule-for-intersecting-layer"&gt;https://community.esri.com/thread/259345-attribute-rule-for-intersecting-layer&lt;/A&gt;&amp;nbsp;when I had a problem with updating points or lines with underlying feature layers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 16:48:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363441#M15952</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-09-17T16:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363442#M15953</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/4422"&gt;Joe Borgione&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe's forward of his trouble with this showed me to Xander's remark to not use $feature."field name" and instead use $feature["field name"].&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression was not done as an attribute rule, but rather as a geoprocessing field calculation, though I did disable then re-enable the attribute rule associated with Intersect, so I cannot be sure if the that helped at all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the correct expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="507230" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/507230_pastedImage_7.png" /&gt;&amp;nbsp;&lt;IMG __jive_id="507231" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/507231_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 17:22:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363442#M15953</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-09-17T17:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363443#M15954</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/368337"&gt;Brian Acheff&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me respond to this comment first. When you return the First record of an intersect, you are returning an entire record. Not only the MACOG_ID value even though it is the&amp;nbsp;only attribute you are requesting. You would have to query the actual field to get the value (adding for instance ["MACOG_ID"] at the end of the line).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 17:33:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363443#M15954</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-09-17T17:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363444#M15955</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/368337"&gt;Brian Acheff&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this screenshot on line 13 you are using as update the text 'MACOG_ID'. This should be updates array you created before. See algo the example expression called "&lt;STRONG&gt;Edit another feature class with a calculation rule.&lt;/STRONG&gt;" in this link:&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/attribute-rule-script-expression.htm" title="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/attribute-rule-script-expression.htm"&gt;Attribute rule script expression examples—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 17:38:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363444#M15955</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-09-17T17:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363445#M15956</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;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am confused by your reply, used the expression to field calculate the MACOG_ID field in the HandHold feature class (the $feature) that intersects the MACOG_Intersections_Poly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you elaborate on your reply?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 17:42:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363445#M15956</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-09-17T17:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363446#M15957</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/Brian.Acheff" target="_blank"&gt;Brian.Acheff&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it is best to show what I mean it the expression:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"MACOG_ID"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;// first returns a feature&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;&lt;SPAN class="token function"&gt;Intersects&lt;/SPAN&gt;&lt;SPAN class="punctuation 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;"MACOG_Intersections_Poly"&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;"MACOG_ID"&lt;/SPAN&gt;&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; $feature&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="comment token"&gt;// access the attribute to return the actual value&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; feat&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"MACOG_ID"&lt;/SPAN&gt;&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="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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363446#M15957</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T16:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363447#M15958</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;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahhhhh I now get why it is important to format my ARCADE syntax using VAR and not just throwing together a sandwich of functions. They are not one in the same but different&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="The Fireman/???????/Giant – Twin Peaks: Part 17 &amp;amp; Part 18 – Twin Peaks &amp;amp;  David Lynch Discussion" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/507232_pastedImage_1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am learning to overcome this type of bad habit in Python scripting &amp;amp; expressions, so thank you for your critique!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 18:05:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363447#M15958</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-09-17T18:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363448#M15959</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;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am attempting you continue the task and am running into this error.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="507424" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/507424_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2020 14:31:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363448#M15959</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-09-18T14:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363449#M15960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have applied the attribute rule to the class, and it is set for update, you can trigger an update by simply calc'ing a field to itself.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2020 14:49:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363449#M15960</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2020-09-18T14:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363450#M15961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a cool trick.&amp;nbsp; Thanks &lt;A href="https://community.esri.com/migrated-users/25908"&gt;Michael Miller&lt;/A&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2020 14:54:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363450#M15961</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-09-18T14:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363451#M15962</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/Brian.Acheff" target="_blank"&gt;Brian.Acheff&lt;/A&gt;&amp;nbsp;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error you are receiving may be caused by not having a result in the intersection. Can you try this?&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;// don't do any intersects if you are not going to use it&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MACOD_ID&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="comment token"&gt;// intersect the data (don't retrieve the geometry when you don't need it)&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; fs &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;&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;"MACOG_Intersections_Poly"&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;"MACOG_ID"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; False&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&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="comment token"&gt;// count the resulting features&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;fs&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;// don't try and access the first feature if there are no features&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="comment token"&gt;// get the first feature and return the MACOG_ID&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;fs&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;&lt;SPAN class="string token"&gt;"MACOG_ID"&lt;/SPAN&gt;&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="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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:56:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363451#M15962</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T16:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363452#M15963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For intersecting underlying features, that's what works for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2020 15:31:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363452#M15963</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-09-18T15:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules: Update Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363453#M15964</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;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It checks out, but returns Null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2020 15:47:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules-update-attributes/m-p/363453#M15964</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-09-18T15:47:00Z</dc:date>
    </item>
  </channel>
</rss>

