WEB.show_document in Browser Tab Pages

Hi
This problem occurs in IE7 which makes use of tab pages on the web browser. I'm using forms 10g, web.show_document(v_url, '_BLANK') to pop up a browser window in IE to display a PDF file residing on the App Server.
The new browser window pops up in IE and displays the pdf document fine. The window title and address bar contain the correct url (a rather long one). The problem I have is that the browser tab page is labelled "Error" which immediately causes concerns amongst the users. I'm not sure if it does this because it does not know what to label the tab page or if the URL is perhaps too long.
Is there any way to rename / relabel the tab page or set the name or alias somewhere? I'll appreciate any advice on the issue...
Regards
Mario

Hi,
With web.show_document() you could call a html page that call your php page with POST().
Francois

Similar Messages

  • WEB.SHOW_DOCUMENT suppressing browser

    Hi,
    I want print a report by using the WEB.SHOW_DOCUMENT and without invoking the browser, so that it should directly print ot the printer
    Any Suggestion will be appreciated
    Regards

    You could have a look at ORARRP at http://www.oracle.com/technology/sample_code/products/reports/index.html or a JavaBean based solution at Forms-Reports Web : Direct print a file to a local printer

  • Executing a sql in web.show_document before opening the page with URL

    Hi,
    I have a function that returns a varchar2 into web.show_document in the form. Is there a way that web.show_document executes the varchar2 and get the output and open the URL. The result of the varchar2 execution is a URL.
    CREATE TABLE MIS_TBL (MIS_COD VARCHAR2(10), MIS_VAL VARCHAR2(100) );
    insert into MIS_TBL(MIS_COD,MIS_VAL) values ('RPTURL','/print');
    Create or replace FUNCTION Get_String_MIS
    in_v_MIS_Cod IN MIS_Tbl.MIS_Cod%TYPE ) RETURN VARCHAR2     
    IS
    l_v_String          MIS_Tbl.MIS_val%TYPE;
    BEGIN
    SELECT MIS_Val INTO l_v_String
    FROM MIS_Tbl
    WHERE MIS_Cod = in_v_MIS_Cod;
    RETURN l_v_String;
    END;
    In the forms I have the following code in a trigger, uniform across many forms.
    web.show_document(Get_String_MIS('RPTURL') || '/' || l_v_File_Name);
    I can set any value to RPTURL from a reference data form. I want the above statement to execute the varchar returned by Get_String_MIS('RPTURL') and send the result of the execution to show_document.
    The result of get_string_mis should be 'http://'||sys_context('userenv','host')||':9999/print' and this when executed gets the actual servername from sys_context('userenv','host')
    At this time, I cannot change the function and many forms. I only have control of changing the value in MIS_TBL.
    Any solution to my problem is greatly appreciated.
    Thanks,
    Ravi

    Maybe you could rename your table and use a view pointing to that table instead? Then you could do the resolution directly in the database.
    Something like
    SELECT MIS_COD, MIS_VAL FROM MIS_TBL_NEW WHERE MIS_COD!='RPTURL'
    UNION ALL
    SELECT 'RPTURL',  'http://'||sys_context('userenv','host')||':9999/print' MIS_VAL FROM DUAL

  • When I open a new tab, I used to see 9 thumbnails of my most visted sites, but now I do not (just a generic "new browser tab" page). How can I restore the thumbnail view?

    I have an HP laptop, windows 7 64-bit OS. I had to open Explorer this AM to download a driver update (for audio on my computer, which instead eliminated the sound on my computer - still trying to fix that). I downloaded an update to DVDSoftVideo yesterday, which seems to sometimes change the taskbar area, even tho I always opt to not download optional toolbars (ASK toolbar for one - even tho I unchecked it, it still shows up now on the toolbar).
    I don't know what is related to what.
    Further, I clcked on the Firefox icon at the top left, and chose the menu view, now cannot find how to go back to the new view of just the icon.

    You can look at one of these extensions:
    * NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/
    * New Tab Homepage : https://addons.mozilla.org/firefox/addon/new-tab-homepage/

  • Tab Pages Web item

    Dear Experts,
    I have created a web template which have tab page item and also two web template web item.
    when i display it the first tab is showing the attached web template item fine. but when i go to second tab page still its showing the first web template only instead of second.
    what could be the reason and how to rectify it.
    thanks and regards
    Neel

    Hi,
    Create 2 Separted Web Templates for Example. Web Temp 1 (having report XX1) and Web temp 2 (having report XX2).
    After that Create New Web Template FINAL --> in Advance Tab --> Drag and Drop Tab Pages  Web Item. After that Tab Pages Web Item properties --> Table Pannel is there in that create new Tab Pannel --> it will open new window in that  click on Actiavtion _Action  it shows like Command : Set Web Template --> Click on that and give me your Web Template Name Web Temp 1 (As above Example) Under that Open New Window option is Check it as ON.
    For Second Web Temp 2 --> Tab Pages Web Item properties --> Table Pannel is there in that create new Tab Pannel --> it will open new window in that  click on Actiavtion _Action  it shows like Command : Set Web Template --> Click on that and give me your Web Template Name Web Temp 2 (As above Example) Under that Open New Window option is Check it as ON.
    I hope it will help you.
    Thanks,
    Bhima

  • Using Tab Pages & Web Template Web Items

    Hi Experts,
    i want to build a report with a tabs
    i have created a WAD report with a tab page web item
    in the tab page i have inserted three web template web items
    and in each web item i have entered a diffrent technical name of a WAD report (3 reports)
    but when i run the report i get in all three tab pages
    the data of the first report (like it uses DP_1 of the first one)
    i have tried to change in the reports the name of the data providers
    to DP_7 or whatever and it is not working still.
    any one know how to display three WAD reports in a tab page web item?
    Thanks and BR,
    Or.

    Hi
    for  one clair example you can install the 0Analyzer web template - the standard sap web template that use TABs with different reports inside
    hope it helps
    Edited by: Andrea Previati on Sep 28, 2011 5:53 PM

  • WEB.show_document with MAILTO in IE8 - Navigation Cancelled message

    When generating an email from within Oracle Forms 10g using:
    WEB.show_document('mailto:'||'[email protected]'||'?subject='||'test msg'||'&body= 'test body','_SELF');
    An IE8 window pops up with a message saying 'Navigation to the webpage was cancelled'.
    The test email does appear separately, but if the email is generated a second time, the email will not be generated unless the window saying 'Navigation to the webpage was cancelled' was manually closed before the second email generation.
    If we try the same test in our IE7 browser, the email pops up without an IE window coming up in the background (as expected).
    We have tried changing the last parameter to _BLANK and also excluding it altogether, neither option works properly in IE8.
    What code can I use to generate an email within IE8 & IE7 without the extra browser window appearing in the background?

    Ok - so I've had a TAR logged with Oracle since before asking my colleague to post the same query on here.
    As of a couple of days ago Oracle were able to reproduce the same issues using a simple test case. Yesterday they came back with the first part of a fix and updated "Note 1075355.1 - How To Use WEB.SHOW_DOCUMENT To Open Multiple Pages In The Same Browser" accordingly.
    Basically if you are running IE8 on Windows XP and want to use the WEB.SHOW_DOCUMENT with mailto to launch an e-mail you need to specify a named window instead of the regular parameters which are: self, parent, top, blank
    So you would need to use something as below where the word CUSTOM can be anything.
    WEB.show_document('mailto:'||'[email protected]'||'?subject='||'test msg'||'&body=' ||'test body','CUSTOM');
    However this does not appear to fix the issue for IE8 when running on Windows 7.
    Below are other security settings that were recomended and we tried (but I don't think they had any effect):
    1. In IE 8 go to menu Tools -> Internet Options -> Security -> Sites ->
    - Add this website to the zone :
    mailto
    - Uncheck "Require server verifcation (https:) for all sites in this zone."
    - Click Add
    2. In IE 8 go to menu Tools -> Internet Options -> Security -> Custom level
    - Set 'Display mixed content' to Enable.
    Anyway hopefully this information may be useful to anyone else experiencing the same issues - I'm kinda surprised that this hasn't come up and I am interested to hear how other people send email from Forms 10G or 11G applications?

  • [Solved] Problem with Web.show_document

    Hi all,
    In the custom.pll I use a Web.show_document() to get a file from the server.
    The URL is for example "http://10.0.0.20/test/159083.apn"
    I tested this and the browser (IE) is opening this file as a text file.
    Now I want that the .apn file must be opened with a specific program. So I added .apn to the registry.
    I typed manually http://10.0.0.20/test/159083.apn in the browser and the program I prefer is starting up now.
    But if the custom.pll executes the Web.show_document() now in a split second I see a flash of a screen and that screen is closed again. I don't know what screen but I think it is the browser.
    After that nothing happens anymore.
    Does someone here has any idea of what is going wrong

    Solved it.
    It's a browser security issue.
    In the custom security settings "Automatic prompting for file downloads" must be enabled.
    If this is disabled you normal get the yellow warning bar. But with Web.show_document() the browser opens and closes very fast.

  • Web.show_document in method post

    Hi,
    Is it possible to call a page php in form using web.show_document, when the same page php required the parameters in post ???
    Regards
    Giordano

    Hi,
    With web.show_document() you could call a html page that call your php page with POST().
    Francois

  • Creating tab pages in WAD 7.0

    Hi team,
    I have created a web template with a tab pages. I really dont know how to set a caption for the tabs and assigning created tables in to it.
    In properties I have changed the caption name where still it is not changed in the output and I could not able to assign the second tab with another table.
    Can any one help me by providing the step by step process of creating a tab pages with 2 tables in WAD.
    No links pls if it a general explanation as I have checked with so many general explanations docs.
    Regards,
    chan

    Hi,
    I have already created tabpages in BI 7.0, it is very easy.  I am upload the code of my created tabpages.
    http://download.yousendit.com/53DABBE711069E9C
    In this template I have included 8 Tabpage and each Tabpage will call a different template.  While assigning the Webitems and dataproviders to the tabpages follow the naming convention include the sub Template name so that you will not receive error saying duplicate webitem assigned.

  • Browser Time out in Reports (using WEB.SHOW_DOCUMENT to call reports)

    When running a big report which takes a long time to run, it finishes on the report server but in the browser the screen is stuck at the parameter form, you don't see the report output. It's as if the browser has timedout. Is there a solution to this?
    I am running reports using WEB.SHOW_DOCUMENT only - through a URL. This seems to be a huge drawback of using this method.

    Is the browser launching?
    If it is have you tried a show source on the browser window?
    Sometimes if you open an XML file in a browser you get a blank page but the XML is there. Something to do with the XML format I think. I'm no expert on XML just a behaviour I have observed.

  • How do I keep the new tab page thumbnails visible even after deleting my browser history?

    Every time I delete my browser history, I notice thumbnails of my pinned sites on the new tab page disappear. Is there a way around that; or something that can be done so it doesn't occur in future versions of Firefox?

    Current Firefox versions use a separate thumbnails folder to store those images, so clearing the cache should no longer make them disappear.<br />
    However clearing the history will prevent any slots from retaining the URL.<br />
    If you want specific pages to show on the about:newtab page then you can drag a bookmark or history link into a slot to pin a web page.
    Do any of the slots have an URL displayed under the image placeholder?

  • Web.show_document-i dont want to open report in browser just save in folder

    Hi all,
    I m using the following code for pdf file generation using a loop. The problem is every report is open in browser and then save a pdf file in a specific folder. I want that report is not open into browser just save pdf files in a specific folder. Any body knows how i do this. I am using 10g developer 9.0.4.
    DECLARE
         v_SAM_CUST_ID     NUMBER(22);
         CURSOR C1 IS  SELECT
         SAM_CUST_ID
         FROM SAM ,DE_ADDR
         WHERE SAM.SAM_CUST_ID=DE_ADDR.DE_CUST_ID
         AND SAM.SAM_FREQUENCY IN ('DAILY','MONTHLY','Quarterly','Half yearly','Yearly');
    BEGIN
           if :TEXT_BOX1='S' then
           OPEN C1;
           LOOP
           FETCH C1 INTO v_SAM_CUST_ID;
           EXIT WHEN C1%NOTFOUND;
           --message('You have enter S'||v_SAM_CUST_ID);
           WEB.SHOW_DOCUMENT('http://plato:8889/reports/rwservlet?report=C:\CUST_PRINT1.rdf&P_1='||v_SAM_CUST_ID||'&cust_id&desformat=pdf&destype=cache&userid=wh1/wh1@dwh');
           END LOOP;
           CLOSE C1;
       END IF;
    END;
         

    This configuration file is present in the /reports/conf/ directory.
    It contains a few examples, very usefull if you want to hide some informaztion, like the connection string for instance.
    you can call it by setting the entry name in the url:
    http://machine.fr:7778/reports/rwservlet?my_entry&report=report.rdf&destype=...
    Francois

  • Closing the browser windows created by web.show_document and javascript

    From Forms I am issuing a http request using web.show_document and javascript:window.open(). The http request makes a remote procedure call to a coldfusion component on a JRun appserver. I want this rpc to fire in the background so that the current forms browser window remains as is.
    The logic is as follows
    l_rpcURL := 'http://....just a standard URL.....'; -- edited for this thread
    l_jsURL := 'javascript:window.open("' || l_rpcURL || '","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=no");self.close();';
    WEB.SHOW_DOCUMENT (l_jsURL,'_blank');
    The http request works fine but leaves a browser window behind. It's the one created by the javascript.window.open(). If I remove the self.close() from the javascript then I have two browser windows open, one from web.show_document and the other, as described previously, from the window.open().
    Any idea how I can force closure of the window opened by the window.open() ?
    Thanks

    Hi,
    did this occured afer installing service pack 2?
    A work around is The only solution that is to create a close.html file and calling this file in the code: Web.show_document('http://server:port/close.html','_self');
    <html>
    <body onload="closeit()">
    <script>
    window.close();
    </script>
    </body>
    </html>
    Monica

  • WEB.SHOW_DOCUMENT . Publish reports character mode directly within browser!

    hello!
    I'm having the problem.
    When I want to publish reports character mode directly within browser!
    The code is as follows!
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, RUNTIME);
      SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
      SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE,  FILE);
      SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, '');
      SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER, server );
      v_rep := RUN_REPORT_OBJECT(reportFile,mparamlist_id);
      rep_status := REPORT_OBJECT_STATUS(v_rep);
         if rep_status = 'FINISHED' then
            vjob_id :=substr(v_rep,length(server)+2,length(v_rep));
      WEB.SHOW_DOCUMENT('../reports/rwservlet/getjobid'||vjob_id||'?server='||server,'_blank');
         else
      message('Fail to create Report!');
         end if;
    The report is generated,
    But it does not open directly in browser!
    The browser will download a file without extension / format, with the name 'getjobid38'!
    When I change the code to 'TXT'
    WEB.SHOW_DOCUMENT('../reports/rwservlet/getjobid'||vjob_id||'.txt?server='||servidor,'_blank');
    The following error is returned:
    rep-50003 the command line is invalid: getjobid38.txt
    Already grateful!

    working with forms 11gR2 (11.1.2.1)

Maybe you are looking for