GibbyAR

Problem with Print Dijit

Discussion created by GibbyAR on Sep 10, 2012
Latest reply on Sep 11, 2012 by GibbyAR
Attempting to use the "Print Dijit Print Templates Created Using esri.request" sample.

Within the init function I have the prescribed code:

var app = {};
      app.printUrl = "http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task";


var printInfo = esri.request({
          "url": app.printUrl,
          "content": { "f": "json" }
        });
        printInfo.then(handlePrintInfo, handleError);

However the "handlePrintInfo" function does not fire. Any ideas why? And yes, I do have the function defined further down in the code.

Thanks!

RGibson

Outcomes