<?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 Assign GP Service Parameters Dynamically in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assign-gp-service-parameters-dynamically/m-p/71212#M6324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to be able to assign the GP input parameter from a configuration file, but does not seem to work for me, so I've got this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var params = { "Valuation_ID": ID };
gpReport.submitJob(params, completeCallback , statusCallback,function(error){
... and so on
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and I want the "Valuation_ID" part to be set from a config file, so I've got this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;// Set paramter from config file
var inputParameter = configOptions.reportInputParameter;
var params = { inputParameter: ID };
 gpReport.submitJob(params, completeCallback , statusCallback,function(error){
... and so on
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But that does not pass the input parameter name I have set in a seperate file. Anyone know how to do that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2012 21:36:30 GMT</pubDate>
    <dc:creator>ShaunWeston</dc:creator>
    <dc:date>2012-10-23T21:36:30Z</dc:date>
    <item>
      <title>Assign GP Service Parameters Dynamically</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assign-gp-service-parameters-dynamically/m-p/71212#M6324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to be able to assign the GP input parameter from a configuration file, but does not seem to work for me, so I've got this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var params = { "Valuation_ID": ID };
gpReport.submitJob(params, completeCallback , statusCallback,function(error){
... and so on
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and I want the "Valuation_ID" part to be set from a config file, so I've got this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;// Set paramter from config file
var inputParameter = configOptions.reportInputParameter;
var params = { inputParameter: ID };
 gpReport.submitJob(params, completeCallback , statusCallback,function(error){
... and so on
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But that does not pass the input parameter name I have set in a seperate file. Anyone know how to do that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 21:36:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assign-gp-service-parameters-dynamically/m-p/71212#M6324</guid>
      <dc:creator>ShaunWeston</dc:creator>
      <dc:date>2012-10-23T21:36:30Z</dc:date>
    </item>
  </channel>
</rss>

