I am currently trying to make the geoprocessing widget output a table. I have published the geoprocessing service and when I set up the widget the way I think it is suppose to work I can hit run and it creates the table on the server ( I can see it if i remote in ). But it just throws an error in flex instead of downloading the dbf. I am not sure if I need to do something on the model side or the flex side. XML output params <outputparams> <param name="task_dbf" label="Output dbf file" required="true" type="datafile" visible="true"/> </outputparams>
I did notice that if I go to the service through a browser and look at the output param in rest services the type is "GPRecordSet". I don't know how to make the type "file" or even if that's what is causing the issue. I know its vague but any help where to start would be great! My goal is to download the dbf upon completion. Thanks