简体   繁体   中英

How to export SSRS report to PDF using URL Access from PowerBI Report Server?

Assume I have a PowerBI report server at the following version: PowerBI Report Server Version: 1.5.7074.36177 (May 2019)

Assume I have a report at a URL like the following that will run in a browser with no params: https://<HOST>/<VIR_DIR>/report/<MY_REPORTS>/Report%20On%20Stuff

I'd like to use URL Access as a means to export a report to PDF rather than opening in a browser.

The following URL results in a redirect to the top-level reports folder with no PDF exported: https://<HOST>/<VIR_DIR>?/report/<MY_REPORTS>/Report%20On%20Stuff&rs:Format=PDF

I also tried this variation of the URL, which also results in a redirect to the top-level reports folder with no PDF exported: https://<HOST>/<VIR_DIR>/report?/<MY_REPORTS>/Report%20On%20Stuff&rs:Format=PDF

And this variation of the URL, which redirects to what appears to be a directory listing of reports in the <MY_REPORTS> folder (again with no PDF): https://<HOST>/<VIR_DIR>/report/<MY_REPORTS>?/Report%20On%20Stuff&rs:Format=PDF

您可能想尝试可用的替代 URL 语法,因为您的示例都没有采用这种格式,而且它是我一直用于 SSRS 导出的格式:

https://servername/ReportServer_THESQLINSTANCE/Pages/ReportViewer.aspx?%2freportfolder%2freport+name+with+spaces&rs:Format=PDF

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM