<?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: ModelBuilder web tool fails in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/modelbuilder-web-tool-fails/m-p/472074#M18246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - I'm sorry you haven't heard anything here on Geonet, I know it can be hit or miss. I'm not super knowledgeable about this workflow but I can link to a few web pages that discuss this (you likely already ran into these, but can't hurt to share anyway)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/177000"&gt;https://community.esri.com/thread/177000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/170239/how-to-solve-error-000816-the-tool-is-not-valid-with-et-geowizards-tools"&gt;https://gis.stackexchange.com/questions/170239/how-to-solve-error-000816-the-tool-is-not-valid-with-et-geowizards-tools&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://tutel.me/c/gis/questions/247989/esrijobmessagetypeerror+error+000816+the+tool+is+not+valid"&gt;https://tutel.me/c/gis/questions/247989/esrijobmessagetypeerror+error+000816+the+tool+is+not+valid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More importantly, have you tried contacting Esri support about this? They can likely be of much more help if you aren't finding an answer on Geonet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jul 2019 13:13:11 GMT</pubDate>
    <dc:creator>Katie_Clark</dc:creator>
    <dc:date>2019-07-01T13:13:11Z</dc:date>
    <item>
      <title>ModelBuilder web tool fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/modelbuilder-web-tool-fails/m-p/472071#M18243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm starting to learn how to publish web tools from Pro to our portal and have made a simple ModelBuilder tool.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/449681_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tool works just like it should in Pro. However, after I publish it to our portal it always fails and I get the following error;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/449682_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not very descriptive and after searching for about half a day on Google it seems no one has the answer to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running Pro 2.3.3 publishing to Portal for ArcGIS 10.6.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 13:14:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/modelbuilder-web-tool-fails/m-p/472071#M18243</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-06-05T13:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder web tool fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/modelbuilder-web-tool-fails/m-p/472072#M18244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running into the same issue. Very simple model with one parameter.&amp;nbsp; The model simply runs the select by attribute tool and calculates a field. That process is repeated 5 times with different sql selections.&amp;nbsp; Did you ever get help with this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 14:25:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/modelbuilder-web-tool-fails/m-p/472072#M18244</guid>
      <dc:creator>SMW_GIS</dc:creator>
      <dc:date>2019-06-20T14:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder web tool fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/modelbuilder-web-tool-fails/m-p/472073#M18245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, not a peep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 11:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/modelbuilder-web-tool-fails/m-p/472073#M18245</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-07-01T11:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder web tool fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/modelbuilder-web-tool-fails/m-p/472074#M18246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - I'm sorry you haven't heard anything here on Geonet, I know it can be hit or miss. I'm not super knowledgeable about this workflow but I can link to a few web pages that discuss this (you likely already ran into these, but can't hurt to share anyway)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/177000"&gt;https://community.esri.com/thread/177000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/170239/how-to-solve-error-000816-the-tool-is-not-valid-with-et-geowizards-tools"&gt;https://gis.stackexchange.com/questions/170239/how-to-solve-error-000816-the-tool-is-not-valid-with-et-geowizards-tools&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://tutel.me/c/gis/questions/247989/esrijobmessagetypeerror+error+000816+the+tool+is+not+valid"&gt;https://tutel.me/c/gis/questions/247989/esrijobmessagetypeerror+error+000816+the+tool+is+not+valid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More importantly, have you tried contacting Esri support about this? They can likely be of much more help if you aren't finding an answer on Geonet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 13:13:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/modelbuilder-web-tool-fails/m-p/472074#M18246</guid>
      <dc:creator>Katie_Clark</dc:creator>
      <dc:date>2019-07-01T13:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder web tool fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/modelbuilder-web-tool-fails/m-p/472075#M18247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a bug for the tool SelectLayerByLocation published as a web tool from ArcGIS Pro 2.3 to Enterprise 10.6.1. You have two workarounds:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. For SelectLayerByLocation, don't use the tool directly, make a script tool with the following code (You have to include copyfeatures):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;import arcpy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;import os&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer1= arcpy.GetParameterAsText(0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;layer2= arcpy.GetParameterAsText(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;outfc= arcpy.GetParameterAsText(2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;arcpy.management.SelectLayerByLocation(layer1, "INTERSECT", layer2, "", "NEW_SELECTION")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;arcpy.CopyFeatures_management(layer1, outfc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Update ArcGIS Pro and Enterprise to 2.4 and 10.7 respectively, then run your model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2019 21:45:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/modelbuilder-web-tool-fails/m-p/472075#M18247</guid>
      <dc:creator>ShingLin</dc:creator>
      <dc:date>2019-07-02T21:45:57Z</dc:date>
    </item>
  </channel>
</rss>

