<?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 IIF conditional in State &amp; Local Government Questions</title>
    <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-conditional/m-p/206799#M1204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no experience, but I did notice that field names seem to be enclosed in square brackets, except for this part&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;isNull(ROADTYPE)&amp;nbsp;&amp;nbsp; did you just try a simple case, assign "null" if true and "not null" if false or whatever the non-python syntax is&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2016 22:20:51 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2016-08-11T22:20:51Z</dc:date>
    <item>
      <title>Attribute Assistant IIF conditional</title>
      <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-conditional/m-p/206798#M1203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand the IIF(condtional) expression syntax and I'm hoping someone can explain it a little better than the example at &lt;A href="http://solutions.arcgis.com/shared/help/attribute-assistant/tools/attribute-assistant-methods/#expression" title="http://solutions.arcgis.com/shared/help/attribute-assistant/tools/attribute-assistant-methods/#expression"&gt;Attribute Assistant methods - Attribute Assistant | ArcGIS Solutions&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The basic syntax goes IIF(expression, truepart, falsepart).&amp;nbsp; In my simple mind, I read this as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If the expression evaluates as true, return the truepart, and if it evaluates as false, return the falsepart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess this isn't correct. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, I am examining the field ROADTYPE to see if it is null.&amp;nbsp; If it is null, I would like to populate the field FULLNAME with the concatenated values of fields ROADNAME and ROADPOSTDIR.&amp;nbsp; If ROADTYPE is not null (which indicates it has a value), I want to populate the field FULLNAME with the concatenation of&amp;nbsp; ROADNAME and the existing value of ROADTYPE.&amp;nbsp; So in the Value_Info field of my DynamicTable, for the FULLNAME field I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IIF(isNull(ROADTYPE),[ROADNAME]&amp;amp;" "&amp;amp;[ROADPOSTDIR],[ROADNAME]&amp;amp;" "&amp;amp;[ROADTYPE]) but doesn't return anything...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes our streets are named, sometimes they are numeric.&amp;nbsp; If they are named, they get a type, if they are numbered, they get a post directional:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOES LN&lt;/P&gt;&lt;P&gt;versus&lt;/P&gt;&lt;P&gt;4104 S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/8249"&gt;Jeff Ward&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 21:46:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-conditional/m-p/206798#M1203</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2016-08-11T21:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant IIF conditional</title>
      <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-conditional/m-p/206799#M1204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no experience, but I did notice that field names seem to be enclosed in square brackets, except for this part&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;isNull(ROADTYPE)&amp;nbsp;&amp;nbsp; did you just try a simple case, assign "null" if true and "not null" if false or whatever the non-python syntax is&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 22:20:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-conditional/m-p/206799#M1204</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-08-11T22:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant IIF conditional</title>
      <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-conditional/m-p/206800#M1205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IIF(isNull([ROADTYPE]),[ROADNAME]&amp;amp;" "&amp;amp;[ROADPOSTDIR],[ROADNAME]&amp;amp;" "&amp;amp;[ROADTYPE])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(added [] around the field name in the isNull() function)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also - make sure that the Field Name field int he Dynamic Value Table points to the field where you want the results to be written.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 22:28:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-conditional/m-p/206800#M1205</guid>
      <dc:creator>AllisonMuise1</dc:creator>
      <dc:date>2016-08-11T22:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant IIF conditional</title>
      <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-conditional/m-p/206801#M1206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan and Allison;&amp;nbsp; I'll check my brackets in the table; these tired eyes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;moments later-&amp;nbsp; you guys are &lt;STRONG&gt;both correct&lt;/STRONG&gt;.&amp;nbsp; But since I don't do facial hair, I gave the correct answer to Allison... (Just kidding Dan...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 22:36:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-conditional/m-p/206801#M1206</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2016-08-11T22:36:27Z</dc:date>
    </item>
  </channel>
</rss>

