Syntax to use Output_File in web map printing service

434
0
02-21-2017 01:51 PM
PitersonPaulgek
New Contributor III

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!

0 Kudos
0 Replies