Skip to content

Instantly share code, notes, and snippets.

@tahaipek
Last active December 13, 2017 13:06
Show Gist options
  • Save tahaipek/874c3cf43a5f57a492af2a88ac25d813 to your computer and use it in GitHub Desktop.
Save tahaipek/874c3cf43a5f57a492af2a88ac25d813 to your computer and use it in GitHub Desktop.
#Word || .doc
http://{ReportServerUrl}/ReportServer?/PublicReport/{ReportFileName}&rs:Command=Render&rs:Format=Word&{ReportFileParameter etc.}
MimeType / ContentType = application/msword
#Word || .docx
http://{ReportServerUrl}/ReportServer?/PublicReport/{ReportFileName}&rs:Command=Render&rs:Format=WORDOPENXML&{ReportFileParameter etc.}
MimeType / ContentType = application/vnd.openxmlformats-officedocument.wordprocessingml.document
#Excel || .xls (XLS specification => Maximum Row Count 65534 ) (https://docs.microsoft.com/en-us/sql/reporting-services/report-builder/exporting-to-microsoft-excel-report-builder-and-ssrs)
http://{ReportServerUrl}/ReportServer?/PublicReport/{ReportFileName}&rs:Command=Render&rs:Format=Excel&{ReportFileParameter etc.}
MimeType / ContentType = application/vnd.ms-excel
#Excel || .xlsx
http://{ReportServerUrl}/ReportServer?/PublicReport/{ReportFileName}&rs:Command=Render&rs:Format=EXCELOPENXML&{ReportFileParameter etc.}
MimeType / ContentType = application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
#CSV || .csv
http://{ReportServerUrl}/ReportServer?/PublicReport/{ReportFileName}&rs:Command=Render&rs:Format=CSV&{ReportFileParameter etc.}
MimeType / ContentType = application/octet-stream
#Pdf
http://{ReportServerUrl}/ReportServer?/PublicReport/{ReportFileName}&rs:Command=Render&rs:Format=Pdf&{ReportFileParameter etc.}
MimeType / ContentType = application/pdf
#XML
http://{ReportServerUrl}/ReportServer?/PublicReport/{ReportFileName}&rs:Command=Render&rs:Format=XML&{ReportFileParameter etc.}
MimeType / ContentType = text/xml
#MHTML
http://{ReportServerUrl}/ReportServer?/PublicReport/{ReportFileName}&rs:Command=Render&rs:Format=MHTML&{ReportFileParameter etc.}
MimeType / ContentType = message/rfc822
#HTML4.0
http://{ReportServerUrl}/ReportServer?/PublicReport/{ReportFileName}&rs:Command=Render&rs:Format=HTML4.0&{ReportFileParameter etc.}
MimeType / ContentType = text/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment