设置报告参数时如何显示完整的 URL
我有一个报表(在 SQL Server Reporting Services 2008 中),它有多个参数,但运行良好。然而,我的一位用户(当然是我的老板)希望能够使用他们指定的参数通过电子邮件发送指向报告的链接。他们不想发送报告本身,而只想发送报告的链接。但是,当您设置参数值并单击“查看报告”时,浏览器中显示的 URL 不包含查询字符串中的参数值(只是默认报告路径),因此实际上并不可用。
我知道此功能是可能的,因为如果我添加对报告的订阅,并选中“包含链接”复选框,我会收到一封电子邮件,其中包含如下链接:
是否存在可以更改以显示完整 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:
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道如何更改设置以便显示完整的 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.