<?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 Attribute Assistant using expression wild card in Water Utilities Questions</title>
    <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-using-expression-wild-card/m-p/1028197#M1731</link>
    <description>&lt;P&gt;I have been tasked with populating two different fields from a single field. My plan was to use AA and either the Field, Field Trigger, or Expression function to populate the new fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Field where the values are added = FACILITYID&lt;/P&gt;&lt;P&gt;new Field 1 =&amp;nbsp;FunctionalLocation&lt;/P&gt;&lt;P&gt;new Field 2 = EquipmentID&lt;/P&gt;&lt;P&gt;I plan to create two new entries into the Dynamic Value table&lt;/P&gt;&lt;P&gt;To populate the&amp;nbsp;FunctionLocation field:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Table Name: swFacility&lt;/LI&gt;&lt;LI&gt;Field Name: FunctionLocation&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Value Method: (unsure if this should be FIELD TRIGGER, FIELD, or EXPRESSION)&lt;/LI&gt;&lt;LI&gt;Value Info:&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IIF([FACILITYID] LIKE 'E-MA%') &amp;amp;[FACILITYID]&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;To populate the EquipmentID field (this is a numeric field that is not consistent so I can't really wild card it) :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Table Name: swFacility&lt;/LI&gt;&lt;LI&gt;Field Name: EquipmentID&lt;/LI&gt;&lt;LI&gt;Value Method: (unsure if this should be FIELD TRIGGER, FIELD, or EXPRESSION)&lt;/LI&gt;&lt;LI&gt;Value Info:&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IIF([FACILITYID] NOT LIKE 'E-MA%' OR IS NULL) &amp;amp;[FACILITYID]&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I found a few other threads where they were using similar IFF statements, but none were using a wildcard in the expression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 19:11:43 GMT</pubDate>
    <dc:creator>VanessaSimps</dc:creator>
    <dc:date>2021-02-18T19:11:43Z</dc:date>
    <item>
      <title>Attribute Assistant using expression wild card</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-using-expression-wild-card/m-p/1028197#M1731</link>
      <description>&lt;P&gt;I have been tasked with populating two different fields from a single field. My plan was to use AA and either the Field, Field Trigger, or Expression function to populate the new fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Field where the values are added = FACILITYID&lt;/P&gt;&lt;P&gt;new Field 1 =&amp;nbsp;FunctionalLocation&lt;/P&gt;&lt;P&gt;new Field 2 = EquipmentID&lt;/P&gt;&lt;P&gt;I plan to create two new entries into the Dynamic Value table&lt;/P&gt;&lt;P&gt;To populate the&amp;nbsp;FunctionLocation field:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Table Name: swFacility&lt;/LI&gt;&lt;LI&gt;Field Name: FunctionLocation&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Value Method: (unsure if this should be FIELD TRIGGER, FIELD, or EXPRESSION)&lt;/LI&gt;&lt;LI&gt;Value Info:&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IIF([FACILITYID] LIKE 'E-MA%') &amp;amp;[FACILITYID]&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;To populate the EquipmentID field (this is a numeric field that is not consistent so I can't really wild card it) :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Table Name: swFacility&lt;/LI&gt;&lt;LI&gt;Field Name: EquipmentID&lt;/LI&gt;&lt;LI&gt;Value Method: (unsure if this should be FIELD TRIGGER, FIELD, or EXPRESSION)&lt;/LI&gt;&lt;LI&gt;Value Info:&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IIF([FACILITYID] NOT LIKE 'E-MA%' OR IS NULL) &amp;amp;[FACILITYID]&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I found a few other threads where they were using similar IFF statements, but none were using a wildcard in the expression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 19:11:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-using-expression-wild-card/m-p/1028197#M1731</guid>
      <dc:creator>VanessaSimps</dc:creator>
      <dc:date>2021-02-18T19:11:43Z</dc:date>
    </item>
  </channel>
</rss>

