<?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 Assistant in Water Utilities Questions</title>
    <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant/m-p/421758#M859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the SYSTEM field text? You'll need to enclose the values in quotes:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;IIF([SYSTEM]="Potable", "DW", IIF([SYSTEM]="Non-Potable", "RW", IIF([SYSTEM]="Sewer", "SS"))) &amp;amp; [OBJECTID]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Sep 2019 16:57:14 GMT</pubDate>
    <dc:creator>PaulLeBlanc1</dc:creator>
    <dc:date>2019-09-16T16:57:14Z</dc:date>
    <item>
      <title>Attribute Assistant</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant/m-p/421757#M858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to set a condition using Attribute Assistant.&amp;nbsp; I have a feature layer (GPS_Meter) with a field called SYSTEM.&amp;nbsp; The SYSTEM field is populated with Potable, Non-Potable, and Sewer.&amp;nbsp; I am trying to auto populate another field (UID) with either DW, RW, or SS and the OBJECTID. I have the following populated in the DynamicValue table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Name: GPS_Meter&lt;/P&gt;&lt;P&gt;Field Name: UID&lt;/P&gt;&lt;P&gt;Value Method: EXPRESSION&lt;/P&gt;&lt;P&gt;Value Info: IIF([SYSTEM]=Potable, "DW", IIF([SYSTEM]=Non-Potable, "RW", IIF([SYSTEM]=Sewer, "SS"))) &amp;amp; [OBJECTID]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run AA for selected GPS_Meter points and the UID field does not get populated.&amp;nbsp; Any help will be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:26:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant/m-p/421757#M858</guid>
      <dc:creator>GIS_geek</dc:creator>
      <dc:date>2019-09-16T16:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant/m-p/421758#M859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the SYSTEM field text? You'll need to enclose the values in quotes:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;IIF([SYSTEM]="Potable", "DW", IIF([SYSTEM]="Non-Potable", "RW", IIF([SYSTEM]="Sewer", "SS"))) &amp;amp; [OBJECTID]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:57:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant/m-p/421758#M859</guid>
      <dc:creator>PaulLeBlanc1</dc:creator>
      <dc:date>2019-09-16T16:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant/m-p/421759#M860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; It is a text field.&amp;nbsp; I added the quotes and still getting no results.&amp;nbsp; The UID field does not get populated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2019 18:41:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant/m-p/421759#M860</guid>
      <dc:creator>GIS_geek</dc:creator>
      <dc:date>2019-09-17T18:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant/m-p/421760#M861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IIF was monkeypatched in the msscriptcontrol.&amp;nbsp; I believe you need to do &amp;amp; inside it.&amp;nbsp; I have never tested this.&amp;nbsp; The logic may not work and you might need a second expression statement that fires after this one.&amp;nbsp; Which is &amp;lt;The Edited Field&amp;gt; &amp;amp; [OBJECTID]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;IIF([SYSTEM]=Potable, "DW" &amp;amp; [OBJECTID], IIF([SYSTEM]=Non-Potable, "RW" &amp;amp; [OBJECTID], IIF([SYSTEM]=Sewer, "SS" &amp;amp; [OBJECTID])))&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2019 20:39:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant/m-p/421760#M861</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2019-09-17T20:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant/m-p/421761#M862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your help.&amp;nbsp; I had the last part of the IIF statement incorrect.&amp;nbsp; I removed the IIF([SYSTEM]="Sewer" and it worked.&amp;nbsp; Below is the updated expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;IIF([SYSTEM]="Potable", "DW", IIF([SYSTEM]="Non-Potable", "RW", "SS")) &amp;amp; [OBJECTID]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 21:54:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant/m-p/421761#M862</guid>
      <dc:creator>GIS_geek</dc:creator>
      <dc:date>2019-09-18T21:54:46Z</dc:date>
    </item>
  </channel>
</rss>

