设置报告参数时如何显示完整的 URL

发布于 2024-09-28 22:47:43 字数 662 浏览 0 评论 0原文

我有一个报表(在 SQL Server Reporting Services 2008 中),它有多个参数,但运行良好。然而,我的一位用户(当然是我的老板)希望能够使用他们指定的参数通过电子邮件发送指向报告的链接。他们不想发送报告本身,而只想发送报告的链接。但是,当您设置参数值并单击“查看报告”时,浏览器中显示的 URL 不包含查询字符串中的参数值(只是默认报告路径),因此实际上并不可用。

我知道此功能是可能的,因为如果我添加对报告的订阅,并选中“包含链接”复选框,我会收到一封电子邮件,其中包含如下链接:

http://servername/ReportServer/Pages /ReportViewer.aspx?%2fRoot+Action+Analysis&ShowChart=2&sPN=&iDept=All&rs%3aParameterLanguage=en-US

是否存在可以更改以显示完整 URL 的服务器设置(当用户生成新报告时? 预先感谢!

I have a report (in SQL Server Reporting Services 2008) that has multiple parameters, but works very well. However, one of my users (my boss, of course) wants to be able to e-mail a link to the report using the parameters they have specified. They do not want to send the report itself, but just a link to it. However, as you set parameter values and click "View Report", the URL shown in the browser does not contain the parameter values in the querystring (just the default report path), and therefore is not really usable.

I know that this functionality is possible, because if I add a subscription to the report, and check the "include link" checkbox, I get an e-mail with a link like this:

http://servername/ReportServer/Pages/ReportViewer.aspx?%2fRoot+Action+Analysis&ShowChart=2&sPN=&iDept=All&rs%3aParameterLanguage=en-US

Is there a server setting that could be changed to show the FULL URL (with parameters) as users generate new reports?
Thank in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

少女情怀诗 2024-10-05 22:47:43

我不知道如何更改设置以便显示完整的 URL。

作为解决方法,您可以在报表底部添加一个文本框,并通过连接 Globals!ReportServerURL、Globals!ReportFolder、Globals!ReportName、Globals!Language 和各种参数,在表达式中自行构建 URL。

I don't know how to change the settings so that the full URL is shown.

As a workaround you could add a textbox to the bottom of your report, and build the URL yourself in an expression by concatenating Globals!ReportServerURL, Globals!ReportFolder, Globals!ReportName, Globals!Language and your various Parameters.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文