<?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: Issues with feature layers in model builder in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771305#M1362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a document about this issue and known fixes:&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-12879"&gt;Missing Layer Pick Lists In Geoprocessing Tool Dialogs&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2019 18:44:42 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2019-01-23T18:44:42Z</dc:date>
    <item>
      <title>Issues with feature layers in model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771299#M1356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been having increasing issues model builder that utilizes model parameters as inputs and feature layers in an existing ArcMap table of contents.&amp;nbsp; I models run successfully for a while, but then if I change the underlying input layers at all (even if if has no impact on the model process), it acts flaky.&amp;nbsp; For example, I have a simple model that simply calculates three fields in an existing feature class that I have loaded in ArcMap.&amp;nbsp; The input feature layer is exposed as parameter, but I have a default value set.&amp;nbsp; It worked fine may times, but now when I run it, I get a message that there are no records in the table (even though there are).&amp;nbsp; To make it work now, instead of using default or picking from list of ArcMap TOC items, I have to point the input to the feature class by loading the feature class directly in the tool interface (i.e. hitting the little folder icon and navigating to the where feature class is stored).&amp;nbsp; If I do that it works fine. he attached images show the simple model, model interface, and message I am getting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is happening in other cases where I have more complex models that have input as parameters, and that have pick lists of fields based on the selected feature class.&amp;nbsp; Im finding if I add fields to a certain layer and then run the model and pick the feature class, it does see the new fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like something about the models is storing memory of previous runs related to feature layers loaded in the ArcMap document. I have tried closing out ArcMap sessions, cleaning temporary file locations, using MXD doctor, and similar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input on what may be happening would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Simple Model" class="image-4 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/243854_SimpleModel.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Simple Model Interface" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/243849_SimpleModelInterface.jpg" style="width: 620px; height: 401px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Simple Model Error" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/243850_SimpleModelError.jpg" style="width: 620px; height: 403px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 12:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771299#M1356</guid>
      <dc:creator>NealBanerjee</dc:creator>
      <dc:date>2016-10-12T12:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with feature layers in model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771300#M1357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;export your model to a script so that it can be examined.&lt;/P&gt;&lt;P&gt;Modelbuilder is nice... but flakeyness can only be assessed by examining the underlying code.&lt;/P&gt;&lt;P&gt;Post here, using the syntax highlighting (python) by following the 3 dots ( . . .) on the toolbar of your reply, then past the code in&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 14:48:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771300#M1357</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-12T14:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with feature layers in model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771301#M1358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 10.4.1 and experience similar issues. A geoprocessing tool simply stops accepting layers from the TOC and then you have to access the data from it's featureclass. In some cases I can live with that but other times I want to apply what ever I am doing on the selection, but if I can't access the layer then well...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only solution to this behavior is to close down ArcMap and restart. Interestingly I have not observed this behaviour for some time so it makes me think it's some sort of compatibility issue with accessing tools/models/mxds that were created in 10.3..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 16:00:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771301#M1358</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2016-10-20T16:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with feature layers in model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771302#M1359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been seeing this behavior also with 10.4.1. After ArcMap restart, models can see the layers again.&lt;/P&gt;&lt;P&gt;I'm really hoping it gets fixed in 10.5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2016 02:16:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771302#M1359</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2016-10-29T02:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with feature layers in model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771303#M1360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This weird behaviour is manifesting itself again but I have tracked down when it occurs. It occurs after I have gone into the item description of a model/script tool and added some info (e.g. guidance on the parameters).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then ANY geo-processing tool/model/script looses its ability to access layers in the mxd. Restarting ArcMap is the only option to continue...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2016 15:00:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771303#M1360</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2016-10-29T15:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with feature layers in model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771304#M1361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have repro' this behavior totally outside of model builder and have submitted an incident to Esri:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#01848371 ArcMap Tools do not recognize layers after metadata edit session&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;UPDATE: bug recorded (ArcGIS 10.4.1 [all data types] and ArcGIS 10.5 pre-release alpha 2 [gdb, not shapefile]&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEwMDU3Mg=="&gt;BUG-000100572&lt;/A&gt;: Input drop down choices in geoprocessing tools are not available after editing or saving metadata.]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my script to repro the problem with 10.4.1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;1. Open ArcMap&lt;/SPAN&gt;&lt;BR style="color: #333333; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;2. Add feature layer to map&lt;/SPAN&gt;&lt;BR style="color: #333333; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;3. Search for Copy Features tool and load dialog&lt;/SPAN&gt;&lt;BR style="color: #333333; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;4. Click on input, layers appear in pick list&lt;/SPAN&gt;&lt;BR style="color: #333333; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;5. In Catalog window, right click a feature class, open Item Description, Edit, save, exit&lt;/SPAN&gt;&lt;BR style="color: #333333; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;6. Search for Copy Features tool and load dialog&lt;/SPAN&gt;&lt;BR style="color: #333333; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;7. layers do NOT appear in pick list&lt;/SPAN&gt;&lt;BR style="color: #333333; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;8. Save map doc, restart Arcmap&lt;/SPAN&gt;&lt;BR style="color: #333333; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;9. Open Copy Features tool&lt;/SPAN&gt;&lt;BR style="color: #333333; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;10. Layers appear again in pick list&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 22:02:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771304#M1361</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2016-11-01T22:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with feature layers in model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771305#M1362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a document about this issue and known fixes:&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-12879"&gt;Missing Layer Pick Lists In Geoprocessing Tool Dialogs&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 18:44:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/issues-with-feature-layers-in-model-builder/m-p/771305#M1362</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2019-01-23T18:44:42Z</dc:date>
    </item>
  </channel>
</rss>

