<?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 Unable to use a published web tool if map contains a raster layer in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/unable-to-use-a-published-web-tool-if-map-contains/m-p/616630#M27419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS Pro v2.6.2&lt;/P&gt;&lt;P&gt;Enterprise 10.71&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever I&amp;nbsp;share a&amp;nbsp;GP result from a custom Python script as a web tool to Portal / ArcGIS Enterprise, if the map contains a raster layer the resulting web tool&amp;nbsp;has no tasks / tools (publishes successfully, no errors or warnings after Analyze)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="510823" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/510823_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I take the raster layer out,&amp;nbsp;run the tool again then republish, the expected task appears&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="510840" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/510840_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The nature of my custom Python script requires the ability to interact with a variety of different layer types within a map, rasters included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To take anything to do with my script out of the equation, I decided to do a test using a built-in GP tool:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;New&amp;nbsp;project &amp;gt; Added a raster layer to a map&lt;/LI&gt;&lt;LI&gt;Raster&amp;nbsp;is within an enterprise geodatabase which is registered with the target portal&lt;/LI&gt;&lt;LI&gt;Ran Raster to ASCII&lt;/LI&gt;&lt;LI&gt;Right click result in History &amp;gt; Share Web Tool&lt;/LI&gt;&lt;LI&gt;Filled in mandatory web tool details&lt;/LI&gt;&lt;LI&gt;Analyze &amp;gt; No errors or warnings&lt;/LI&gt;&lt;LI&gt;Publish &amp;gt;&amp;nbsp;No errors or warnings&lt;/LI&gt;&lt;LI&gt;Clicked on link to mange the web tool&lt;/LI&gt;&lt;LI&gt;On the web tool's details page, no tools a listed under the Tools&amp;nbsp;section&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the above it seems a bug in ArcGIS Pro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate any insight anyone can offer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2020 02:05:35 GMT</pubDate>
    <dc:creator>YvetteFell</dc:creator>
    <dc:date>2020-10-13T02:05:35Z</dc:date>
    <item>
      <title>Unable to use a published web tool if map contains a raster layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/unable-to-use-a-published-web-tool-if-map-contains/m-p/616630#M27419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS Pro v2.6.2&lt;/P&gt;&lt;P&gt;Enterprise 10.71&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever I&amp;nbsp;share a&amp;nbsp;GP result from a custom Python script as a web tool to Portal / ArcGIS Enterprise, if the map contains a raster layer the resulting web tool&amp;nbsp;has no tasks / tools (publishes successfully, no errors or warnings after Analyze)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="510823" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/510823_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I take the raster layer out,&amp;nbsp;run the tool again then republish, the expected task appears&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="510840" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/510840_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The nature of my custom Python script requires the ability to interact with a variety of different layer types within a map, rasters included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To take anything to do with my script out of the equation, I decided to do a test using a built-in GP tool:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;New&amp;nbsp;project &amp;gt; Added a raster layer to a map&lt;/LI&gt;&lt;LI&gt;Raster&amp;nbsp;is within an enterprise geodatabase which is registered with the target portal&lt;/LI&gt;&lt;LI&gt;Ran Raster to ASCII&lt;/LI&gt;&lt;LI&gt;Right click result in History &amp;gt; Share Web Tool&lt;/LI&gt;&lt;LI&gt;Filled in mandatory web tool details&lt;/LI&gt;&lt;LI&gt;Analyze &amp;gt; No errors or warnings&lt;/LI&gt;&lt;LI&gt;Publish &amp;gt;&amp;nbsp;No errors or warnings&lt;/LI&gt;&lt;LI&gt;Clicked on link to mange the web tool&lt;/LI&gt;&lt;LI&gt;On the web tool's details page, no tools a listed under the Tools&amp;nbsp;section&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the above it seems a bug in ArcGIS Pro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate any insight anyone can offer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2020 02:05:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/unable-to-use-a-published-web-tool-if-map-contains/m-p/616630#M27419</guid>
      <dc:creator>YvetteFell</dc:creator>
      <dc:date>2020-10-13T02:05:35Z</dc:date>
    </item>
  </channel>
</rss>

