Mark Brown's Blog

TFS, Visual Studio, SQL Server, BizTalk, SharePoint, .Net, and more ...

How to create a hyperlink in Reporting Services that opens in a new window

I was at a client and the question came up "Can I jump to another web based tool from my report?".   The answer seemed obvious ... YES.   What was not straightfoward was how to open the other web based tool in another window.   Here is a solution a found (someone else's idea) that helped.

When designing the report:

  • Open up a text box properties window
  • Go to Navigation
  • Enable Jump to URL
  • In the URL enter javascript:void(window.open( 'http://www.microsoft.com', '_blank') 

Please note that you should replace the http://www.microsoft.com with the URL you would like to launch.   Also note, that the second parameter of '_blank' is the standard window.open target meaning a new window.

Published Thursday, May 17, 2007 12:35 PM by mab

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Adlai Maschiach said:

I've search my second blog for a trick I did a long time a go: popup / drilltrough for RS2000, well Id

May 18, 2007 5:06 AM
 

Juan Carlos said:

How disable hyperlink in the excel, exported for reporting service

August 1, 2007 1:25 PM
 

Meryl Birn said:

The Javascript doesn't work when the report is delivered as an email via a subscription.  Is there a way to tell whether the report is being viewed on the web or in an email message?  Then I could present two different links, one using Javascript and one not.

August 15, 2007 1:03 PM
 

ksuresh99 said:

After exporting to excel, clicking hyperlink in the excel (with javascript) IE new window open but prompt error "Unspecified error"? Do we have any workaround for this?

October 15, 2008 11:27 AM

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Submit

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker