<?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 Parameter question RE: Publishing a python script from ArcGIS Pro to ArcGIS Server. in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/parameter-question-re-publishing-a-python-script/m-p/1175705#M55352</link>
    <description>&lt;P&gt;First, I'd like to confirm that this is the documentation I should start with;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/share-analysis/publishing-geoprocessing-services-in-a-python-script.htm" target="_blank"&gt;Publish geoprocessing services in a Python script—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How I intend for the geoprocessing service to be used is for Execute or SubmitJob to be called with a json POST that contains the parameters. (In contrast, I am not going to ingest the gp service in a web application where a popup supplies the parameters. That is the model I see most people following.) In ArcGIS Pro, I have to run the script to publish it, but I don't see a way to pass the script a json in a similar manner. If I am supposed to set up parameters when I create the script, how would Execute/SubmitJob know how to map the json parameters to the parameters that I defined in the script? Is it enough for them to be the same names?&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2022 19:31:46 GMT</pubDate>
    <dc:creator>JohnShupeMM</dc:creator>
    <dc:date>2022-05-19T19:31:46Z</dc:date>
    <item>
      <title>Parameter question RE: Publishing a python script from ArcGIS Pro to ArcGIS Server.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/parameter-question-re-publishing-a-python-script/m-p/1175705#M55352</link>
      <description>&lt;P&gt;First, I'd like to confirm that this is the documentation I should start with;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/share-analysis/publishing-geoprocessing-services-in-a-python-script.htm" target="_blank"&gt;Publish geoprocessing services in a Python script—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How I intend for the geoprocessing service to be used is for Execute or SubmitJob to be called with a json POST that contains the parameters. (In contrast, I am not going to ingest the gp service in a web application where a popup supplies the parameters. That is the model I see most people following.) In ArcGIS Pro, I have to run the script to publish it, but I don't see a way to pass the script a json in a similar manner. If I am supposed to set up parameters when I create the script, how would Execute/SubmitJob know how to map the json parameters to the parameters that I defined in the script? Is it enough for them to be the same names?&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 19:31:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/parameter-question-re-publishing-a-python-script/m-p/1175705#M55352</guid>
      <dc:creator>JohnShupeMM</dc:creator>
      <dc:date>2022-05-19T19:31:46Z</dc:date>
    </item>
  </channel>
</rss>

