Display Integrated Oracle Report in New Browser Window

Hi All,
I am using APEX 3.0.1 and Reports Builder 10g and have integrated my Oracle Reports (.rdf) successfully with APEX.
The trouble is that the report output (in PDF format) is opening in the same browser window as my APEX application and I would like to spawn a new browser window to display the report output.
The report is being called from a button with a Target of URL and the URL Target is:
&REPORTS_URL.&module=DEBITNOTE_REP.rdf&destype=cache&desformat=pdf&P_DEBITNOTEID=&P73_DEBITNOTEID.
Kind Regards,
Gary.

Hi Garry,
Had to do the same thing last week.
1. Create a javascript function that accepts the report parameters and calls the window.open function for the reports URL
2. Change the URL on the report button to call this new function
It might also be worth using a cmdfile (see reports doco) to simplify the URL
cheers,
Ron

Similar Messages

  • Command to open a PDF generated Oracle Report in New browser window

    I know this is probably something for the Oracle Forums but I'll ask anyway because I can't find any info out there on this, without some extra work.
    I am generating a PDF file from 10g Oracle reports on Linux RHEL 5 and storing the PDF file to the server. I can send that PDF file directly to a printer with the "lpr" command and that part works fine.
    What I'm wanting to do now is "View" the PDF from within the server in a new window. We are using RHEL 5 (Linux) platform and I'm trying to see if there is a way to open the file with a "command line" command that will open it in a new browser window or new window period (opening it with Adobe Acrobat).
    Does anyone have a command that will do this? Otherwise, how has everyone else been handling this. The idea of just viewing the previously generated PDF Report file will save us overhead on our database servers because they won't have to re-run some of the same reports over and over.
    Any help and assistance is appreciated.
    Chris

    Several options:
    - If you only want to show the pdf to the client without printing, use destype=cache and use WEB.SHOW_DOCUMENT after the RUN_REPORT_OBJECT (for examples search the forms-forum, there are lots)
    -If you have to generate the pdf to a file to get it printed, you could
    +use WEBUTIL_FILETRANSFER.AS_TO_CLIENT after the printing to transfer the file to the client, then use CLIENT_HOST to view it.
    +map the appserver-directory you generate the report to as a virtual directory in the application-server then use WEB.SHOW_DOCUMENT to directly access the generated file via url.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Open discoverer report in new browser window and without connections page

    Hi All,
    We are using Oracle 11g Discoverer 11.1.1.4.  Requirement is to open the discoverer report in a new browser window and without connections page.
    When we are running discoverer reports with this parameters we unwantedly get the connections page of the discoverer plus which we don't want.
    Went through the documentation given in this page and followed it still the issue persists, and i see couple of threads with my issue and no updates.
    This excerpt is from the documentation available in the link
    " _plus_popup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it "
    http://www.art2dec.com/documentation/docs/oas10g1012/linux/bi.1012/b13918/urlstart.htm
    and Here is what we use to invoke our reports.
    http://ipaddress:port/discoverer/plus?cn=cf_123&_plus_popup=TRUE&framedisplaystyle=EMBEDDED&wb=disc_wb_1
    Request the forum users from PRO discoverer group to help me out of this issue and expect a good discussion on this.
    Thanks in advance

    Closing the thread
    We were able to achieve by changing the browser settings in the IE 8 Browser. Disabled Tabbed browsing.

  • Calling web report in new browser window

    I have one Web-based Oracle report where I am calling another report in a FormatTrigger as:
    http://myserver/cgi-bin/rwcgi60.exe?key1+:param1
    I want to run this second report in a new browser window. I tried using TARGET="_blank"
    but I get syntax errors. I know that without the cgi parameters, it is easy to include the TARGET after the URL. But can anyone tell me the correct syntax for the above case (with parameters)? I tried putting the TARGET before '?' and after the param but both failed.
    Thanks
    null

    try this in your format trigger:
    web.show_document('http://myserver/cgi-bin/rwcgi60.exe?param1=value+param2=value', '_blank');

  • Displaying PDF in new Browser window

    Hi all,
    I have a question about displaying a invoices in pdf format in a new window. I read several threads about this, but I haven't been able to solve my problem.
    I'm using following code:
    append the pdf to the response
      cl_wd_runtime_services=>attach_file_to_response(
        i_filename  = 'test.pdf'
        i_content   = lx_pdf
        i_mime_type = 'application/pdf'
        i_in_new_window = ' X'
        i_inplace       = 'X' ).
    The content (lx_pdf) is retrieved from a smartform, via the function module for the smartform in question, after which I convert the OTF Data (JOB_OUTPUT_INFO-OTFDATA) to XSTRING using FM SCMS_TEXT_TO_XSTRING. The returned data (buffer of type xstring) I use for afore mentioned method. But all I get to see is the following:
    //XHPLJIIID    0700 00000000001
    IN04EZZ_MO_SMARTFORM_TEST
    IN05TEST_PAGE_1
    OPDINA4   P 144  240 1683811906000010000100001
    IN06MAIN
    IN06TEXT_TEST1
    MT0168902156
    CP11000000E
    FCCOURIER 120  00144 SF001SF001110000144E
    UL +0000000000000
    CT00000000
    ST0590441This is a text page for displaying PDF in a
    MT0168902396
    ST0547238new window
    MT0168902636
    ST0460832called from within a WD application
    MT0168902876
    ST0144010Application
    EP
    The text is correct, but it is not displayed as PDF in new window, and of course I'm not interested in all the formatting codes in front of every line??
    I should be possible to display a pdf in a new browser window without having installed everything needed for Adobe Interactive forms, or isn't it??
    Kind regards,
    Micky.

    Hi Micky.
    If you have the spool number of the printed billing document you can use
    component WDK_SPOOL_TO_PDF in order to display spool as PDF.
    Just transfer spool number and format to default inbound start up plug.
    Cheers,
    Sascha

  • Using web.show_document the first time makes new browser window lose focus

    Hi,
    In our application we use show_document(url, '_blank') to open our reports (as pdf) in a new window.
    Our environment is Application Server 10g Release 2 with Forms 10g Release 2 and jinitiator 1.3.1.22.
    The first time I call a report, the new browser window containing the pdf is shown but loses focus after about 1 second. The focus is then returned to the applet window. When calling a report again it always keeps the focus.
    After closing the applet window and restarting the application, the same thing happens: first report called loses focus, all others keep the focus.
    Does anyone have any idea why this is happening? We want the focus to stay on the new browser window every time...

    Hi Jeroen,
    I m also facing a problem something similar to yours. If you got any solution please let me know.
    Problem-
    Currently my application is running on Forms 9.0.4.2 and my form calls another third party which displays the image in image viewer in new browser. When user clicks on the button to display image, then I m using the following Code -
    -- Method: displayDocuments ([Ljava/lang/String;)Ljava/lang/String;
    FUNCTION displayDocuments(
    obj ORA_JAVA.JOBJECT,
    a0 ORA_JAVA.JARRAY) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(1);
    JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'com/hli/imaging/adapter/LK_FormsImagingAdapter', 'displayDocuments', '([Ljava/lang/String;)Ljava/lang/String;', args);
    END;
    Image is displaying fine but the focus is staying on the newly opened browser. I want it to get back the focus to the forms window.Is this possible ???
    Thanks in advance
    Sai                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Opening remote page in new browser window

    Hi there,
    my applet used the browser window as its frame, that means there is nothing else but the applet. I need to call a page from the same server as the applet resides, but to display the page in a new browser window. The following code could do the job, but caused the browser to block the popup.
    applet.getAppletContext().showDocument(new URL
                            ("http://mydomain/mypage.jsp"),"_blank");I'm wondering whether I could access a servlet from my applet and let the servlet accomplish this and how to.
    It would be also of interest whether it is possible to do the same with a page from a remote server and triggering the client to display the page in a new window.
    Any help is highly appreciated.
    Thanks in advance.
    Stephan

    Sorry, mixed up my versions a bit. The following code doesn't open a new window.
    try {
                JSObject window;
                window = JSObject.getWindow(this);
                URL url = new URL(this.getCodeBase(), "mydomain/mypage.jsp");
                window.eval("window.open(" + url +")");
            catch (Exception e) {
                e.printStackTrace();
    }It doesn't do anything, instead I'm getting the following output in the trace:
    liveconnect: the url of the applet is http://localhost:29080 and the permission is = false
    liveconnect: JavaScript: UniversalBrowserRead enabled
    liveconnect: JavaScript: UniversalJavaPermission enabled
    liveconnect: JSObject::eval(window.open(http://localhost:29080/mydomain/mypage.jsp))
    liveconnect: the url of the applet is http://localhost:29080 and the permission is = falseI'm testing this code on Linux, FIrefox 1.5.0.3 and JDK1.5.0_07.
    What I'm doing wrong?
    Thanks.
    Stephan

  • Uploading documents to show in new browser window

    Please can you let me know when we will have the option to upload files (eg Word, Excel) and display these items in a new browser window? At the moment the only way round this is to load a file and then create a URL link to this file.
    Thanks

    Hi Jan
    Add your document (eg Word) as a File item type. Then view the document by clicking on the display name. Highlight the URL and copy it.
    To create a URL link to this document select Add Item and choose URL. Paste the URL you have just copied from the original document into the URL field - fill in the other primary and secondary attributes - choose to open document in new browser window.
    Go back to your original Word document and hide it from view.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jan:
    Katie,
    can you tell me how to make such an upload an create a link to it ? That's exactly what I'm trying to do ...
    Thanks,
    Jan<HR></BLOCKQUOTE>
    null

  • Display Oracle Report on new window

    Hi,
    How can I display Oracle report from HTML DB on a new browser window? I have branch to this report. Thanks much for your help.
    Lakshmi

    Search this forum for "new window". You should find it. Try:
    checkbox and report page in new window

  • Displaying BIP report (ByteArray) in new browser window after runReport

    We have BIP 11g standalone.
    Our UI is built in Flex / Flash Builder 4 and we are using runReport to execute our BIP reports.
    For now, we am working with reports that are HTML output (Excel output comes later).
    The ReportResponse object is returned successfully with a populated reportBytes (as ByteArray).
    I am unsure how to display the reportBytes HTML report in a browser window (although I've found a number of blogs detailing in Java how to display a report, or save it to PDF etc and using OutputStream).
    Can someone please advise how (in Flex/FlashBuilder) to take the ByteArray which is the resulting BIP HTML report and display it in a browser window?
    I've been trying with URLRequest and about:blank vs image.load(bytes) etc but nothing is working.
    Thanks

    Hi Micky.
    If you have the spool number of the printed billing document you can use
    component WDK_SPOOL_TO_PDF in order to display spool as PDF.
    Just transfer spool number and format to default inbound start up plug.
    Cheers,
    Sascha

  • How to make a linked report to be shown in a new browser window

    I created two portal reports and a dynamic link between them. By
    clicking on
    the linked column of the report A (master list), I successfully
    got to the
    report B (detail report). The problem I have is that the report
    B is shown on
    the same browser window as the report A. I am wondering if there
    is a way that
    I can open the report B in a new browser window.
    Thank you very much for your help!
    Jean

    <p>When I use an oracle link from 1 report to another, portal adds 47 spaces after the link. When processed in a browser it displays as 47 %20's right after the binded variable.</p><p>
    Using the concatenation method worked in that it opened in a new broswer window and binded the variable correctly, but returned no rows.
    I manually appended 47 %20's in the address bar and it returned all the data correctly.</p>
    <p>
    For testing purposes I added 47 %20's to the sql code, hoping it would add them to the link. It did, but with many more %20's in addition so didn't work.</p>
    <p>
    I got it to work by adding just a '%' after the variable name. Here is the code that seems to work for me.</p>
    <span style="background-color:#cccccc;">
    < a href="http://PORTALLOCATION/SCHEMA.RPT_NAME.show?p_arg_names=BINDVARIABLENAME&p_arg_values='||VARIABLE_TO_BIND||'%" target="_blank">'||VARIABLE_TO_APPEAR_AS_HYPERTEXT||' < /a></span>
    <p>
    Thanks for your help bclange. Hopefully the Oracle guys have read this and will add the target attribute to the link component next time!</p>

  • Portlet Item Attr: "Link That Displays Item in New Browser Window"

    I have been searching the forums for a similar experience, but haven't found anything quite like this:
    I have a couple of portlets. One is a Discoverer Portlet, the other is something more basic: The "Developer News" portlet from the 9iAS Community portlet provider.
    After defining the portlets and looking at them, I edit the page and click the Edit button (little pencil) to edit the attributes.
    There are radio buttons for Display Options.
    One option is: "Link that Displays Item in New Browser Window."
    When I select this, OK, and then go back to the page, **the portlet doesn't show at all any more! There is no link, no nothing. Note that I have defined a Display Name, which should be the text for the link.
    It would seem that this feature flat out doesn't work.
    This technique for a popup works fine for an "Item" defined in an item region.
    Anyone?

    Yes -- I did do that after reading an article on metalink about such issues.
    This actually changes the problem.
    When I add the "Display name and image link" attribute to the region, I now do get a link.
    However, clicking it brings up an undefined Discoverer portlet.
    It works great for non-Disco portlets. For instance, I was able to pop up the "Developer News" portlet from the Oracle 9iAS Community portlet provider.
    I think the problem is that the link that Disco produces does not provide enough information to bring up the particular portlet. For instance, the URL does not have the workbook name, the worksheet name, the parameter values, etc.
    If anyone uses Disco w/ the portal, I would be curious to hear if anyone can reproduce this apparent bug / limitation.

  • Download blob as pdf. Display inline in new browser window

    I am using the standard functionality of loading blob data, using a browse/upload item, and retrieving blob data using a report on a blob column. One of the settings when setting up upload and retrieval column attributes is called "CONTENT DISPOSITION". If I set it to "INLINE" the file downloads when clicking the "DOWNLOAD" link and displays in the appropriate viewer, e.g. for PDFs it's the browser window. How do I get the PDF file to display in a NEW browser window so the user does not have to leave apex?
    Paul P

    Alternatively, do pdf's already render in the browser window?
    http://www.mydigitallife.info/2007/06/17/disable-pdf-from-opening-in-web-browser-ie-firefox-opera-safari/
    Trent

  • Link That Displays Item In New Browser Window

    Hi,
    We use Oracle Portal Version: 10.1.4.0.0 (Build: 594).
    We've found that the following setting doesn't seem to work.
    Link That Displays Item In New Browser Window
    Even with that set on items, items ALWAYS open up in the same window,..not a new one.
    Has anyone else experienced this or is it just us?
    thanks

    Hi, this is a "bug". You need patch 5026969 to solve it.
    More info is in note 358722.1 - Items Are Opened In The Same Browser Window Even Though The Option 'Link That Displays Item In New Browser Window' Is Set.
    Regards, JW

  • Drill to link - How can integrate the new browser window inside the report

    Hi, I'm using Discoverer Plus/Viewer 10.1.2.48.18 and I just created successfully a "Drill to Link to an Internet Page" related to my field "Ticket Id"
    So, when, from Viewer, I select the link, a new tab from a new browser session is opend and I see all the details related to the Ticket Id chosen.
    This is right because on the manual is written:
    Discoverer behaves as follows: if you drill out to an Internet page, Discoverer displays the Internet page in a new browser window.
    Now my question is this: is there a way or a workaround to integrate the new browser window's content inside my report ?
    In other words, instead to see the all the Ticket id details (graphs included) in a new browser window, my customer asked me to see these details inside the same report, just below the field with the link.
    Any help will be appreciated
    Thanks
    Alex

    Hi, I'm using Discoverer Plus/Viewer 10.1.2.48.18 and I just created successfully a "Drill to Link to an Internet Page" related to my field "Ticket Id"
    So, when, from Viewer, I select the link, a new tab from a new browser session is opend and I see all the details related to the Ticket Id chosen.
    This is right because on the manual is written:
    Discoverer behaves as follows: if you drill out to an Internet page, Discoverer displays the Internet page in a new browser window.
    Now my question is this: is there a way or a workaround to integrate the new browser window's content inside my report ?
    In other words, instead to see the all the Ticket id details (graphs included) in a new browser window, my customer asked me to see these details inside the same report, just below the field with the link.
    Any help will be appreciated
    Thanks
    Alex

Maybe you are looking for