Reputation: 469
I want to open a PDF file in a new window by clicking on its URL in SSRS report. I heard that it is possible with JavaScript. 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
.
As a database developer, I will be very happy if it is possible with SQL script. If not please help me with some JavaScript.
Upvotes: 1
Views: 3224
Reputation: 9542
you can use target="_blank"
<a href="http://your path" target="_blank">test</a>
or
window.open( 'http://path');
Upvotes: 1