AnsweredAssumed Answered

Return value from Python-Tool to geoprocessor.getResultData

Question asked by chrissie on Aug 9, 2017

Hi,

A js-api-script is calling an asynchronous ArcGis-Server-Geoprocessing-Service:

           gp = new Geoprocessor(<url>/GPServer/...");
           gp.submitJob(params, completeCallback, statusCallback, jobFailed);

 

The Geoprocessing-Service executes the Tool "Calculate Value", which contains a Python script.

 

What is the way to send the return-value (String) of the Python-Script back to the completeCallback-Function on Client?

gp.getResultData seems to be the wrong way.

 

Or is there any other posibility to get Access to the return-value in the js ?

 

Thanks, Chris

 

 

Outcomes