admin管理员组文章数量:1325332
I'm having some trouble making a data cell in an SSRS matrix clickable to go to a URL, passing parameters.
I've done this many times before, but something about this expression is keeping the cells from being clickable.
Here's the expression I have under the "Go to URL" action in "Placeholder Properties":
="javascript:void(window.open('http://Server/ReportServer/Pages/ReportViewer.aspx?%2fParent%2fDashboardDetail&Resolved=" + Parameters!Resolved.Value + "&Contact=" + Parameters!Contact.Value + "&Category=" + Fields!Category.Value + "&Range=" + Fields!Range.Value + "', '_blank'))"
I've passed through multiple parameters using this same template with no issues. However, when I run this report, it runs fine, but the cells don't hyperlink.
Thanks!
I'm having some trouble making a data cell in an SSRS matrix clickable to go to a URL, passing parameters.
I've done this many times before, but something about this expression is keeping the cells from being clickable.
Here's the expression I have under the "Go to URL" action in "Placeholder Properties":
="javascript:void(window.open('http://Server/ReportServer/Pages/ReportViewer.aspx?%2fParent%2fDashboardDetail&Resolved=" + Parameters!Resolved.Value + "&Contact=" + Parameters!Contact.Value + "&Category=" + Fields!Category.Value + "&Range=" + Fields!Range.Value + "', '_blank'))"
I've passed through multiple parameters using this same template with no issues. However, when I run this report, it runs fine, but the cells don't hyperlink.
Thanks!
Share Improve this question asked Sep 12, 2013 at 15:24 Sev09Sev09 8732 gold badges12 silver badges27 bronze badges1 Answer
Reset to default 6Try using the toString() method on your parameters to convert them to a string so the + operand can concatenate them together.
So
Parameters!Resolved.Value
bees
Parameters!Resolved.Value.toString()
版权声明:本文标题:javascript - SSRS: Action "Go to URL" not working after applied to data cell in matrix - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742196648a2431202.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论