on 12-04-2018 1:56 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.