Skip to Content
Author's profile photo Former Member

Replacing ‘sWindow=New’ and ” target= _blank” to open the resultant Crystal report in new window

Purpose

 

To create an openDoc URL object that should open the resultant Crystal report in a new window

Overview

 

To use a simplified way rather than sWindow=New’  and ” target= _blank” to open the resultant Crystal report in new window. It has been an experience where it doesn’t works or it does but with lot of pain.

This is how one can achieve it

 

These steps are performed and refer to SAP BusinessObjects Business Intelligence 14.0.4

  1. Publish the Crystal report to BI server
  2. Login to BI launchpad right click and select “Document Link”
  3. Window will pop up with the Link Copy it and paste it on notepad
  4. Open Dashboards
  5. Create blank Model
  6. Select “URL Button” object from the component list
  7. Decrease the canvas size to fit the URL Button.
  8. Now click on the URL Button >> in  the property window  paste the link copied from BI launchpad in the URL option
  9. Under Windows Option select “New Window”
  10. Export it as swf object locally
  11. Open Crystal reports now and insert the swf object (select Insert >> Flash)

URL Button.JPG

This is how you can create a link for a Crystal report to open in a new window.

Assigned tags

      5 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Abhilash Kumar
      Abhilash Kumar

      Great workaround! Although sWindow=New is deprecated, it did work in XI 3.1 SP3 FP 3.5 or 3.6+.

      Doesn't it work in BI 4.0?

      -Abhilash

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Yes you right Abhilash, the feature sWindow=New is deprecated in XI 3.1 SP03 and above. However lots of people are aware of either of the thing thats why added it to the content..  🙂

      Author's profile photo Sohel Ahmed Syed
      Sohel Ahmed Syed

      Wow! a very simple and effective workaround, thanks for sharing.

      Regards,

      Sohel

      Author's profile photo Ludek Uher
      Ludek Uher

      Very cool - love the formatting too (e.g.; the heading, pic), just a nice doc.

      Tweeted on @SAPCRDES

      Oh, this should also be KBA'd - all you need to do is reference this doc in the KBA. I'd probably give the KBA the title.

      " How to create an openDoc URL object that opens the resultant Crystal report in a new window"

      Just an idea(?)

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Ludek

      I will surely look forward to create a KBA on this

      -Shahnawaz