<?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 Creating geoprocessing services for use in ArcGIS Enterprise Portal analysis in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/creating-geoprocessing-services-for-use-in-arcgis/m-p/87117#M3326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm comfortable creating Python scripts to then create geoprocessing services I can use in JS web applications.&amp;nbsp; However, I'm having difficulty creating similar geoprocessing services for use in ArcGIS Enterprise (10.6.1) Portal as a custom analysis tool.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using ArcMap 10.6.1, the script tool used as a basis for the geoprocessing services correctly populates the&amp;nbsp;GPFeatureLayer data type with a list of layers on the map, and the resultant GPFeatureLayer derived output correctly adds to the map when the analysis is complete.&amp;nbsp; But if I share this as a geoprocessing service, and try to run it as custom analysis in Portal...&lt;/P&gt;&lt;P&gt;a. The input layer seems hard coded - I can't choose from available layers on the map&lt;/P&gt;&lt;P&gt;b. Even if I choose the hard coded input layer, all I get in an Error (no resultant layer is added to my web map).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have even a simple example of a script tool used to create a geoprocessing service for use as custom analysis in Portal?&amp;nbsp; Attached in the python I used to create a toolbox for this test case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Sep 2018 14:13:01 GMT</pubDate>
    <dc:creator>Jay_Gregory</dc:creator>
    <dc:date>2018-09-10T14:13:01Z</dc:date>
    <item>
      <title>Creating geoprocessing services for use in ArcGIS Enterprise Portal analysis</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/creating-geoprocessing-services-for-use-in-arcgis/m-p/87117#M3326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm comfortable creating Python scripts to then create geoprocessing services I can use in JS web applications.&amp;nbsp; However, I'm having difficulty creating similar geoprocessing services for use in ArcGIS Enterprise (10.6.1) Portal as a custom analysis tool.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using ArcMap 10.6.1, the script tool used as a basis for the geoprocessing services correctly populates the&amp;nbsp;GPFeatureLayer data type with a list of layers on the map, and the resultant GPFeatureLayer derived output correctly adds to the map when the analysis is complete.&amp;nbsp; But if I share this as a geoprocessing service, and try to run it as custom analysis in Portal...&lt;/P&gt;&lt;P&gt;a. The input layer seems hard coded - I can't choose from available layers on the map&lt;/P&gt;&lt;P&gt;b. Even if I choose the hard coded input layer, all I get in an Error (no resultant layer is added to my web map).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have even a simple example of a script tool used to create a geoprocessing service for use as custom analysis in Portal?&amp;nbsp; Attached in the python I used to create a toolbox for this test case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2018 14:13:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/creating-geoprocessing-services-for-use-in-arcgis/m-p/87117#M3326</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2018-09-10T14:13:01Z</dc:date>
    </item>
  </channel>
</rss>

