Open Report Link Url In New Blank Window
I have dynamic links in my report and when the link is clicked I want it to open in target='_blank'. I have tried the following, but I must be missing a single or double quote some
Solution 1:
Try this:
="javascript:void(window.open('http://server/folder/filename.aspx?ds=" & Parameters!UserName.Value & "&bu=" & Fields!Business_Unit.Value & "&in=" & Fields!Item_No.Value & "','_blank'))"
Solution 2:
Use below script in Jump to URL box.
="javascript:void(window.open('http://servername/ReportServer/Pages/
ReportViewer.aspx?/TestFolder/TestReportName&rs:Command=Render&Parameter1=" &
Parameters!Date1.Value & "&Paramerter2=" & Parameters!dayname.Value &
"&Parameter3=" & Fields!Booknumber.Value & "&Parameter4=" &
Fields!TopicOrderby.Value & "','_blank'))"
Please double check servername
, reportname
, parameternames
(case sensitive).
Solution 3:
Try this on report access URL
&rc:LinkTarget=_blank
And the option on your report field must look something like ="http://yourURL.com"
.
Solution 4:
you need to either use window.open, or target
<ahref="http://..."target="_blank" />
or
javascript:void(window.open('http://...'));
Not both. If you are building your URL, then build it before injecting it into the document.
Solution 5:
This worked for me:
="javascript:void window.open(" &"'" & Globals!ReportServerUrl & "/Pages/ReportViewer.aspx?" & Globals!ReportFolder & "/SubReportWithMemberInfoUsedByWaiverFinance&rc:Parameters=False&RepParameterSet=50,>64,E," & Fields!YYYYMM.Value & "','_blank')"
Post a Comment for "Open Report Link Url In New Blank Window"