{ "name": "ExportWebMap", "displayName": "Export Web Map", "description": "Geoprocessing tool that facilitates printing from web applications.", "category": "", "helpUrl": "https://gis.cityoffargo.com/arcgis/rest/directories/arcgisoutput/FargoLayoutTemplates/FargoPrintLayouts_GPServer/FargoLayoutTemplates_FargoPrintLayouts/ExportWebMap.htm", "executionType": "esriExecutionTypeSynchronous", "parameters": [ { "name": "Web_Map_as_JSON", "dataType": "GPString", "displayName": "Web Map as JSON", "description": "A JSON representation of the state of the map to be exported as it appears in the web application. See the ExportWebMap specification to understand how this text should be formatted. The ArcGIS web APIs (for JavaScript, Flex, Silverlight, and so on) allow developers to easily get this JSON string from the map.", "direction": "esriGPParameterDirectionInput", "defaultValue": "#", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Output_File", "dataType": "GPDataFile", "displayName": "Output File", "description": "The output file name. The extension of the file depends on the Format parameter.", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Format", "dataType": "GPString", "displayName": "Format", "description": "The format in which the map image for printing will be delivered.8-bit Portable Network Graphics (PNG8)\u20148-bit Portable Network Graphics (PNG8). This is the default.Portable Document Format (PDF)\u2014Portable Document Format (PDF)32-bit Portable Network Graphics (PNG32)\u201432-bit Portable Network Graphics (PNG32)Joint Photographic Experts Group (JPG)\u2014 Joint Photographic Experts Group (JPG)Graphics Interchange Format (GIF)\u2014 Graphics Interchange Format (GIF)Encapsulated PostScript (EPS)\u2014 Encapsulated PostScript (EPS)Scalable Vector Graphics (SVG)\u2014Scalable Vector Graphics (SVG)Compressed Scalable Vector Graphics (SVGZ)\u2014Compressed Scalable Vector Graphics (SVGZ)The background of the output file is always opaque.", "direction": "esriGPParameterDirectionInput", "defaultValue": "PDF", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "PDF", "PNG32", "PNG8", "JPG", "GIF", "EPS", "SVG", "SVGZ" ] }, { "name": "Layout_Template", "dataType": "GPString", "displayName": "Layout Template", "description": "Either a name of a template from the list or the keyword MAP_ONLY. When MAP_ONLY is chosen or an empty string is passed in, the output map does not contain any page layout elements like titles, legends, or scale bars, for example.", "direction": "esriGPParameterDirectionInput", "defaultValue": "PrintPortrait85x11", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "PrintLandscape11x17", "PrintLandscape85x11", "PrintPortrait11x17", "PrintPortrait85x11", "MAP_ONLY" ] } ] }