AnsweredAssumed Answered

GeoEnrichment Service - Create Report

Question asked by doncav on May 28, 2014
Latest reply on May 10, 2018 by jgalang
I am working with the Create Report functionality of the GeoEnrichment service and I have run into an issue I'm not sure how to solve.  I can make the request to create the report using the esri.request class.  I am successful in submitting and generating the a pdf report, however I'm not sure how to display the pdf.  The result is a report is encoded as a binary byte-stream.

The result of the CreateReport method is a binary byte-stream where the PDF or Excel report are returned directly. The calling application will have to handle the response and present and/or save the binary output.


Does anyone know or can point me in the right direction as to how I can display this pdf in a browser window. I have been unable to locate any documentation in any of the Esri help for the GeoEnrichment or JavaScript API.

Outcomes