<?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 - generate unique id based on domain value in another field in Water Utilities Questions</title>
    <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147913#M282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately it is not subtyped.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what if both IDs share the same sequence? For example the sequence is B1, B2, B3, R4, R5, R6. If I split R6, I'll get R7. Is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2020 13:57:34 GMT</pubDate>
    <dc:creator>JonKwong1</dc:creator>
    <dc:date>2020-06-24T13:57:34Z</dc:date>
    <item>
      <title>Attribute Assistant - generate unique id based on domain value in another field</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147911#M280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have parcels with different landuse classes: Business, Residential, etc. I would like to generate a unique id when the parcel is being split. However, I need to generate a&amp;nbsp;different id and&amp;nbsp;counter depending on&amp;nbsp;the landuse class. If Business, then generate B1, B2, B3, etc. If Residential, then generate R1, R2, R3, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my progress.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef; height: 50px;"&gt;&lt;TH style="width: 11%; height: 50px;"&gt;Table Name&lt;/TH&gt;&lt;TH style="width: 16%; height: 50px;"&gt;Field Name&lt;/TH&gt;&lt;TH style="width: 13%; height: 50px;"&gt;Value Method&lt;/TH&gt;&lt;TH style="width: 42.4837%; height: 50px;"&gt;Value Info&lt;/TH&gt;&lt;TH style="width: 55.5163%; height: 50px;"&gt;On Create&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 11%; height: 25px;"&gt;Parcel&lt;/TD&gt;&lt;TD style="width: 16%; height: 25px;"&gt;PLOT_ID&lt;/TD&gt;&lt;TD style="width: 13%; height: 25px;"&gt;GENERATE_ID&lt;/TD&gt;&lt;TD style="width: 42.4837%; height: 25px;"&gt;COUNTER_B&lt;/TD&gt;&lt;TD style="width: 55.5163%; height: 25px;"&gt;TRUE&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 11%; height: 25px;"&gt;&lt;SPAN&gt;Parcel&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 16%; height: 25px;"&gt;&lt;SPAN&gt;PLOT_ID&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 13%; height: 25px;"&gt;&lt;SPAN&gt;GENERATE_ID&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 42.4837%; height: 25px;"&gt;&lt;SPAN&gt;COUNTER_R&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 55.5163%; height: 25px;"&gt;&lt;SPAN&gt;TRUE&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 11%; height: 25px;"&gt;&lt;SPAN&gt;Parcel&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 16%; height: 25px;"&gt;&lt;SPAN&gt;PLOT_ID&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 13%; height: 25px;"&gt;EXPRESSION&lt;/TD&gt;&lt;TD style="width: 42.4837%; height: 25px;"&gt;IIf([TYPE]="Business","B" &amp;amp; [PLOT_ID],"")&lt;/TD&gt;&lt;TD style="width: 55.5163%; height: 25px;"&gt;&lt;SPAN&gt;TRUE&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="width: 11%; height: 25px;"&gt;&lt;SPAN&gt;Parcel&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 16%; height: 25px;"&gt;&lt;SPAN&gt;PLOT_ID&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 13%; height: 25px;"&gt;&lt;SPAN&gt;EXPRESSION&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 42.4837%; height: 25px;"&gt;&lt;SPAN&gt;IIf([&lt;/SPAN&gt;&lt;SPAN&gt;TYPE&lt;/SPAN&gt;&lt;SPAN&gt;]="&lt;/SPAN&gt;&lt;SPAN&gt;Residential&lt;/SPAN&gt;&lt;SPAN&gt;","R" &amp;amp; [PLOT_ID],"")&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 55.5163%; height: 25px;"&gt;&lt;SPAN&gt;TRUE&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not figure out how to trigger it. Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 08:39:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147911#M280</guid>
      <dc:creator>JonKwong1</dc:creator>
      <dc:date>2020-06-24T08:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - generate unique id based on domain value in another field</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147912#M281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the layer subtyped by the type? If so you can specify that in the Table Name, such as Parcel|1.  Without that, you cannot use different sequences.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 09:00:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147912#M281</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2020-06-24T09:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - generate unique id based on domain value in another field</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147913#M282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately it is not subtyped.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what if both IDs share the same sequence? For example the sequence is B1, B2, B3, R4, R5, R6. If I split R6, I'll get R7. Is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 13:57:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147913#M282</guid>
      <dc:creator>JonKwong1</dc:creator>
      <dc:date>2020-06-24T13:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - generate unique id based on domain value in another field</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147914#M283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use one seq and put that value in the field and then use an expression to put the proper prefix&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 14:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147914#M283</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2020-06-24T14:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - generate unique id based on domain value in another field</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147915#M284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this, but I am not getting expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="background-color: #ffffff; border: 1px solid #c6c6c6; margin: 0px 0px 2px;" width="100%"&gt;&lt;THEAD style="border: inherit solid inherit; font-weight: inherit;"&gt;&lt;TR style="background-color: #efefef; border: inherit solid inherit; font-weight: inherit;"&gt;&lt;TH class="" style="font-weight: bold; padding: 5px; width: 8%;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Table Name&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="" style="font-weight: bold; padding: 5px; width: 8%;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Field Name&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="" style="font-weight: bold; padding: 5px; width: 13%;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Value Method&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="" style="font-weight: bold; padding: 5px; width: 42.7419%;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Value Info&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="" style="font-weight: bold; padding: 5px; width: 16.2581%;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;On Create&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="" style="font-weight: bold; padding: 5px; width: 18%;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Rule Weight&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="border: inherit solid inherit; font-weight: inherit;"&gt;&lt;TR style="border: inherit solid inherit; font-weight: inherit;"&gt;&lt;TD style="padding: 5px; width: 8%;"&gt;Parcel&lt;/TD&gt;&lt;TD style="padding: 5px; width: 8%;"&gt;PLOT_ID&lt;/TD&gt;&lt;TD style="padding: 5px; width: 13%;"&gt;GENERATE_ID&lt;/TD&gt;&lt;TD style="padding: 5px; width: 42.7419%;"&gt;COUNTER&lt;/TD&gt;&lt;TD style="padding: 5px; width: 16.2581%;"&gt;TRUE&lt;/TD&gt;&lt;TD style="padding: 5px; width: 18%;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit solid inherit; font-weight: inherit;"&gt;&lt;TD style="padding: 5px; width: 8%;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Parcel&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 5px; width: 8%;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;PLOT_ID&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 5px; width: 13%;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;EXPRESSION&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 5px; width: 42.7419%;"&gt;IIf([TYPE]="Business","B" &amp;amp; [PLOT_ID],IIf([TYPE]="Residential","R" &amp;amp; [PLOT_ID]))&lt;/TD&gt;&lt;TD style="padding: 5px; width: 16.2581%;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;TRUE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 5px; width: 18%;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 14:32:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147915#M284</guid>
      <dc:creator>JonKwong1</dc:creator>
      <dc:date>2020-06-24T14:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - generate unique id based on domain value in another field</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147916#M285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Syntax is not complete, iif(statement, what to do when true, what to do when false)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IIf(="Business","B" &amp;amp; ,IIf(="Residential","R" &amp;amp; ,))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 15:37:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147916#M285</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2020-06-24T15:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - generate unique id based on domain value in another field</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147917#M286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. I tried this with the cut polygon tool but I only get the&amp;nbsp;sequence&amp;nbsp;without the prefix.&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="background-color: #ffffff; border: 1px solid #c6c6c6; margin: 0px 0px 2px;" width="100%"&gt;&lt;THEAD style="border: inherit solid inherit; font-weight: inherit;"&gt;&lt;TR style="background-color: #efefef; border: inherit solid inherit; font-weight: inherit;"&gt;&lt;TH class="" style="border: inherit solid inherit; font-weight: bold; padding: 5px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Table Name&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="" style="border: inherit solid inherit; font-weight: bold; padding: 5px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Field Name&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="" style="border: inherit solid inherit; font-weight: bold; padding: 5px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Value Method&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="" style="border: inherit solid inherit; font-weight: bold; padding: 5px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Value Info&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="" style="border: inherit solid inherit; font-weight: bold; padding: 5px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;On Create&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="" style="border: inherit solid inherit; font-weight: bold; padding: 5px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Rule Weight&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="border: inherit solid inherit; font-weight: inherit;"&gt;&lt;TR style="border: inherit solid inherit; font-weight: inherit;"&gt;&lt;TD style="border: inherit solid inherit; padding: 5px;"&gt;Parcel&lt;/TD&gt;&lt;TD style="border: inherit solid inherit; padding: 5px;"&gt;PLOT_ID&lt;/TD&gt;&lt;TD style="border: inherit solid inherit; padding: 5px;"&gt;GENERATE_ID&lt;/TD&gt;&lt;TD style="border: inherit solid inherit; padding: 5px;"&gt;COUNTER&lt;/TD&gt;&lt;TD style="border: inherit solid inherit; padding: 5px;"&gt;TRUE&lt;/TD&gt;&lt;TD style="border: inherit solid inherit; padding: 5px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit solid inherit; font-weight: inherit;"&gt;&lt;TD style="border: inherit solid inherit; padding: 5px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Parcel&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: inherit solid inherit; padding: 5px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;PLOT_ID&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: inherit solid inherit; padding: 5px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;EXPRESSION&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: inherit solid inherit; padding: 5px;"&gt;IIf([TYPE]="Business","B" &amp;amp; [PLOT_ID],IIf([TYPE]="Residential","R" &amp;amp; [PLOT_ID], [PLOT_ID]))&lt;/TD&gt;&lt;TD style="border: inherit solid inherit; padding: 5px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;TRUE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: inherit solid inherit; padding: 5px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 00:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147917#M286</guid>
      <dc:creator>JonKwong1</dc:creator>
      <dc:date>2020-06-25T00:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - generate unique id based on domain value in another field</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147918#M287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need to turn the log file on and see what it says&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 00:52:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147918#M287</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2020-06-25T00:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - generate unique id based on domain value in another field</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147919#M288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The log is very useful. I found my mistake. Accidentally changed the value method. It is working now. Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 01:13:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/147919#M288</guid>
      <dc:creator>JonKwong1</dc:creator>
      <dc:date>2020-06-25T01:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - generate unique id based on domain value in another field</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/1171307#M1830</link>
      <description>&lt;P&gt;This use of the feature class name followed by the subtype number in the Table Name field of the DynamicValue table is an excellent find! I've seen other, less than ideal solutions from ESRI support on how to use different subtypes sequences, but this is the most elegant and easy to implement by far. I just wish it was easier to find in the Attribute Assistant documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 21:23:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-generate-unique-id-based-on/m-p/1171307#M1830</guid>
      <dc:creator>JoeBryant1</dc:creator>
      <dc:date>2022-05-05T21:23:45Z</dc:date>
    </item>
  </channel>
</rss>

