<?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 Model Builder how generate a choice list from the Coded Value Domains in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-how-generate-a-choice-list-from-the/m-p/1540830#M4028</link>
    <description>&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;I'm trying to create a model builder that generates a choice list in the dialog from the codeds of a geodatabase domain value (in ArcMap 10.8).&lt;/P&gt;&lt;P&gt;I found this &lt;A title="Generating a choice list from a field" href="https://www.esri.com/arcgis-blog/products/arcgis-desktop/analytics/generating-a-choice-list-from-a-field/" target="_blank" rel="noopener"&gt;blog&lt;/A&gt;&amp;nbsp;and I tryed different solutions:&lt;/P&gt;&lt;P&gt;1) generating the choice list from "Properties &amp;gt; Parameters" it works but if a coded value is added, I need to manually add the new value to the list&lt;/P&gt;&lt;P&gt;2) creating a table from the domain using "Domain to table" tool, then following the step in "Generating a choice list from an input feature class/table automatically" section of the blog. The model works if I first create the table from the domain and then execute the model for the list. However, when I try to combine both steps into one model I get the follow error:&lt;/P&gt;&lt;P&gt;ERROR&lt;BR /&gt;updateParameters Execution Error: Runtime error Traceback (most recent call last): File "C:\Users\...\Toolbox.tbx#DropDownList.UpdateParameters.py", line 4, in File "C:\...\Toolbox.tbx#DropDownList.UpdateParameters.py", line 29, in updateParameters File "c:\program files (x86)\arcgis\desktop10.8\arcpy\arcpy\__init__.py", line 1187, in SearchCursor return gp.searchCursor(dataset, where_clause, spatial_reference, fields, sort_fields) File "c:\program files (x86)\arcgis\desktop10.8\arcpy\arcpy\geoprocessing\_base.py", line 361, in searchCursor self._gp.SearchCursor(*gp_fixargs(args, True))) IOError: "%Input_GDB%\_sys" does not exist Click error and warning icons for more information Close Window&lt;/P&gt;&lt;P&gt;updateParameters Execution Error: Runtime error&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Users\...\Toolbox.tbx#DropDownList.UpdateParameters.py", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "C:\Users\..\Toolbox.tbx#DropDownList.UpdateParameters.py", line 29, in updateParameters&lt;BR /&gt;File "c:\program files (x86)\arcgis\desktop10.8\arcpy\arcpy\__init__.py", line 1187, in SearchCursor&lt;BR /&gt;return gp.searchCursor(dataset, where_clause, spatial_reference, fields, sort_fields)&lt;BR /&gt;File "c:\program files (x86)\arcgis\desktop10.8\arcpy\arcpy\geoprocessing\_base.py", line 361, in searchCursor&lt;BR /&gt;self._gp.SearchCursor(*gp_fixargs(args, True)))&lt;BR /&gt;IOError: "%Input_GDB%\_sys" does not exist&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="create_domain.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115546iADBACB0F8709A8D3/image-size/small?v=v2&amp;amp;px=200" role="button" title="create_domain.png" alt="create_domain.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="create list.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115547i6A47D4B5ABA32993/image-size/small?v=v2&amp;amp;px=200" role="button" title="create list.png" alt="create list.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="combine.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115548iAEC14DF07AD441C5/image-size/small?v=v2&amp;amp;px=200" role="button" title="combine.png" alt="combine.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="error.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115549iF77467E9DD6D632B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea how to resolve the error or have another solution?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2024 09:05:43 GMT</pubDate>
    <dc:creator>PaolaBonato</dc:creator>
    <dc:date>2024-09-20T09:05:43Z</dc:date>
    <item>
      <title>Model Builder how generate a choice list from the Coded Value Domains</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-how-generate-a-choice-list-from-the/m-p/1540830#M4028</link>
      <description>&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;I'm trying to create a model builder that generates a choice list in the dialog from the codeds of a geodatabase domain value (in ArcMap 10.8).&lt;/P&gt;&lt;P&gt;I found this &lt;A title="Generating a choice list from a field" href="https://www.esri.com/arcgis-blog/products/arcgis-desktop/analytics/generating-a-choice-list-from-a-field/" target="_blank" rel="noopener"&gt;blog&lt;/A&gt;&amp;nbsp;and I tryed different solutions:&lt;/P&gt;&lt;P&gt;1) generating the choice list from "Properties &amp;gt; Parameters" it works but if a coded value is added, I need to manually add the new value to the list&lt;/P&gt;&lt;P&gt;2) creating a table from the domain using "Domain to table" tool, then following the step in "Generating a choice list from an input feature class/table automatically" section of the blog. The model works if I first create the table from the domain and then execute the model for the list. However, when I try to combine both steps into one model I get the follow error:&lt;/P&gt;&lt;P&gt;ERROR&lt;BR /&gt;updateParameters Execution Error: Runtime error Traceback (most recent call last): File "C:\Users\...\Toolbox.tbx#DropDownList.UpdateParameters.py", line 4, in File "C:\...\Toolbox.tbx#DropDownList.UpdateParameters.py", line 29, in updateParameters File "c:\program files (x86)\arcgis\desktop10.8\arcpy\arcpy\__init__.py", line 1187, in SearchCursor return gp.searchCursor(dataset, where_clause, spatial_reference, fields, sort_fields) File "c:\program files (x86)\arcgis\desktop10.8\arcpy\arcpy\geoprocessing\_base.py", line 361, in searchCursor self._gp.SearchCursor(*gp_fixargs(args, True))) IOError: "%Input_GDB%\_sys" does not exist Click error and warning icons for more information Close Window&lt;/P&gt;&lt;P&gt;updateParameters Execution Error: Runtime error&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Users\...\Toolbox.tbx#DropDownList.UpdateParameters.py", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "C:\Users\..\Toolbox.tbx#DropDownList.UpdateParameters.py", line 29, in updateParameters&lt;BR /&gt;File "c:\program files (x86)\arcgis\desktop10.8\arcpy\arcpy\__init__.py", line 1187, in SearchCursor&lt;BR /&gt;return gp.searchCursor(dataset, where_clause, spatial_reference, fields, sort_fields)&lt;BR /&gt;File "c:\program files (x86)\arcgis\desktop10.8\arcpy\arcpy\geoprocessing\_base.py", line 361, in searchCursor&lt;BR /&gt;self._gp.SearchCursor(*gp_fixargs(args, True)))&lt;BR /&gt;IOError: "%Input_GDB%\_sys" does not exist&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="create_domain.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115546iADBACB0F8709A8D3/image-size/small?v=v2&amp;amp;px=200" role="button" title="create_domain.png" alt="create_domain.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="create list.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115547i6A47D4B5ABA32993/image-size/small?v=v2&amp;amp;px=200" role="button" title="create list.png" alt="create list.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="combine.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115548iAEC14DF07AD441C5/image-size/small?v=v2&amp;amp;px=200" role="button" title="combine.png" alt="combine.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="error.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115549iF77467E9DD6D632B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea how to resolve the error or have another solution?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 09:05:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-how-generate-a-choice-list-from-the/m-p/1540830#M4028</guid>
      <dc:creator>PaolaBonato</dc:creator>
      <dc:date>2024-09-20T09:05:43Z</dc:date>
    </item>
  </channel>
</rss>

