open report in popup window with parameter

asked 2020-09-24T07:05:02.54+00:00
david berlinger 96 Reputation points

I have set the action to:
="javascript:void(window.open(' http://prodsql02/reports/report/%D7%93%D7%95%D7%97%D7%95%D7%AA/%D7%A4%D7%A2%D7%99%D7%9C%D7%95%D7%AA/subreports/1_field_popup

&param1=" & Fields!conclusions.value & " & "','_blank','resizeable=1,toolbar=0,status=0,menu=0,top=20,left=20,width=740,height=730'))"

but when I click on the field nothing opens. what am I doing wrong?

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,096 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. answered 2020-09-24T09:08:31.703+00:00
    ZoeHui-MSFT 18,671 Reputation points Microsoft Employee

    Hi @david berlinger

    Please try like this:

    ="javascript:void(window.open(' http://prodsql02/reports/report/%D7%93%D7%95%D7%97%D7%95%D7%AA/%D7%A4%D7%A2%D7%99%D7%9C%D7%95%D7%AA/subreports/1_field_popup

    &param1=" & Fields!conclusions.value & " ','_blank','resizeable=1,toolbar=0,status=0,menu=0,top=20,left=20,width=740,height=730'))"

    By the way, you may need to deploy the report to the server for test, it might not work in preview.

    Regards,

    Zoe


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    No comments

  2. answered 2020-09-24T11:47:06.75+00:00
    david berlinger 1 Reputation point

    at least now I get a popup, but it fails with HTTP 400 Bad Request - web page cannot be found.
    I rechecked the link by pasting it directly in the browser and except for the missing parameter it worked.
    any idea here to go from here?

    PS what did you change?

    thanx meanwhile