My one remaining limitation is figure out how to pass the path to the generated PDF back so the client can download it.
function completeCallback(jobInfo){ if(jobInfo.jobStatus !== "esriJobFailed"){ gp.getResultData(jobInfo.jobId,"Output_Zip_File", downloadFile); } } function downloadFile(outputFile){ map.graphics.clear(); var theurl = outputFile.value.url; window.location = theurl; }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.