AnsweredAssumed Answered

Syntax to use Output_File in web map printing service

Question asked by piterpaulppp on Feb 21, 2017

Hi,

 

We created additional printing service for web map.

 

We try to set parameter for file output name.

 

We cannot figure out how to use a parameter found in  ArcGIS REST Services Directory:

Parameter:

      Output_File

   Data Type:

        GPDataFile

Display Name

        Output File

Description:

        Output file name. The extension of the file depends on the output file format.

Direction:

        esriGPParameterDirectionOutput

Default Value:
Parameter Type:

        esriGPParameterTypeRequired

Category:

 

in Javascript we do

var params = new PrintParameters();

params.extraParameters = [{ "Output_File": "C:\\arcgisserver\\directories\\arcgisjobs\\OUR_PRINTING_SERVICE_GP_NAME\\Test123.png" }];

 

It has no effect - output file has a random uniq name.

 

Any help will be greatly appreciated!

Outcomes