<?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 Optional versus Required GP Parameters for Python Script Tool in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/optional-versus-required-gp-parameters-for-python/m-p/575058#M18982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I published a Python script tool as a GP service in ArcServer.&amp;nbsp; This script has a number of parameters (17 at the moment and possibly more as time goes by).&amp;nbsp; Only two parameters are required.&amp;nbsp; However, when I call the GPService from Silverlight (in C#), I have to specify ALL of the parameters, even the "optional" ones.&amp;nbsp; If I do not pass a value for ALL parameters, the task fails with "ESRI.ArcGIS.Client.Tasks.ServiceException: Error Submitting Job."&amp;nbsp; If I do pass a value for each parameter, the job runs fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's my issue: This service will be called from many Silverlight/ArcServer apps, and I would like to be able to add another optional parameter without breaking every app that calls the service.&amp;nbsp; By adding a parameter, I will be effectively requiring each developer to republish their code to include a parameter their app probably doesn't care about.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I misunderstand the significance of setting a parameter to Optional versus Required?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I will also post this in the Silverlight forum.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any advice/suggestions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2011 15:37:51 GMT</pubDate>
    <dc:creator>RussCoffey</dc:creator>
    <dc:date>2011-08-10T15:37:51Z</dc:date>
    <item>
      <title>Optional versus Required GP Parameters for Python Script Tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/optional-versus-required-gp-parameters-for-python/m-p/575058#M18982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I published a Python script tool as a GP service in ArcServer.&amp;nbsp; This script has a number of parameters (17 at the moment and possibly more as time goes by).&amp;nbsp; Only two parameters are required.&amp;nbsp; However, when I call the GPService from Silverlight (in C#), I have to specify ALL of the parameters, even the "optional" ones.&amp;nbsp; If I do not pass a value for ALL parameters, the task fails with "ESRI.ArcGIS.Client.Tasks.ServiceException: Error Submitting Job."&amp;nbsp; If I do pass a value for each parameter, the job runs fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's my issue: This service will be called from many Silverlight/ArcServer apps, and I would like to be able to add another optional parameter without breaking every app that calls the service.&amp;nbsp; By adding a parameter, I will be effectively requiring each developer to republish their code to include a parameter their app probably doesn't care about.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I misunderstand the significance of setting a parameter to Optional versus Required?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I will also post this in the Silverlight forum.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any advice/suggestions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 15:37:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/optional-versus-required-gp-parameters-for-python/m-p/575058#M18982</guid>
      <dc:creator>RussCoffey</dc:creator>
      <dc:date>2011-08-10T15:37:51Z</dc:date>
    </item>
  </channel>
</rss>

