WEB.SHOW_DOCUMENT documentation

Does anybody know where I may be able to find a good document on WEB.SHOW_DOCUMENT? Is WEB a package and if so, does it have more functionality than SHOW_DOCUMENT?
Thanks a lot,
Thomas

Hello Thomas,
Check this out:http://www.oracle.com/technology/products/forms/pdf/10g/frmwebshowdoc_rep.pdf
Cheers,
Suresh

Similar Messages

  • Web.show_document working with abnormal parameter

    I was opening some web pages from forms 10g using:
         web.show_document(url, '_blank');
    in a button pressed trigger. That worked fine, except it continually opened new pages. If the button is pressed 10 time, 10 pages opened one after another. I was giving warning to the user about this quirk.
    Then while debugging I happened to edit the code and change it to:
         web.show_document(url, '_blank;');
    With the semicolon at the end of _blank parameter the pages now open in one browser window, replacing itself if the button is repeatedly pressed. This is exactly the functionality I want. However, I can't find any documentation that uses any parameter for web.show_document other then the standard ones without semicolons included.
    Does anyone know if this is safe to do?

    Hi,
    You can use below different parameters depends on your requirements. To view documentation press ctrl+h in forms builder,  use search feature to locate the topic.
    '_self' Causes the document to load into the same frame or window as the source document.
    '_parent' Causes the target document to load into the parent window or frameset containing the hypertext reference. If the reference is in a window or top-level frame, it is equivalent to the target _self.
    '_top' Causes the document to load into the window containing the hypertext link, replacing any frames currently displayed in the window.
    '_blank' (default) Causes the document to load into a new, unnamed top-level window. Note that these targets are lowercase and enclosed in single quotation marks.
    hope this help you.

  • Report Status using web.show_document

    Hi all.
    I am using the web.show_document for running my report - using distribution xml file and mail.
    I want to insert a record in a table if the report generation succeeds.
    From Oracle Documentation I can see that I cannot get the report status in the form when it is run using web.show_document.
    And for distribution I cannot use run_report_object.
    Any workaround for this?
    Thanks in advance
    Anu.

    Dear Mr. hisham,
    Thanks For your Post,
    Actually i have the same issue, but it want to kill a running report in the report server by clicking such a button that have already the jobID.
    whithout opening the reportserver page so that no body see any other reports running.
    like in this example:
    Declare
    L_URL Varchar2(1000);
    Begin
    L_URL := :apps_server||'/reports/rwservlet/Killjobid'||:JOB_ID||'?'||'server='||:report_server;
    WEB.SHOW_DOCUMENT ('javascript:window.open('||l_URL||');self.close()','_blank') ;
    End;
    Is it posible to do that, If so how can do it. and do i have to do any settin someware on the server like formsweb.cfg or reportserver.cnf.
    thanks in advance.

  • IE Security Setting for web.show_document

    Hi,
    I've run a report on the report server and generated it as a pdf, now I want to open the PDF using web.show_document.
    As it starts to open I get an error message saying that the security settings of IE are preventing the opening of the file.
    I've not seen this before over a number of different installations. I've disabled the pop-up blocker for this site.
    After searching I've not found anything here.
    Is there any documentation on what to set the security configuration to?
    IAS v 10gR2
    IE v 6.0
    many thanks
    Tony

    Make sure that the URL you are opening, the OAS host server domain name in this case, is within the trusted sites of the browser.
    It happened with us when opening our application online from the internet.
    Tony

  • Problem with web.show_document with Jinitiator and Firefox

    Not sure Firefox 2.0 is officially certified with Forms 9.0.4.1 and Jinitiatorbut regardless we have some users who want to use this combination. Everything seems to work fine except for the calls to web.show_document which opens a new browser window and displays some html etc.
    The problem is that even though the client Forms JVM is Jinitiator (1.3.1.18 or .21) when the call to web.show_document occurs somehow the Sun Java Plugin starts and having the two JVM's at once causes a fatal crash in Firefox. Can anyone suggest a way to preven the second JVM from opening?
    When the user uses the Sun Plug as the client Forms JVM there is no problem as the second JVM does not open. Unfortunately some users insist on Jinitiator with Firefox hence the problem. -quinn

    James,
    This whole applet embedded in a browser model for webforms is driving us batty at times. The list of problems includes:
    1) Users are constantly tempted by browser controls and accidentally do all sorts of things to get them in trouble. This has included but not limited to using the navigation arrows, jumping off to read their email in the same window as the form and returning to a dead forms session, minimizing, resizing, blurring off to another window and then returning back by clicking on the title bar of the browser and wondering why the form doesn't tab etc.
    Sure hobbling the browser by opening with limited functionality is a possibility but not a complete solution.
    2) New versions of browsers seem to break something. Both IE 7 and Firefox 2 have their own problems with web.show_document, especially file associations such as CSV and DBF and trying to open things in Excel in IE7.Firefox seems to have less problems for some yet some some oddities like the one that started this thread (and 2.0 opening new windows in tabs by default instead of windows).
    3) JVM jigsaw puzzle. Is it Jinit or Sun, which versions? Which combinations of browser version and JVM works.
    4) General fragility of the whole architecture. Running a client JVM in a web browser on top of a PC Operating system connectiong to a forms server over a network embedded in a Java Container server on a full blown web server running on a unix operating system is pushing the bubble. Throw in the mix that any of these components can be combined in numerous ways makes one wonder how it works as well as it does.
    Still users randomly getting dropped connections to forms server (network gltches?). General sluggishness (poorly written forms?). Periods of users with unduplicatable errors primarily network related it would appear.
    General feel that it is not rock solid stable. Perusing metalink documents on performance and tuning gives too much and too general info to troubleshoot so just shrug shoulders and say 'network problem'.
    What's the solution? Java webstart would seem to help at least with the browser realted issues but is that supported and documented how to use yet. Also we'd lose web_show_document which is critical (could it be replaced by webutil calls to open browser?).
    -quinn

  • Web.show_document cannot display file with Chinese char in IIS 6

    Dear all,
    There is a problem that web.show_document cannot display file with Chinese char in IIS 6, but works fine in IIS 5.
    Is it a server problem or is there any setting in server? Do you know how to solve it?
    Big Thanks
    JY

    Hi,
    As Francois mentioned, this issue has nothing to do with forms / web.show_document. web.show_document, just opens the URL specified as parameter. So, if you run the URL (that you've passed as argument for web.show_document), directly in the browser, you would be getting the same issue.
    So, as you said, if it works fine in IIS 5 and does not in IIS 6, it would be an issue with the IIS and not forms. You might want to check out the IIS 6 release notes / documentation for any known issues / raise an issue in that.
    -Arun

  • Running Reports with WEB.SHOW_DOCUMENT versus RUN_REPORT_OBJECT

    Where I work I work alone on developing and delivering Oracle applications. I've found a way of running reports in 10g over the web using WEB.SHOW_DOCUMENT, I've embedded my own security in the BEFORE PARAMETER FORM trigger of the reports.
    I don't have time to trawl through thousands of pages of documentation and I need to know whether there is a fundamental drawback of using WEB.SHOW_DOCUMENT over RUN_REPORT_OBJECT? I've got everything working OK in my test environment, but it's not clear reading the Oracle documentation whether there is a major drawback with this method, in particular I'm interested in any performance/load issues. I'm slightly worried because most people seem to use RUN_REPORT_OBJECT (which has all sorts of issues, such as parameter form incompatibility etc), I've found that WEB.SHOW_DOCUMENT is much easier to implement as it avoid the parameter form issue, displaying the user credentials in the source html and being able to type in any jobid in a url to receive other peoples reports.
    I've read as much as I can including the Forms and Reports integration document and the Usability Matrix and can't find anything obvious. I would be very grateful for any comments.

    Good call .... I included some of the code from your linked document to create a forms library from which to run reports. This uses the inate ability of reports to generate HTML parameter forms at runtime. Very handy. Most of our reports that we upgaded recently took little or no effort.
    Bradley

  • Web.show_document gives FRM-92020 error unknown protocol

    Hi I am hoping someone can help.
    I am using web.show_document in forms 10g and get an FRM-92020 unknown protocol error. The URL I am passing starts fddl:// this is a legitimate call to an Electronic Document management system image search engine. The URL works 100% outside of Forms, i.e cut and paste into an internet Explorer address bar. The problem is with web.show_document parsing for 'known' protocols.
    Is there any way I can stop this validation from taking place. Incidentally I can HOST out and call iexplore with the URL and again that works (client Server), however we do not have webutil installed for me to do the webutil equivalent in our live environment!
    Any help will be great, thanks in advance.
    Trev.

    Hi Francois,
    thanks for replying.
    Yes I am using '_blank' as the second parameter.
    The URL I am passing is dynamically genreated and held in a variable. My call is:
    web.show_document(l_url,'_blank');
    the url evaluates to something like below:
    l_url := 'fddl://fmhsqlserv/filedirector/...........................'
    I am struggling to find any documentation on web.show_document that will help with this scenario. It is frustrating as the url is 100% OK, its just the evaluation of it by the function call.
    Any help or ideas are welcome.
    Trev

  • Hide address bar w/WEB.SHOW_DOCUMENT

    I am currently using WEB.SHOW_DOCUMENT to run Reports with
    Developer Server. It is outputing as a PDF in IE5. It works
    great. But I have a security concern. The report has to know
    who the current user is to properly fill in some parameters. I
    use the GET_APPLICATION_PROPERTY in Forms to get the USERID and
    PASSWORD. These get passed to the browser as part of the
    visible URL when the report is output as a PDF in the browser.
    I would like to hide the browsers address bar for these reports.
    Is there a way to do this?
    Thanks for any suggestions in advance!
    null

    I can actually answer that! I had the same problem initially.
    I spent a whole day searching both Microsoft and Adobe
    documentation
    and websites. I finally found the answer buried in Acrobat
    Reader's
    documentation.
    In your Adobe folder(I don't remember exactly where) you will
    find
    a file called Nppdf32.dll.
    Simply copy it to C:\program files\internet explorer\plugins
    You should now be able to view pdf files in IE5.
    FYI - Acrobat Reader 4 appears to have some sort of bug in it.
    Once it is installed it will mess up IE5's ability to download by
    clicking on a download link.
    When you click on a link for a download it tries to start Acrobat
    Reader 4 and then the download just fails.
    You can work around this by right-clicking
    on the link and selecting save as. But if it is a button that
    you
    click on to initiate a download you can't do that.
    I have not been able to undo this so if you can I would recommend
    using Acrobat Reader 3
    nirali (guest) wrote:
    : Hi!
    : I dont have answer for your ???
    : But I have one ??? for you if dont mind.
    : I could not get PDF output in IE5. Please let me know
    : what preferences I have to change on IE5 to get PDF output.
    : Thank You
    : Nirali
    : Dennis Lunt (guest) wrote:
    : : I am currently using WEB.SHOW_DOCUMENT to run Reports with
    : : Developer Server. It is outputing as a PDF in IE5. It
    works
    : : great. But I have a security concern. The report has to
    know
    : : who the current user is to properly fill in some
    parameters. I
    : : use the GET_APPLICATION_PROPERTY in Forms to get the USERID
    and
    : : PASSWORD. These get passed to the browser as part of the
    : : visible URL when the report is output as a PDF in the
    browser.
    : : I would like to hide the browsers address bar for these
    : reports.
    : : Is there a way to do this?
    : : Thanks for any suggestions in advance!
    null

  • Question about web.show_document

    Hi,
    I am using form 10g and I want to call the function web.show_document to show
    a web page called test.html.
    Where the html should be placed so that calling
    Web.Show_Document('test.html','_self') will show the content ?
    Thanks.
    Ivan

    This question really has little to do with Forms. This is really a question related to using a web server.
    The html file needs to be located in a physical directory that corresponds to a virtual path which is defined within the HTTP Server. You can create your own or use an existing one. Refer to the HTTP Server (or Apache) documentation. Specifically look for references to using "mod_alias":
    http://httpd.apache.org/docs/1.3/mod/mod_alias.html#alias
    Here is an example assuming you are using Forms 10.1.2:
    1. Copy the html file to this directory: %ORACLE_HOME%\forms\java
    2. The URL you would use to access the file would look something like this (replace the server, port, and file name with your own):
    http://server:port/forms/java/test.html
    The WEB.SHOW call would look something like this:
    WEB.SHOW_DOCUMENT ('http://server:port/forms/java/test.html');

  • Calling Reports from Forms (run_report_object and then Web.Show_document)

    Hi all,
    we are in the process to prepare a Forms-Migration from 6i to 10g and like probably most of the other Forms-Customers we also use Reports.
    We have setup a test-scenario with Forms/Reports Standalone Installation. So we have some Forms running and we are now starting to test reports.
    I have created a Test-Form to call run_report_object in the documented way. That means described in the white paper. set the parameters, then call the run_report_object BUILTIN and when the job is finished, I do a call to the Web.Show_Document BUILTIN with "getjobid". As destype I use "CACHE"
    So far so good, that works like a charm.
    But after seeing the output in the browser, I can use the URL as a template and only change the jobid and then I can see all other reports as well, whether the output is from me or not. Even worse if I change the URL to use the command "showjobs" I can see a nice list with all the output and can click and see all of them.
    Is there a way to secure this in an easy way.
    I have read the white papaer about securing the use of WEB.SHOW_DOCUMENT with a cookie, but that sounds to me that it is meant if I want to run the report with that builtin which isn't the case I am willing to run the Report with "RUN_REPORT_OBJECT" which is secure enough to me, but the output of all jobs can be seen from anybody.
    Because we use the Forms/Reports Standalone Installation (because of License-Costs, ...) Single-Sign_on is no option for us we only want a situation where we can do the same as before.
    Run a report, see the output and nobody else can see it.
    If anybody has an idea how to do it, that would be great.
    Thanks,
    Mark

    thanks for the answers,
    but I'm still thinking that there is no "easy" Migration-Solution for our request.
    Running a report and after doing whatever needs to be done (read, print, ...) and don't care about additional security because nobody else can read it.
    But that might be the price for the bunch of new features in the "Web"-World were you never know where your application runs and you have to secure a lot more stuff then before.
    Anyway I think we proceed with a combination out of the adviced Metalink Note : 437246.1. We can set the expiration-parameter, we cannot set diagnostic=NO because we use Run_Report_Object but we can change httpd.conf and we reject all calls to showmap, showjopbs, etc.
    I'm not sure whether we need the rewrite part, but we'll see.
    Thanks,
    Mark

  • 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

  • To access pdf files from application server using web.show_document

    Hello!
    If my pdf file is copied in Oracle_home/forms90/java directory.Then using web.show_document i can access the pdf file.But I can't copy all the pdf files in /forms90/java directory.We have lacs of pdf files which I want to keep in my own directory.But my requirement is if my pdf file is in /home2/docs directory in (Linux application server) ie in my own directory where I store all the pdf files.Then web.show_document does not open the pdf file.It says page cannot be displayed.For that I think we have to configure the directory /home2/docs directory as a webserver.From otn I got something like forms90.conf file in application server where we have to set virtual directory mapping etc.If the pdf is in local machine then in orion-web.xml file we have to mention real path and save the file and shutdown oc4j instance and restart it again.I tried it.But it is not working.Can u give me step by step instructions to solve this problem.I found a few links in discussion forum.But is doesn't work out.My pdf file is in /home2/docs directory in Linux application server.Please treat it as urgent.
    Regards
    Jayashree

    Hi Sandeepmsandy,
    There is no available code sample for this scenario. You may write your own.
    Step 1: Get pdf URL from sqlite database. Please refer to the following MSDN blog and see a code sample.
    http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx. Note, you need to retarget the project to 8.1 and then get two sqlite packages from NuGet before building this sample.
    Step 2: Use some special classes to get file from serer.
    HttpWebRequest can help download small pdf files. For more information to see
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/de96a61c-e089-4595-8349-612be5d23ee6/download-file-with-httpwebrequest?forum=winappswithcsharp. It’s easy for use, but if you want to download the larger or many files, it’s recommend to use
    BackgroundTransfer namespace. The classes in this namespace provide a power way to transfer files in the background. See a code sample from MSND.
    https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • 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 does not work with long running reports

    I am using Web.Show_Document() to call reports from Forms. Everything works fine for smaller reports. However for long running reports I do not get the output instead get the page "This page cannot be displayed.". On checking the job status on the report server I find that report is still running and completes after some time but by that time my http request has already timed out. What configuration do I have to change to make my long running reports work.
    Thanks

    So, looks like this is an IE issue. I need to add the form server site to my list of Trusted Sites. Once I did that, everything started to work fine. Thought I'd share in case anyone is really interested.....

Maybe you are looking for

  • One tab is not reflecting in main breadcrum

    Edited by: Adi's on Jul 9, 2009 7:33 AM

  • How to format data in internal table

    Hi Friendz... In a program i have transferred the data from a Excel Spread sheet (.xls file) to an internal table using FM <b>"ALSM_EXCEL_TO_INTERNAL_TABLE"</b>. The internal table is like this: begin of xl_data occurs 0,      vendor name      street

  • Quantity Column in a Report painter

    good day Sap masters, i need to know how can i get to capture actual quantity data in a report prepared by way of report painter. i have been able to bring the qty column to which i have assigned a predfined Actual Qty characteristic inspite of this

  • I was going to ask a question but just read the Ipod touch help forum

    I WAS going to ask about IOS on the Ipod touch with the intention of purchasing one for my grandson and syncing it to my imac After reading this lot he can have summat else instead Thank you You have probably saved my Imac, my sanity and my marriage

  • Faces didn't inventory all the folders and projects

    So I had Faces turned off for many months to improve performance.  In the meantime, I imported about 10,000+ images into a variety of folders, etc.  I then turned on Faces because I thought it would be fun to play with 70 years of different pictures.