<?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: Possible to provide inputs to geoprocessing service via URL in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-provide-inputs-to-geoprocessing/m-p/812815#M2533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to add url parameters to the execute on the GP service?&amp;nbsp; Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ttps://mydomain.com/[ArcGISServer name]/rest/services/[folder name]/[GP Service name]/GPServer/GP service task name]/execute?InputParam1=somevalue&amp;amp;InputParam2=somevalue&amp;amp;env%3AoutSR=&amp;amp;env%3AprocessSR=&amp;amp;returnZ=false&amp;amp;returnM=false&amp;amp;f=json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are those 2 input parameters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Dec 2017 20:13:18 GMT</pubDate>
    <dc:creator>JamesCrandall</dc:creator>
    <dc:date>2017-12-01T20:13:18Z</dc:date>
    <item>
      <title>Possible to provide inputs to geoprocessing service via URL</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-provide-inputs-to-geoprocessing/m-p/812814#M2532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a geoprocessing service by creating a tool from a python script, then running the tool in ArcCatalog on our server, and then Share As&amp;gt;Geoprocessing Service on the results in the Geoprocessing&amp;gt;Results window. The service was successfully created because I can see it in Server Manager.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tool takes two inputs and outputs a file to a specified file path on the server, but I'm wondering if I can provide those inputs using query strings in the URL it created to the service. If not, how is the tool supposed to be given inputs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS Server 10.1 and Windows Server 2008.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 23:22:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-provide-inputs-to-geoprocessing/m-p/812814#M2532</guid>
      <dc:creator>DevonCanady</dc:creator>
      <dc:date>2017-11-28T23:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to provide inputs to geoprocessing service via URL</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-provide-inputs-to-geoprocessing/m-p/812815#M2533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to add url parameters to the execute on the GP service?&amp;nbsp; Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ttps://mydomain.com/[ArcGISServer name]/rest/services/[folder name]/[GP Service name]/GPServer/GP service task name]/execute?InputParam1=somevalue&amp;amp;InputParam2=somevalue&amp;amp;env%3AoutSR=&amp;amp;env%3AprocessSR=&amp;amp;returnZ=false&amp;amp;returnM=false&amp;amp;f=json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are those 2 input parameters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 20:13:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-provide-inputs-to-geoprocessing/m-p/812815#M2533</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-12-01T20:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to provide inputs to geoprocessing service via URL</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-provide-inputs-to-geoprocessing/m-p/812816#M2534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, once I was able to go to the "Submit Job" page of the GP service I could provide input parameters either through the textboxes of the web page or through the URL query string. The two input parameters are a GUID for a job and a file path. The problem now is that it fails execution with out giving an error message, I suspect it might be because of the URL encoding of the file path. Do you know if you can provide a file path as a parameter via a query string?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 15:37:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-provide-inputs-to-geoprocessing/m-p/812816#M2534</guid>
      <dc:creator>DevonCanady</dc:creator>
      <dc:date>2017-12-19T15:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to provide inputs to geoprocessing service via URL</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-provide-inputs-to-geoprocessing/m-p/812817#M2535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added a possible solution to your post in the Python forum section.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 18:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-provide-inputs-to-geoprocessing/m-p/812817#M2535</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-12-19T18:24:07Z</dc:date>
    </item>
  </channel>
</rss>

