<?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: IIF function in Dynamic Value table in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175390#M1061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The highest number weight runs first, so the first expression with weight of 1, is overwriting the others. &amp;nbsp;For the last IIF statement, the false condition should be [#] or use the field name [MunicipalID] so if nothing is found, the existing field value is used. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2016 13:31:26 GMT</pubDate>
    <dc:creator>MikeMillerGIS</dc:creator>
    <dc:date>2016-09-21T13:31:26Z</dc:date>
    <item>
      <title>IIF function in Dynamic Value table</title>
      <link>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175382#M1053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to autopopulate a MunicipalID field (long integer) with a number between 1-21 depending on the value selected in a domain based text field. My initial thought was an expression in the dynamic value table using the IIF function. The first attempt was too long being a total of 765 characters, no spaces. I then tried to break it down into smaller chunks and assign a rule weight so that I could still use the IIF function. No matter how I write it I cannot get the expression to work. I am hoping that someone can either tell me what I am doing wrong or tell me a different way to accomplish this. My initial statement was as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;IIF([Municipality]="Bethel",1,IIF([Municipality]="Callicoon",2,IIF([Municipality]="Cochecton",3,IIF([Municipality]="Delaware",4,IIF([Municipality]="Fallsburg",5,IIF([Municipality]="Forestburgh",6,IIF([Municipality]="Fremont",7,IIF([Municipality]="Highland",8,IIF([Municipality]="Liberty",9,IIF([Municipality]="Lumberland",10,IIF([Municipality]="Mamakating",11,IIF([Municipality]="Neversink",12,IIF([Municipality]="Rockland",13,IIF([Municipality]="Thompson",14,IIF([Municipality]="Tusten",15,IIF([Municipality]="Bloomingburg Village",16,IIF([Municipality]="Jeffersonville Village",17,IIF([Municipality]="Liberty Village",18,IIF([Municipality]="Monticello Village",19, IIF([Municipality]="Woodridge Village",20,IIF([Municipality]="Wurtsboro Village",21,&amp;lt;Null&amp;gt;)))))))))))))))))))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This, obviously, is too long but the chunks don't work either. I need to accomplish the following process.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Select a domain description value from a drop down list (this part works fine as it is a manual process, not utilizing the dynamic value table.) Codes are a two letter value for the town, 3-6 letter value for the villages. Descriptions are as shown above in the IIF statement I was hoping to use. I tried using the code, as opposed to the description, in the IIF expression and that does not work either.&lt;/LI&gt;&lt;LI&gt;Based on the selected value in the Municipality field the MunicipalID field should autopopulate with a corresponding number (as shown above in the expression).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried, for the false result, a number of options including 0, Null, &amp;lt;Null&amp;gt;, 00, "", and not putting anything in that result. Nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set the "On Change Attribute" to TRUE, all others to FALSE, as that is the most appropriate for what I am trying to accomplish.&amp;nbsp;When that didn't work I tried it with TRUE for the standard three and FALSE# for "On Manual" but that does not work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions/help is greatly appreciated. I'm still fairly new at using the attribute assistant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jenn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 20:27:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175382#M1053</guid>
      <dc:creator>JenniferStone</dc:creator>
      <dc:date>2016-09-19T20:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: IIF function in Dynamic Value table</title>
      <link>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175383#M1054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a pretty big iif; it's real easy to miss something in the middle, or have a missing close-paren. (Not that &lt;EM&gt;I've&lt;/EM&gt; ever done that.....&amp;nbsp; Today anyway...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you do this:&amp;nbsp; &lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;IIF([Municipality]="Bethel",1,&lt;/SPAN&gt;0)&amp;nbsp;&amp;nbsp; it doesn't work?&amp;nbsp; That would be my approach; one iff, then two iif's etc and run each new iteration, but it sounds like you've done that.&amp;nbsp; And how are you testing it?&amp;nbsp; By changing an attribute value or running the rule interactively?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dynamic table is at another client site, and I won't back there till Thursday;&amp;nbsp; if you haven't&amp;nbsp; got it fixed by then, I'll see what I can find.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/mmiller-esristaff"&gt;mmiller-esristaff&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 20:51:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175383#M1054</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2016-09-19T20:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: IIF function in Dynamic Value table</title>
      <link>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175384#M1055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am testing by changing the attribute value (aka: selecting a new domain value) in the Municipality field. I will try the one iif, two iif iteration. Didn’t think of doing it quite that way, my “chunks” were about 5 municipalities long. I’ll let you know either way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jennifer D. Stone&lt;/P&gt;&lt;P&gt;Jennifer D. Stone&lt;/P&gt;&lt;P&gt;Tax Map/GIS Technician&lt;/P&gt;&lt;P&gt;Sullivan County Real Property Tax Services&lt;/P&gt;&lt;P&gt;and 911 Addressing Center&lt;/P&gt;&lt;P&gt;Sullivan County Government Center&lt;/P&gt;&lt;P&gt;100 North Street&lt;/P&gt;&lt;P&gt;Monticello, NY 12701&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phone: (845) 807-0224&lt;/P&gt;&lt;P&gt;Fax: (845) 807-0232&lt;/P&gt;&lt;P&gt;Email: jennifer.stone@co.sullivan.ny.us&amp;lt;mailto:jennifer.stone@co.sullivan.ny.us&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disclaimer: The Office of Real Property assumes no responsibility for any errors or omissions in the information provided. Furthermore, the Office of Real Property makes no representation as to the accuracy of the information provided. The Office of Real Property specifically provides this information as is and expressly disclaims responsibility for damages or liability, whatsoever, that may arise from use of the information provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Confidentiality Notice: This e-mail message, including attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message and attachments. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 21:00:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175384#M1055</guid>
      <dc:creator>JenniferStone</dc:creator>
      <dc:date>2016-09-19T21:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: IIF function in Dynamic Value table</title>
      <link>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175385#M1056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you true on the log, it might help, but breaking it down is the best bet. &amp;nbsp;That is one long statement and a simple typo in the middle could cause it to break. &amp;nbsp;The engine we are using to evaluate it does not much provide much help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 23:24:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175385#M1056</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2016-09-19T23:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: IIF function in Dynamic Value table</title>
      <link>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175386#M1057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do need to use the value of domain not the description. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 23:26:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175386#M1057</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2016-09-19T23:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: IIF function in Dynamic Value table</title>
      <link>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175387#M1058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That definitely helps, as I had no clue which one was needed. I will do that ASAP. Thank you so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jennifer D. Stone&lt;/P&gt;&lt;P&gt;Jennifer D. Stone&lt;/P&gt;&lt;P&gt;Tax Map/GIS Technician&lt;/P&gt;&lt;P&gt;Sullivan County Real Property Tax Services&lt;/P&gt;&lt;P&gt;and 911 Addressing Center&lt;/P&gt;&lt;P&gt;Sullivan County Government Center&lt;/P&gt;&lt;P&gt;100 North Street&lt;/P&gt;&lt;P&gt;Monticello, NY 12701&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phone: (845) 807-0224&lt;/P&gt;&lt;P&gt;Fax: (845) 807-0232&lt;/P&gt;&lt;P&gt;Email: jennifer.stone@co.sullivan.ny.us&amp;lt;mailto:jennifer.stone@co.sullivan.ny.us&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disclaimer: The Office of Real Property assumes no responsibility for any errors or omissions in the information provided. Furthermore, the Office of Real Property makes no representation as to the accuracy of the information provided. The Office of Real Property specifically provides this information as is and expressly disclaims responsibility for damages or liability, whatsoever, that may arise from use of the information provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Confidentiality Notice: This e-mail message, including attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message and attachments. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 14:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175387#M1058</guid>
      <dc:creator>JenniferStone</dc:creator>
      <dc:date>2016-09-20T14:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: IIF function in Dynamic Value table</title>
      <link>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175388#M1059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first expression shown below works, no issues. Running it through by iteration helped, thank you, Joe! Michael also let me know that I would need to use the code value and that helped to, thank you! My problem now is that the expression works for BE-HI, as found in the first expression but the towns/villages in the second and third expression do not work, it just gives me a “0”. I tried with and without the rule weights (as shown), neither one works. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jennifer D. Stone&lt;/P&gt;&lt;P&gt;Jennifer D. Stone&lt;/P&gt;&lt;P&gt;Tax Map/GIS Technician&lt;/P&gt;&lt;P&gt;Sullivan County Real Property Tax Services&lt;/P&gt;&lt;P&gt;and 911 Addressing Center&lt;/P&gt;&lt;P&gt;Sullivan County Government Center&lt;/P&gt;&lt;P&gt;100 North Street&lt;/P&gt;&lt;P&gt;Monticello, NY 12701&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phone: (845) 807-0224&lt;/P&gt;&lt;P&gt;Fax: (845) 807-0232&lt;/P&gt;&lt;P&gt;Email: jennifer.stone@co.sullivan.ny.us&amp;lt;mailto:jennifer.stone@co.sullivan.ny.us&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disclaimer: The Office of Real Property assumes no responsibility for any errors or omissions in the information provided. Furthermore, the Office of Real Property makes no representation as to the accuracy of the information provided. The Office of Real Property specifically provides this information as is and expressly disclaims responsibility for damages or liability, whatsoever, that may arise from use of the information provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Confidentiality Notice: This e-mail message, including attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message and attachments. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 19:12:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175388#M1059</guid>
      <dc:creator>JenniferStone</dc:creator>
      <dc:date>2016-09-20T19:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: IIF function in Dynamic Value table</title>
      <link>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175389#M1060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first expression shown below works, no issues. Running it through by iteration helped, thank you, Joe! Michael also let me know that I would need to use the code value and that helped to, thank you! My problem now is that the expression works for BE-HI, as found in the first expression but the towns/villages in the second and third expression do not work, it just gives me a “0”. I tried with and without the rule weights (as shown), neither one works. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jennifer D. Stone&lt;/P&gt;&lt;P&gt;Jennifer D. Stone&lt;/P&gt;&lt;P&gt;Tax Map/GIS Technician&lt;/P&gt;&lt;P&gt;Sullivan County Real Property Tax Services&lt;/P&gt;&lt;P&gt;and 911 Addressing Center&lt;/P&gt;&lt;P&gt;Sullivan County Government Center&lt;/P&gt;&lt;P&gt;100 North Street&lt;/P&gt;&lt;P&gt;Monticello, NY 12701&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phone: (845) 807-0224&lt;/P&gt;&lt;P&gt;Fax: (845) 807-0232&lt;/P&gt;&lt;P&gt;Email: jennifer.stone@co.sullivan.ny.us&amp;lt;mailto:jennifer.stone@co.sullivan.ny.us&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disclaimer: The Office of Real Property assumes no responsibility for any errors or omissions in the information provided. Furthermore, the Office of Real Property makes no representation as to the accuracy of the information provided. The Office of Real Property specifically provides this information as is and expressly disclaims responsibility for damages or liability, whatsoever, that may arise from use of the information provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Confidentiality Notice: This e-mail message, including attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message and attachments. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 19:12:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175389#M1060</guid>
      <dc:creator>JenniferStone</dc:creator>
      <dc:date>2016-09-20T19:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: IIF function in Dynamic Value table</title>
      <link>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175390#M1061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The highest number weight runs first, so the first expression with weight of 1, is overwriting the others. &amp;nbsp;For the last IIF statement, the false condition should be [#] or use the field name [MunicipalID] so if nothing is found, the existing field value is used. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 13:31:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175390#M1061</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2016-09-21T13:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: IIF function in Dynamic Value table</title>
      <link>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175391#M1062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael &amp;amp; Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a bit of playing around with the false condition for the last IIF expression in each IIF statement it works! See below for the statements as they are now. I don’t know that the “Nothing” does anything except leaves it alone because it doesn’t actually change it to Null, but by adding that (instead of ”) it now works. Thank you for all your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jennifer D. Stone&lt;/P&gt;&lt;P&gt;Jennifer D. Stone&lt;/P&gt;&lt;P&gt;Tax Map/GIS Technician&lt;/P&gt;&lt;P&gt;Sullivan County Real Property Tax Services&lt;/P&gt;&lt;P&gt;and 911 Addressing Center&lt;/P&gt;&lt;P&gt;Sullivan County Government Center&lt;/P&gt;&lt;P&gt;100 North Street&lt;/P&gt;&lt;P&gt;Monticello, NY 12701&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phone: (845) 807-0224&lt;/P&gt;&lt;P&gt;Fax: (845) 807-0232&lt;/P&gt;&lt;P&gt;Email: jennifer.stone@co.sullivan.ny.us&amp;lt;mailto:jennifer.stone@co.sullivan.ny.us&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disclaimer: The Office of Real Property assumes no responsibility for any errors or omissions in the information provided. Furthermore, the Office of Real Property makes no representation as to the accuracy of the information provided. The Office of Real Property specifically provides this information as is and expressly disclaims responsibility for damages or liability, whatsoever, that may arise from use of the information provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Confidentiality Notice: This e-mail message, including attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message and attachments. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 16:04:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/iif-function-in-dynamic-value-table/m-p/175391#M1062</guid>
      <dc:creator>JenniferStone</dc:creator>
      <dc:date>2016-09-27T16:04:17Z</dc:date>
    </item>
  </channel>
</rss>

