Web-based geoprocessingresults to Excel spreadsheet

Discussion created by blekros on Mar 6, 2013
Latest reply on Mar 6, 2013 by khibma-esristaff
I need a strategy to create an and return an Excel spreadsheet as the result of a web-initiated GeoProcessing tool.   It feels like a common problem that has probably been solved already.

Would one process the result on the web-client (javascript) to create rows in a spreadsheet or CSV, or put the result, say a table in an in_memory workspace, then write python to create an Excel file from the geoprocessing result on the server.   If I used the python way, how do I stream it back to the client?  Use native python web-api?

Or would I have the javascript client initiate the GP task, and when notified of completion, send another AJAX request to fetch the Excel result from a web-service, say ASP.Net or Django?

Need some patterns to play with!