<?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 Clearing an attribute once another attribute is edited in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/clearing-an-attribute-once-another-attribute-is/m-p/1326772#M6964</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;A couple notes: Our organization has one named user account on ArcGIS Online that multiple survey crews use to conduct field work. I am a novice with Arcade.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have five attributes that need to be updated. For simplicity, the field names are: "&lt;EM&gt;ABC", "DEF", "GHI", "JKL", "MNO".&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;To track who edits, we have a required field "&lt;EM&gt;Staff Initials&lt;/EM&gt;&lt;SPAN&gt;" (containing a domain list of initials) associated with each of those five fields. The relevant "&lt;/SPAN&gt;&lt;EM&gt;Staff Initials&lt;/EM&gt;&lt;SPAN&gt;" field is required to be populated any time an attribute edit is made. Any time an edit is made, we want the "&lt;/SPAN&gt;&lt;EM&gt;Staff Initials&lt;/EM&gt;&lt;SPAN&gt;" to clear out and require new initials to be chosen. The problem is that previous staff initials remain even after an edit is made.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The closest I got was through a simple expression&amp;nbsp;&lt;STRONG&gt;if($feature.ABC != null){return " "} &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;That does not work in the end because it will essentially disable&amp;nbsp;"&lt;EM&gt;Staff Initials&lt;/EM&gt;" from being populated again.&lt;/P&gt;&lt;P&gt;Is this task possible, perhaps through Arcade?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Sep 2023 14:22:57 GMT</pubDate>
    <dc:creator>ThomasWrede</dc:creator>
    <dc:date>2023-09-08T14:22:57Z</dc:date>
    <item>
      <title>Clearing an attribute once another attribute is edited</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/clearing-an-attribute-once-another-attribute-is/m-p/1326772#M6964</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;A couple notes: Our organization has one named user account on ArcGIS Online that multiple survey crews use to conduct field work. I am a novice with Arcade.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have five attributes that need to be updated. For simplicity, the field names are: "&lt;EM&gt;ABC", "DEF", "GHI", "JKL", "MNO".&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;To track who edits, we have a required field "&lt;EM&gt;Staff Initials&lt;/EM&gt;&lt;SPAN&gt;" (containing a domain list of initials) associated with each of those five fields. The relevant "&lt;/SPAN&gt;&lt;EM&gt;Staff Initials&lt;/EM&gt;&lt;SPAN&gt;" field is required to be populated any time an attribute edit is made. Any time an edit is made, we want the "&lt;/SPAN&gt;&lt;EM&gt;Staff Initials&lt;/EM&gt;&lt;SPAN&gt;" to clear out and require new initials to be chosen. The problem is that previous staff initials remain even after an edit is made.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The closest I got was through a simple expression&amp;nbsp;&lt;STRONG&gt;if($feature.ABC != null){return " "} &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;That does not work in the end because it will essentially disable&amp;nbsp;"&lt;EM&gt;Staff Initials&lt;/EM&gt;" from being populated again.&lt;/P&gt;&lt;P&gt;Is this task possible, perhaps through Arcade?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 14:22:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/clearing-an-attribute-once-another-attribute-is/m-p/1326772#M6964</guid>
      <dc:creator>ThomasWrede</dc:creator>
      <dc:date>2023-09-08T14:22:57Z</dc:date>
    </item>
  </channel>
</rss>

