简体   繁体   English

通过URL通过参数传递参数调用SSRS

[英]Call SSRS by URL pass parameter by label

There is a SSRS report, with one parameter, I only know its label not the values. 有一个SSRS报告,带有一个参数,我只知道它的标签而不是值。 So how can I get the report by URL? 那么如何通过URL获取报告? I know how to render a report with all the parameters set by defaults to Excel. 我知道如何使用默认设置为Excel的所有参数来呈现报告。 But this report has the parameter not set to default, so I have to manually select a value then run in report manager. 但是此报告的参数未设置为默认值,因此我必须手动选择一个值,然后在报告管理器中运行。 And important thing is I don't know the available values for this parameter as I have only browser permission. 重要的是我不知道该参数的可用值,因为我只有浏览器权限。 So can't download rdl, can see the parameters etc as you can imagine. 因此无法下载rdl,无法像您想象的那样看到参数等。 The url method seems only allow you to pass parameter value not parameter label. url方法似乎仅允许您传递参数值,而不传递参数标签。 So is there anyway? 那有吗?

No, there is no way to do that. 不,没有办法做到这一点。 You must use the parameter value in the URL, you cannot use the label (unless value and label happen to be the same). 您必须在URL中使用参数 ,而不能使用标签(除非值和标签碰巧相同)。

If you don't have access to the report definition then you will need to find someone who does, who can then find where the parameter values are defined and tell you what they are. 如果您无权访问报告定义,那么您将需要找到一个人,然后才能找到定义参数值的位置并告诉您它们是什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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