With SSRS we have the brilliant ability to be able to execute reports directly via URL and even export them in a particular format. I've got a report set up which I'm trying to export as an image, which works perfectly.
e.g.:
http://myserver/ReportServer?http://myserver/DynamicImageTest.rdl&Keyword=test&rs:Command=Render&rs:Format=IMAGE&rc:OutputFormat=PNG
However, because SSRS sets the header Content-Disposition: attachment
, my browser always downloads the image, rather than displaying it inline.
I'm trying to embed the generated image somewhere else, so I need to be able to remove or suppress this behaviour.
Any way to do this, either using SSRS' built in URL parameters or some workaround, or will I need to run the report via the web service to do this?