<?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 How to add map/feature service URL as input parameter for Python Geoprocessing Service. in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-to-add-map-feature-service-url-as-input/m-p/1082802#M25722</link>
    <description>&lt;P&gt;I've created a python toolbox in ArcGIS Pro 2.8 and I published the toolbox as a geoprocessing service on our hosting server.&amp;nbsp; One of the parameters I have defined is for a GPFeatureLayer (see below).&amp;nbsp; I'm able to select the layer in ArcGIS Pro but I get prompted to add the json representation of the layer from ArcGIS Server.&amp;nbsp; I'd like to reference the feature layer by service URL preferably or by an sde connection as a fallback.&amp;nbsp; Is there anyway to pass a service url as the value for the input?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;param3 = arcpy.Parameter(&lt;BR /&gt;displayName="FeatureLayer",&lt;BR /&gt;name="FeatureLayer",&lt;BR /&gt;datatype="GPFeatureLayer",&lt;BR /&gt;parameterType="Required",&lt;BR /&gt;direction="Input")&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 19:52:52 GMT</pubDate>
    <dc:creator>JamesMadden1</dc:creator>
    <dc:date>2021-07-26T19:52:52Z</dc:date>
    <item>
      <title>How to add map/feature service URL as input parameter for Python Geoprocessing Service.</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-add-map-feature-service-url-as-input/m-p/1082802#M25722</link>
      <description>&lt;P&gt;I've created a python toolbox in ArcGIS Pro 2.8 and I published the toolbox as a geoprocessing service on our hosting server.&amp;nbsp; One of the parameters I have defined is for a GPFeatureLayer (see below).&amp;nbsp; I'm able to select the layer in ArcGIS Pro but I get prompted to add the json representation of the layer from ArcGIS Server.&amp;nbsp; I'd like to reference the feature layer by service URL preferably or by an sde connection as a fallback.&amp;nbsp; Is there anyway to pass a service url as the value for the input?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;param3 = arcpy.Parameter(&lt;BR /&gt;displayName="FeatureLayer",&lt;BR /&gt;name="FeatureLayer",&lt;BR /&gt;datatype="GPFeatureLayer",&lt;BR /&gt;parameterType="Required",&lt;BR /&gt;direction="Input")&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 19:52:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-add-map-feature-service-url-as-input/m-p/1082802#M25722</guid>
      <dc:creator>JamesMadden1</dc:creator>
      <dc:date>2021-07-26T19:52:52Z</dc:date>
    </item>
  </channel>
</rss>

