<?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: Iterator in the model doesn't add outputs in the Contents in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586020#M25825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried Collect Values and it did work as how I wanted!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much &lt;IMG class="jive_emoji" src="https://community.esri.com/images/emojis/1f44d.png" /&gt;&lt;IMG class="jive_emoji" src="https://community.esri.com/images/emojis/1f60a.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2020 02:47:30 GMT</pubDate>
    <dc:creator>hm_stella</dc:creator>
    <dc:date>2020-10-13T02:47:30Z</dc:date>
    <item>
      <title>Iterator in the model doesn't add outputs in the Contents</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586018#M25823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all geog folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a problem in using the model builder of ArcGIS Pro. I made a very simple model using the iterator (Iterate Feature Selection). It seems working good - I got all outputs saved in the gdb and everything opened well. However, the thing is that having listed those outputs on the Contents is not available.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could only see that the very first outputs are on the Contents while the rest is just saved in the gdb. I want all of my results showing on the Contents. Please give me a hand if anyone knows how to fix this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/510829_img.PNG" /&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2020 01:01:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586018#M25823</guid>
      <dc:creator>hm_stella</dc:creator>
      <dc:date>2020-10-13T01:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator in the model doesn't add outputs in the Contents</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586019#M25824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't use modelbuilder but it seems&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/modelbuilder-toolbox/collect-values.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/modelbuilder-toolbox/collect-values.htm"&gt;Collect Values (ModelBuilder)—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;might be worth a look&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Tool outputs that are&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A class="" href="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/model-parameters.htm" style="color: #0074b8; background-color: #ffffff; text-decoration: none;"&gt;model parameters&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;are added to the map display using the variable name. If you are using an iterator in the model and want to add the outputs of all the iterations to display in the map with the actual unique output name instead of the name of the variable, connect the output to be displayed to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Collect Value&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tool, right-click the output of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Collect Value&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;, and make it a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A class="" href="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/model-parameters.htm" style="color: #0074b8; background-color: #ffffff; text-decoration: none;"&gt;model parameter&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2020 01:58:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586019#M25824</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-10-13T01:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator in the model doesn't add outputs in the Contents</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586020#M25825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried Collect Values and it did work as how I wanted!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much &lt;IMG class="jive_emoji" src="https://community.esri.com/images/emojis/1f44d.png" /&gt;&lt;IMG class="jive_emoji" src="https://community.esri.com/images/emojis/1f60a.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2020 02:47:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586020#M25825</guid>
      <dc:creator>hm_stella</dc:creator>
      <dc:date>2020-10-13T02:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator in the model doesn't add outputs in the Contents</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586021#M25826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN style="color: #404040;"&gt;Hello&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit;"&gt;Hyun-min Joo,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 15px;"&gt;Which version of the product are you using?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 15px;"&gt;Add to Display works to add all the outputs from the Iterator if the Add to Display flag is set before and the tool is run after that. If it is not adding all the outputs then it could be a bug.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;We have a known limitation that if you run first and then go back to the model and set the add to display on, on the output of the iterator it will add the output only from the last iteration. Is this the case you see?&lt;/LI&gt;&lt;LI&gt;Also, Collect Values is a good way as Dan pointed out.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #404040; font-size: 15px; "&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; font-size: 15px; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2020 23:08:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586021#M25826</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2020-10-14T23:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator in the model doesn't add outputs in the Contents</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586022#M25827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shitij Mehta!&lt;/P&gt;&lt;P&gt;I am using the latest version of ArcGIS Pro. I selected to Add to Display options for all the outputs I would have, saved the model, and ran it. It obviously makes the results, but only when I am running it in model builder tab. Every time I use the model as Geoprocessing tool, it doesn't bring every single result from the gdb as the path I set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried Collect Values Dan suggested, and it perfectly worked out. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2020 05:00:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586022#M25827</guid>
      <dc:creator>hm_stella</dc:creator>
      <dc:date>2020-10-15T05:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Iterator in the model doesn't add outputs in the Contents</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586023#M25828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I see. Yes, Add to Display only works when run from within a model. If you want to add something to display when a model tool is run from a tool dialog it has to be a parameter. Iterator case is unique, it runs all iterations internally and then when the whole model is done running it adds the final output to display when run from model tool dialog (gp pane)&lt;/P&gt;&lt;P&gt;Output from an iterator is a single value and hence can only add a single output in the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Collect value does is - it collects all the outputs from all iteration and then adds all of them together at the end since it is a multivalue output and has knowledge of all the outputs.&lt;BR /&gt;&lt;BR /&gt;I am glad you are using the Collect Value tool.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2020 17:11:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/iterator-in-the-model-doesn-t-add-outputs-in-the/m-p/586023#M25828</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2020-10-15T17:11:50Z</dc:date>
    </item>
  </channel>
</rss>

