Need to open click through SSRS report in new window

Hello :)
I have a click through report and the requirement that I have is that I should be able to open it in a new window. The report has lot of parameters and I tried to use this query but it gives me error that parameter is missing
="javascript:void(window.open('http://reportservername/Reports/Pages/Report.aspx?ItemPath=%Reports%&rs:Command=Render &Parameter1="+Parameters!Parameter1.Value+"&Parameter2=" + Parameters!Parameter2.Value +
"&Parameter3=" + Parameters!Parameter3.Value+"'))"
It does open the report in new window, however it says that parameter is missing.....(few parameters are dates and few strings). Please any help would be very appreciated.
Thanks!!!
Malini

Hi,
You need to use the URL of report server rather than report manager. Modify the URL like:
="javascript:void(window.open('http://servername/ReportServer/Pages/ReportViewer.aspx?%2ffolder_name%2fdrillthrough_report_name&rs:Command=Render
Reference:
http://msdn.microsoft.com/en-us/library/ms155391.aspx
http://msprojectnow.com/Blog/tabid/142/entryid/367/SQL-Reporting-Services-2008-R2-Using-URLs-to-call-reports-with-single-and-Multi-value-parameters-HTML-and-Report-Viewer-applicable.aspx
Hope it helps.
Tracy Cai
TechNet Community Support

Similar Messages

  • JSF app - open report in new Window - via JSP?

    I have been reading through this forum but no one has done quite what I am trying so I thought I'd post my own version of this problem.
    The web app I'm working on is basically a report generator. Data is formatted via XSLT to .html files - that part works great. The problem is getting the app to open this new HTML file in a new window. I want to get this working with little or no JavaScript.
    startReport.jsp (a JSF file) is the form that validates the user input. The sole h:commandButton (I do NOT want a link) works fine sending the form and JSF returns its errors or mine (if the criteria results in nothing) as it should; the action method returns "failure" so the page stays the same.
    But when the action method returns "success" the JSF navigation-rule is setup to route to showReportFile.jsp (which is NOT a JSF file). This JSP is very simple:
    <%@ page import="java.io.File" %>
    <%@ page import="java.io.PrintWriter" %>
    <%@ page import="java.io.FileReader" %>
    <%@ page import="com.logipath.gict.cts.reporting.client.ReportClient" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
    <jsp:useBean id="reportClient" scope="session" class="com.logipath.gict.cts.reporting.client.ReportClient" />
    <%
    String fileName = reportClient.getReportOutputFile();
    PrintWriter writer = response.getWriter();
    char[] buffer = new char[1024];
    FileReader reader = new FileReader(fileName);
    int numRead = reader.read(buffer, 0, buffer.length);
    while ( numRead != -1 ) {
         writer.write(buffer, 0, numRead);
         numRead = reader.read(buffer, 0, buffer.length);
    reader.close();
    writer.close();
    File file = new File(fileName);
    file.delete();
    %>This works believe it or not. If I put the target="_blank" on the form tag in the startReport.jsp it even opens in a new window. Great. But with that attribute on the form element, if the page comes back in error - it shows up in a new window (as it is apt to do given the attiribute).
    Ok, the h:commandButton tag's target attribute is ignored. Fine. There has to be a way to do this but I just cannot figure it out and I'm no JSP expert.
    What I think will work is this. Since my report beans create HTML files, I've created a session bean called "currentReportBean" which holds a single attribute - the name of the HTML file to display. (This is how the JSP above works.)
    What I need to know now *(this is the question part)* is how can I flush the render response of my JSF life cycle, trigger the opening of this JSP in a new window, the restart the JSF life cycle at the begining so the "parent" page repaints normally? The JSP isn't part of the JSF page flow so I there's no "going back" or "refresh" to worry about. I would like to take the showReportFile.jsp file out of the navigation files altogether.
    I know this topic has been worked on at length, but not quite this way. Any help is greatly appreciated.

    arnieAustin wrote:
    No, the JSP resets the bean value after showing the file.My mistake; it wasn't the reload scenario that is an issue. It is when the user goes back and forth in history that this can be a problem.
    >
    But now I'm confused. JS cannot access server-based session values. How is it going to know to open the page? A cookie?Write the value to a JS variable when you render the page.

  • How to open Jasper report in New window (new Browser,new Tab)

    Hi,
    I'm Using oracle jdeveloper 11.1.1.4.0 fusion middleware for Jasper report. i want to open the Jasper report in new window
    In Application On click of CommandMenuItem(ExportToHTML)it opens the New Window,.While opnening this window i want to call a method (This method opens the jasper report in current browser)
    I Tried the afterPhase and beforePhase for this but doesnt work for me.while executing this using beforePhase I'm getting following Exception :
    Pls Help on this.Thanks in Advance......!!
    Java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
    at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:280)
    at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:112)
    at ReportsDisplayBean.exportHtmlReport(ReportsDisplayBean.java:272)Is any other way to do this ? :(
    Thanks.

    Hi,
    The view itself is a Web Part called an XSLT List View Web Part (XLV for short). This Web Part is stored on an ASPX page that is by default associated with a list or library on your site.
    I suggest you can check if the view page is valid, also, you can try to create another view, then redirect to the view page to see if there is xslt in the page.
    Here are some detailed articels for your reference:
    Create a custom list view using SharePoint Designer
    Using SharePoint Designer 2010 to Work with Web Parts
    How to: Customize the Rendering of a Field on a List View
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • How to open hyperlink(target Webi report) in new tab in BOXI3.1

    Hi all,
    Currently we are using report link using hyperlink syntax between summary report and transaction report.
    We were able to open transaction report either new window or same window.
    *"<a href="http://<servername>:8080/OpenDocument/opendoc/openDocument.jsp?sType=wid;iDocID=108&sWindow=New&lsSEnterJOBID:="UserResponse([Query 1];"Enter JOBID:")"&lsSEnterAccount:="URLEncode([Account]) ">"[Description]"</a> * "
    Summary report(Source report) is having one parameter: JOBID
    Transaction report(Target report) is has two parameters: JOBID and Account
    Now our client requirement is target report needs to be shown in same window but in new tab.
    Is it posssible in BOXI3.1,if yes kindly provide me syntax.
    Thanks in advance,
    Subash
    Edited by: subaschandrabose sunkari on Aug 7, 2009 10:48 AM
    Edited by: subaschandrabose sunkari on Aug 7, 2009 10:50 AM
    Edited by: subaschandrabose sunkari on Aug 7, 2009 10:50 AM

    hi Bhargav,
    i have developed summary report in one tab and transaction report on other tab
    Summary report is developed on One data provider.
    ="<a href=http://Severname:8080/OpenDocument/opendoc/openDocument.jsp?sType=wid&iDocID=11234&sWindow=Same&sReportName=Transaction&lsSEnterJOBID:="UserResponse([Query 1];"Enter JOBID:")"&lsSEnterAccount:="URLEncode([Query 1].[Account]) ">"[Description]"</a>"
    sReportName=Tab name(report tab name we need to specify.

  • Open "Navigate" enabled report in new window - OBI10g.

    Hello Experts,
    May be its novice user question, i have 2 reports, source and target reports. Both reports are connected using "Navigate" functionality.
    Issue is, i wan to open the target report in new window? is that possible?
    using GO URL: we have an option like target='_blank'. but in navigate.. what is the option?
    Thanks in advance....
    Regards,
    Kiran

    The Navigate feature can be modified to open targets in a new window by following the below steps:
    - Edit OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\b_mozilla\viewhelper.js
    - Search for function NavigateInfo()
    - Find the line with code this.sWindowTarget = "_self";
    - Replace the line as this.sWindowTarget = "_blank";
    - Clear the browser cache and reload the page.
    The navigation targets will now open in a new window.

  • Why when I click on a link a new window opens instead of a tab, this is new

    When I click on a link a new window opens instead of a new tab. This is new. I've gone into tools and checked my settings and nothing changes it. It annoys me.

    This issue can be caused by an extension that isn't working properly.<br>
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • I cannot open a new browser window by double clicking Firefox icon or selecting NEW WINDOW from the file menu.

    I can open only 1 browser window and I can't open another or multiple windows by double clicking Firefox icon or selecting NEW WINDOW from the file menu.
    Looking forward to your earliest reply.
    Thanks and regards,
    Sheraz

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Need help re installing PS CS 6 on new windows 8 PC. have product key. HELP!! Please and thank you.

    Need help re installing PS CS 6 on new windows 8 PC. have product key. HELP!! Please and thank you.

    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • I recently updated to version 5.0, however, when I open up a link in a new window, there is no address in the new window's address bar, just a blank box.

    I recently updated to version 5.0, however, when I open up a link in a new window, there is no address in the new window's address bar, just a blank box.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • HT6074 How do I open a page in a separate (new) window?

    How do I open a page in a separate (new) window?

    For a link to a page, control-click the link and choose to do so.
    For an already-opened page, control-click the tab and choose to open it in a new window.
    (120482)

  • How to open a entity form in a new window using openEntityForm() method.

     How to open a entity form in a new window using openEntityForm() method.

    As far as I'm aware, there isn't a supported way to do this in the client-side API. You could use window.open instead
    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

  • Open a bsp page in a new window?

    Hi All,
    I am creating a BSP application wherein i have a htmlb button for "help".
    I want to open this help page in a new window, so that alongwith the help page the user can
    view other pages also simultaneously.
    Is there any way by which i can open this BSP page into a new window without loosing
    the contents of the current page on which the help button is present.
    A sample code for opening page in new window will be of great help.
    Thanks in Advance for your help.

    Hi,
    Pls try the below logic :
    <htmlb:button id = "help"
    text = "Help"
    design = "standard"
    onClientClick = "window.open('http://www.sap.com')"
    tooltip = "Help"
    />
    This will work for you.
    Regards
    CSM Reddy

  • Open oracle report in new window from method

    Hi,
    I have a requirement to do some stuff in the view object, save changes, launch an oracle report 10g in a new window, and then navigate to a new page on a SINGLE button press.
    I can get all this done using a command button to call may backing bean and a goButton to launch my report, but need to combine these into a single button.
    My question is, is there any way to launch my new window and report from the backing bean?
    Or is there some other way to accomplish these requirements?
    this is a JSF/BC app, jdev 10.1.3.3
    Thanks,
    Jim

    What if I have to do validation against the inputs that are used to dynamically generate the report url in the backing bean when clicking the "Button". I couldn't see there is a way for <af:goButton> to implement that. I think there should be some kind of action or listener in the backing where I can do the validation before I decide to open the new window for report.
    I searched the forum and there is a post that will use a form to open the report window using target="_blank" in the form's attribute, but that works only if we don't have to validate the inputs.
    I also tried to find a solution that will open a new windows in the backing bean by invoking a javascript, that javascript function will have the report url generated in the backing bean as the parameter. But so far, I couldn't find one with my ADF version 10.1.3.2.0. It looks like that in ADF 11, this approach might be feasible.
    Any idea, hints?

  • 2004s - Opening Report in New Window

    Hi there
    One of the buttons on our toolbar is a button to open the report in a new window. This provides functionality to allow the user to open the report without all the menus that EP adds on.
    It should be really simple, all I need to do is add
    target="_NEW"
    into the anchor tag, but in practice this doesn't seem to work.
    At the moment I have an HTML table, and an image in one of the cells. I then insert a hyperlink and go through the command wizard to generate the BW specific tags to transfer the state of the template. In the HTML view, I move the
    <img>
    tag into the
    <a>
    tag, so that the image is clickable.
    However, if I put the target in the
    <a>
    tag, so you would have
    <a target="_NEW">
    and then the
    <bi:attribute name="href">...
    , all that happens is that a new window opens, with the URL of the command that is supposed to be executed, but the command is never executed.
    Does anyone know how I can introduce a "target" window into the hyperlink?
    Cheers,
    Andrew

    Hi
    _BLANK appears to be the correct value to use, but the problem I get is that all that happens is a new window opens, and the BI command that is supposed to be executed is then in the address bar ... not the resulting URL.
    If I look in the API documentation, there is supposed to be a parameter TARGET_WINDOW on the link item, but when I insert a link item into my template, there is no such parameter that I can set ... not sure how to set it manually either
    Cheers,
    Andrew

  • Open Sub Report in New Window

    Hi,
    We have an application which is integrated with crystal reports.
    So when you open a report from the application it opens up in a new window. (Ours is a web based application and crystal reports opens up in IE browser)
    We have some reports which have subreports (on demand ), is there any crystal report configuration through which these subreports can be opened in a new window, as of now they open in the same main report window.
    Thanks in advance

    hello,
    you may wish to look into saving the subreport as a separate report and then:
    1) calling the report via opendocument (if your app sits on top of businessobjects enterprise or crystal reports server)
    2) calling the report via URL reporting if your app does not utilize the above platforms
    i can't guarantee the above will work as it may depend on your environment that you are hosting the reports in.
    see the help guide [here |http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf]for more information on linking
    http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf
    as per using a subreport and opening in a new window, this doesn't really work.
    if you want though, you can use a Report Part link to go from the open subreport back to the main report. please see more on Report Part linking in your crystal report's online help.
    jw

Maybe you are looking for

  • Hyperlinks in word containing spaces are cut off in pdf generation

    We are using a mix of MS Word 2003, 2007 and 2010. All are experiencing the same problem when using Adobe products (Abobe Acrobat Pro 9, Adobe X, Adobe Elements) for the generation of a pdf document with respect to hyperlinks. When we have hyperlinks

  • Out-of-warranty phone support

    My PSC 6180 has stopped printing wirelessly from my Windows 7 laptop.  I am considering buying the one-time phone support, but is that $20 for one phone call or one issue?  I seriously doubt I can fix this (if I even can) in one (or even two) phone c

  • HT1695 Is there a cable that can connect 5th gen Ipod to the internet?

    Wifi dlink just quit. Is there any other way to connect Ipod touch to the internet? Thanks.

  • AVI - idvd sound drop out?

    When burning an 30 minute avi movie using idvd - the sound plays for the first 4 or so minutes then cuts out on the finished disc. The picture remains perfect - the sound just stops. I have Perian 1.1.3 installed and the movies play perfectly in both

  • How can i restoring default movies and photos?

    Hey guys, I need help to get default movies and pictures that came with the device i mean i want to be like first time i bought it! there is any way to get those default files back please help me! I really really love those files i did factory rest w