Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 How to open a URL in a new window in SSRS report?

Author  Topic 

chandugitameeee
Starting Member

2 Posts

Posted - 2014-02-21 : 07:10:45
I want to open a pdf file in a new window by clicking on its URL in SSRS reoprt. I heard that it is possible with Java script. So I tried with ="javascript:void window.open('yoururl&rs:Command=Render"')" in the SSRS expression. It is working only for https and http.

But the URL which I want to open is as follows. \\ourcompanyname.local\systems\documents\abcd.pdf
Can anyone please help me to resolve this issue. It is on high priority. please reply ASAP.

As a database developer, I will be very happy if it is possible with SQL script.

If not please help me with some java script.

Thanks in advance.


Chandrasekhar

xhostx
Constraint Violating Yak Guru

277 Posts

Posted - 2014-02-21 : 08:48:58


insert a text, name it to "Link to URL" (< example). Then right click, Textbox properties. A window will pop out. On the left hand side Menu, click on "Action". Make sure you check the box "Go to URL". And finally copy/past a valid url to that function textbox.


--------------------------
Joins are what RDBMS's do for a living
Go to Top of Page
   

- Advertisement -