function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mworldmworld 

Open New Window from VF

I am working on a report parameter screen that appears once a user picks the report they want to run from the Custom Reports list. On this screen the user enters the parameter values required and clicks the Generate button. At this point my APEX code assembles the parameters, attaches them to the report URL and re-directs to an external ASP site (Crystal Reports Viewers) where the report is generated and the user sees the report in their browser. This all works just fine.

The enhancement I would like to make is for the report to be opened in a new window rather than in the redirected window. This way the user still has an open SF window as well as their report window.

I have tried various "hacks" and not found anything that works. The key here is that the complete URL is not known until after the Generate button is clicked and the parameters are processed.

Any ideas? This should be simple, right?

Mauricio
gtuerkgtuerk

I have almost exactly the same need.  any luck?