Skip to Content

Need Crystal 2016 hyperlink to a website to open in new window on BI4.2 platform

I have a fleet of reports which I am setting up with hyperlinks to another website. They open the website within the same tabpage as the Crystal report on the BI platform, thus losing the report. To get out of the 3rd party website and back to the Crystal report, one must go back to BI reports folder and re-run the report. I need the report to open a new browser for the 3rd party website.

This is the hyperlink text called from a formula field displayed on my report:

'http://ldsnet.fairfaxcounty.gov/ldsnet/ZAPSMain.aspx?cde='+{Command.AR1_ATY_PRPS_CDE}+'&seq='+ToText({Command.AR1_SEQ_NUM},0,'')

I have tried "target='_blank'" and also "sWindow=new". They made no difference.

You can actually see the target webpage, if that helps. It is a public website. Example:

http://ldsnet.fairfaxcounty.gov/ldsnet/ZAPSMain.aspx?cde=RZ&seq=3000291

One could right-click on a link in the report and select to open it in a new window, and that works, but it should be the default behavior. End-users won't necessarily know to right-click, especially on the first try. They just get annoyed and quit.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Dec 18, 2018 at 12:39 AM

    Currently your links are set to "target=_top". I tried editing the target property using the chrome dev tools and changing it to _blank and it opened in a new page just fine.

    The behavior might be different if you are displaying the page inside an iframe - but it should still work. You may want to view the source after you make the change to verify that the hyperlink target is actually getting changed to _blank.

    Shawn

    Add comment
    10|10000 characters needed characters exceeded