Reporting services 在SSRS中将值传递给URL,并在新窗口中打开URL

Reporting services 在SSRS中将值传递给URL,并在新窗口中打开URL,reporting-services,Reporting Services,我正在尝试使用以下方法打开一个新窗口,同时向url传递一些值。我是新手,所以我猜这是次要的 ="javascript:void(window.open('https://website.com/Move/Closeout.aspx?cusid=" & Fields!CustomerID.Value & "&soid=" & Fields!SalesorderID.Value', '_blank'))" 在报告中,该链接甚至没有显示为链接,当我单击它时,什么也没有

我正在尝试使用以下方法打开一个新窗口,同时向url传递一些值。我是新手,所以我猜这是次要的

="javascript:void(window.open('https://website.com/Move/Closeout.aspx?cusid=" & Fields!CustomerID.Value & "&soid=" & Fields!SalesorderID.Value', '_blank'))"

在报告中,该链接甚至没有显示为链接,当我单击它时,什么也没有发生。

您需要将url设置为导航链接。因此,您的字段表达式将只是
字段!CustomerID.Value
然后右键单击单元格,选择
文本框属性…
然后选择
操作
。选择
转到URL
单选按钮并在其中输入javascript表达式:

="javascript:void(window.open('https://website.com/Move/Closeout.aspx?cusid=" & Fields!CustomerID.Value & "&soid=" & Fields!SalesorderID.Value', '_blank'))"
这将使单元格中显示的CustomerID变成可单击的链接

我还将
字体
颜色
更改为
蓝色
,表示它是一个链接