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');

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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 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

  • Call selected report in new External window

    Hi ,
    I have a dropdown with 10 reports. say exaploe Report1, Report2......etc
    Now when i selct a Report1 from the drop down and click on PintReport button , I would like call a new External Window. This exteral window should display the data in a table from executed related reportRFC1.
    Please can you give some advice what is the best approach to achieve this.
    Thanks
    Krish

    Hi,
    if you have the output of your reports as HTML, you can easily use this:
    html = htmlheader + htmlBody + htmlfooter;
    final IWDCachedWebResource resource = WDWebResource.getPublicCachedWebResource(html.getBytes("UTF-8"), WDWebResourceType.HTML, WDScopeType.APPLICATION_SCOPE, wdComponentAPI.getDeployableObjectPart(), "Title");
    resource.setResourceName("HTML_inline.html");
    resource.setAttachment(false);
    resource.setReadOnce(false);
    resource.setMakeCopy(true);
    IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(resource.getAbsoluteURL(), "New Window Name");
    window.show();
    Maybe you can use wdComponentAPI.getWindowManager().createNonModalExternalWindow(resource.getAbsoluteURL(), "New Window Name"); In an other way. It's a method, that opens a new Browser Window.
    Best regards,
    Christian

  • 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.

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Controlling the appearance of a new browser window coming from a weblink

    Hello all,
    I have a weblink. When the end user clicks on the web link a new browser window opens up.
    I would like to be able to control the appearance of the new browser window. I want to be able to hide url address bar, tool bar and all menus.
    Is there a way to do this by editing the weblink in CRM OnDemand ?
    Thanks,
    Trish.

    Trish, if it is possible it would need to be in the URL and I think you'll need to do a google search to find out how you pass IE attributes into a URL.
    cheers
    Alex

  • Spawning new browser windows with jsp

    in a webapp, is there a jsp way to open a new browser window? i'd like to avoid javascript if i can....

    Definetely not. JSP is 100% server-side, it has nothing to do with the client-side (browser). You cannot do anything in the client-side with JSP.
    You will have to use either HTML or JavaScript.
    A seven-second Google-lookup with the keywords "opening new browser windows" yields as a second link:
    Dan's Web Tips: Opening New Browser Windows
    http://webtips.dantobias.com/new-window.html

  • Calling a new Browser Window from Web Dynpro Application - Empty Context

    Hello,
    I want to open a view in a new browser window, and followed the same way which is described in this thread:
    Open view in new browser window
    My first try was creating two applications, which refer to the same Component Controller. The opening of a new browser window is triggered by an action, which is called in the other application. As both applications have the same Component Controller, I thought, the context content has to be the same, but actually the context attributes are empty after opening of the new window.
    In my second try I created two applications with two different Component Controllers, mapped via embedded Interface Controller. The effect is the same - I have no context content in the view.
    Please, can anybody help me?
    Thank you in advance.
    Ilona Seifert

    I done something like this:
    [code]
    try {
    strURL =
         WDURLGenerator.getApplicationURL(
                        "$<b>PROJECT_PATH</b>$/$<b>PROJECT_NAME</b>$",
                                            "$<b>APPLIC_NAME</b>$");
    } catch (WDURLException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
    strURL += "?par1=";
    strURL +=  var1;
    strURL += "&par2=";
    strURL +=  var2;
    strURL += "&par3=";
    strURL +=  var3;
    [/code]
    and after i retrieve them:
    [code]
    Var1Value= WDWebContextAdapter.getWebContextAdapter().getRequestParameter("var1");
    [/code]

  • New browser window from CRM Web UI causes problems

    Hi Experts,
    We have several links to internal web sites that CRM users can access from the web UI.  Problem is, whenever one of these links are selected, the user looses whatever it was they were doing in CRM and the main window displays the following message:
    The object you have selected is starting in a new browser window. You can continue working normally in the current application. However, you may have to navigate back to the page you were working on.
    Anyway to prevent this from happening?   Would very much appreciate any advice.
    Thanks,
    Stephen Brewer

    Hello Brewer,
    If your requirement is to open some URL say google.com etc in a now window, then there are only 2 ways
    1) Use Transaction Launcher
    2) Use PopUp Window.
    1) If you use transaction launcher, and created the link in your direct link group then on click of the link, the URL will open in new window but you cant avaoid the message that you get in the current window. Also, if users POPUP Blocker is ON, user will never come to know why the new window has not launch.
    2) This is very simple and straight forward approch for opening URL. However, POPUP windows in WEB UI are modal windows, so say on click on a button on Account Overview Screen, i open google.com in a popup then unless i close this popup , i can not work on the account overview screen . However, you can see the account overview screen as it is and you can resume back when the popup is closed. Also you can define the even handler on close event of pop up so you can pass the data to & fro between the webclient view and the pop up.
    to open some extrenal URL in a PopUp , You will need to create a blank view and attach it to a window. In .htm file of the view, you can use tag IFRAME and call your external URL here.
    Hope its helpful.
    Thanks & Rregards
    Prasad
    PS : the popup blocked problem will still be there however, it flashes a message like pop up blocker is ON in case of using popup window

  • Call form in new browser window

    Hello all,
    I am trying to call a form that will appear in a new browser window, but be part of the same forms application. I am able to call the applet by using web.show_document, however you must log on to the forms services before you can access the form. I would simply like to click a button and have it call a form that opens in a new window. I am doing this for our data entry techs that need to utilize dual monitors looking at 2 separate tables.
    Thanks in advance,
    -Jordan

    Be aware that there are limitations with Forms if you are trying to run the application on the secondary monitor. Known issues related to dual monitors have been corrected in the upcoming patch set for 10.1.2. This patch is due for release soon (exact date unknown). A one-off patch is also available for 9.0.4.3.
    Take a look at this thread for more details:
    Users with two monitors

  • Open calling form in new browser window

    HI,
    I am using forms 9i. From menu item, i am calling a form using call_form, the called form is opening in same window, my requirement is the called forms want to open in new browser window. I am using mdi window.
    Any idea ?
    Regards
    Ramesh babu

    If you look in your browser address field, you will see your current forms has a (probably very) long url, one section of which is the form name. Now, you can use this as the URL argument in a WEB.SHOW_DOCUMENT() call. However:
    (1) if your URL doesn't include the userid, etc. (very likely in a production situation) you will have to log in again.
    (2) as (1) might lead to suspect, you are in a new database session.
    Why do you want to do this?
    Cheers, APC

  • Calling a new browser window with WD Abap and passing data via POST

    Hi there,
    does anybody know whether passing data via POST method is possible when opening a new browser window from within a Web Dynpro Component? In my case I use method IF_WD_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW for opening a new browser window. Now I want to pass a big amount of data which is only possible via POST method. How can I achieve that or is it not considered inside the Web Dynpro Framework?
    Kind regards,
    Albert

    Hi Priya,
    can you please explain a little bit more what you mean? I didn't get it..
    Kind regards,
    Albert

  • 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>

  • Open new browser window from Hyperlink in BIP PDF output report?

    Hello,
    Is there a way to open a new browser window from Hyperlink in PDF report?
    Thank you all in advance.
    MT

    Dear Friend,
    It is not supported for PDF Report. But below links helps you, to accombish this task in PDF report.
    [url http://oracleapps4u.blogspot.com/2011/03/open-hyperlink-in-new-browser-window.html]http://oracleapps4u.blogspot.com/2011/03/open-hyperlink-in-new-browser-window.html
    Thanks & Regards
    Ahamed Rafeeque Cherkala

Maybe you are looking for