Hello All, I have published a geoprocessing print service using ArcGIS pro on our on premise GIS server. The print service is being called from one of the web application using javascript api as below
let inputParameters: {
Web_Map_as_JSON: string;
Format: string;
Layout_Template: string;
Output_File: string;
} = { Web_Map_as_JSON: jsonstring, Layout_Template: layout, Format: "PDF", Output_File: "TOPO" };
geoProcessor.execute(printURL, inputParameters)
printURL is the url of the print service and jsonstring is generated using the format mentioned here https://enterprise.arcgis.com/en/server/latest/publish-services/windows/exportwebmap-specification.h... .
I am successfully able to generate pdf when my basemap is as below in the
"baseMap": {
"title": "Topo_Map",
"baseMapLayers": [
{
}
]
}
any help on this is much appreciated.
Thanks,
Rauf