SSRS Open Linked Report in new Browser window, don't want to change linked report url every time of deployment.
I have main report and linked report, by clicking on one filed in main report this linked report opens by accepting arguments from main report. Requirement is that Linked report should open in new browser window . In below fig,In this select report list, how can apply java script or other solution. One solution over internet is to use Action -> go to url and use javascript "javascript:void(window.open('"+Fields!url.Value+"'))", Wiht this solution, I need to update linked report url everytime, I deploy Report on new eviornment.
July 20th, 2012 8:23am

If your parameter value is fixed, For ex: Report run as.. : http://myrshost/ReportServer?/AdventureWorks 2008R2/Employee_Sales_Summary_2008R2 passing parameters are.. ReportMonth = 3 ReportYear=2008 Then use ="javascript:void window.open('http://myrshost/ReportServer?/AdventureWorks 2008R2/Employee_Sales_Summary_2008R2&ReportMonth=3&ReportYear=2008')" If value is not fixed, using your screen data, ="javascript:void window.open('http://yourserver/reportserver?/Impact_Report_1.1" &"execution_id=" &fields!execution_id.value &"&executed_on=" &fields!execution_date.value &"....... (rest paramters) &"')" Please read http://msdn.microsoft.com/en-us/library/ms155391.aspx for passing parameter infomation. SoyLover
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2012 5:29pm

If your parameter value is fixed, For ex: Report run as.. : http://myrshost/ReportServer?/AdventureWorks 2008R2/Employee_Sales_Summary_2008R2 passing parameters are.. ReportMonth = 3 ReportYear=2008 Then use ="javascript:void window.open('http://myrshost/ReportServer?/AdventureWorks 2008R2/Employee_Sales_Summary_2008R2&ReportMonth=3&ReportYear=2008')" If value is not fixed, using your screen data, ="javascript:void window.open('http://yourserver/reportserver?/Impact_Report_1.1" &"execution_id=" &fields!execution_id.value &"&executed_on=" &fields!execution_date.value &"....... (rest paramters) &"')" Please read http://msdn.microsoft.com/en-us/library/ms155391.aspx for passing parameter infomation. SoyLover Hi There Thanks for your posting. Further SoyLover response I would like to add one more thing, if you would like to open the report in new window then you need to add _blank at the end like this ="javascript:void(window.open('YourreportURL', '_blank'))" For more info please have a lookhttp://www.mssqltips.com/sqlservertip/1283/display-reporting-services-drill-through-reports-in-new-browser/ I hope this will help Many thanks Syed Qazafi Anjum
July 21st, 2012 4:30am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics