chandra sekhar
chandra sekhar

Reputation: 469

How to open a URL in a new window in SSRS report?

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

Answers (1)

Prashobh
Prashobh

Reputation: 9542

you can use target="_blank"

<a href="http://your path" target="_blank">test</a>

or

window.open( 'http://path');

Upvotes: 1

Related Questions