Can web.show_document use a Windows filesystem-style URL?

Hi,
I need to open Word documents from Forms9i.
The docs are on a Win2k fileserver located on the same LAN with the user desktops, while the Forms 9iAS server (a Win2k box itself too) is remote, over a WAN link.
The folder in the fileserver where the docs reside is mapped as a network share in the 9iAS server.
The mechanism currently envisaged for viewing the Word docs is:
- use the show_document built-in for launching a second Internet Explorer window, from the Forms JInitiator main window on the desktop.
- the URL passed to show_document is http://9iAS_IP_address:port/path_to_fileserver_share/document_name.doc
In this way, each Word document to be viewed on a desktop will have to go through a round-trip from the fileserver over the WAN to the 9iAS Forms server, then back over the WAN from the 9iAS webserver to the desktop running the main window of the application.
Assuming that the same document folder in the fileserver is mapped as a network drive for all desktops (e.g. as N:), could we pass to show_document a Windows-style URL like "N:\document_name.doc" or "file://N:\document_name.doc"?
Will the browser (which is MS IE) then open the document from the local LAN share, rather than through http and the WAN roundtrip?
We cannot upgrade to 10g and adding any other add-in such as WebUtil to the forms triggering the viewing of Word docs is out of the question (at this time); this is a COTS packaged application.
Note: I am not a Forms developer, have no experience and no access to a Forms development environment, so I can't try for myself.
Thank you very much,
Gabriel

Gabriel,
Francois has a good point! Try Frank's example. It will work. I use it quite often.
web.show_document('file://h:\documents\ref\abcde123.doc','_BLANK');
Regards,
Martin Malmström

Similar Messages

  • Web.show_document using javascript in Forms6i

    Dear all,
    I wnat to know in forms6i , is it workable calling web.show_document with javascript?
    As I face a problem that calling a url by web.show_document, but the requirement should not display the menu bar ... how can I do?
    Thanks in advance.
    JY

    jennisy wrote:
    Hi,
    Actually, there is a button to trigger the web.show_document.
    I've tried this code, but it doesn't work. There is no any feedback and no error popup.
    WEB.SHOW_DOCUMENT ('javascript:void(window.open("http://www.yahoo.com"))','_blank');
    Hi JY,
    what happens if you actually try this
    Web.Show_Document(‘http://www.yahoo.com’, ‘_blank’);

  • In time capsule, can ethernet ports used for windows pc as a LAN?

    in time capsule, can ethernet ports used for windows pc as a LAN?

    i am connecting my windows pc to the time capsule ethernet prots but those pcs are not shown in my macbook or those windows pc also can not see my macbook pro. i am facing the problem...

  • HT3986 can bootcamp be used with Windows install disk on an external drive (internal is broken) ?

    can bootcamp be used with Windows install disk on an external drive (internal is broken) ?

    With Boot Camp, you must install Windows onto in internal HDD (or SSD).  If you are referring that your internal Optical drive is broken, you might be able to install Windows from an external drive, but you might not.  I have heard varying levels of success with that.  I'm not sure what the official stance is, but I do know that if youe machine shipped with an internal optical drive, then you must use that to install Windows using Boot Camp and not swap it out for a "data doubler" and try to install from an external optical drive.

  • I am setting up a lab of imacs in a school.  I have successfully bound the imacs to our network and can log in using the windows account.  However, I cannot access my files.  Is there another step?

    I am setting up a lab of imacs in a school.  Our network is windows based using active directoy.  I have successfully bound the imacs to our network and can log in using the windows account.  However, I cannot access my files.  Is there another step?

    If the modem is also a router, either use the modem in bridge and run pppoe client on the TC.. that is assuming ADSL or similar eg vdsl. If it is cable service.. and the modem is a router, then bridge the TC.. go to internet page and select connect by ethernet and below that set connection sharing to bridge.
    Please tell us more about the modem if the above gives you issues.

  • Can't CF use non English characters in URLs ???? (critical for SEO)

    Hi all,
    I want to use non English characters (Greek characters) for folders of the URLs.
    eg   http://www.mysite.com/Φάκελος/index.cfm
    where "Φάκελος" is a non English word (Greek).
    When the called page is simple HTML  eg   www.mysite.com/Φάκελος/index.HTM
    it's displayed just fine.
    When the called page is CF page  eg   www.mysite.com/Φάκελος/index.CFM
    I get a "FILE NOT FOUND" error.
    In the page where the link exists everything is UTF-8.
    What's the problem ? Can't CF use non English characters in URLs ????
    It's critical for SEO issues.
    I use CF9.  Any ideas ???
    Thanks in advance.
    Anastassios

    I don't have this setting in the email application. But as I know, html with Exchange is working only with the 2007 version, my server is still 2003 so I think in my case it's plain text only.
    But I'm telling again: good old (and now starting to miss) E60 with MfE worked very well!

  • WEB.Show_Document(POP Up Window In 11g forms)

    Is it possible to open a Http inside the POP Up Window In 11g forms.
    This is what i tried to use:
    Created a Dummy Window,dummy Canvas and by clicking the push button i gave this message:
    web.show_document('http://www.google.com','Html_Window');
    WEB.Show_Document will open only in seperated window but i need to open in the Pop Window is it possible please help on this.

    As Denis mentioned, you cannot show html content natively in a form. You would need a bean to do that. However, if you are just trying to create something that looks like a standard browser pop-up window, there are several ways to do it. Be aware however, that in some cases, the following example will not work if you are using an older JRE. The latest JRE is 1.6.0_29 and runs the following code correctly assume the browser is not set to block pop-ups.
    EXAMPLE 1:
    web.show_document('javascript:window.open ("http://www.oracle.com","myPop","location=no,toolbar=no,menubar=no,status=no,resizable=yes,height=600,width=600");self.close();');
    EXAMPLE 2:
    Declare
         inJS      varchar2(32767);
    Begin
         -- More info about window.open here:
         -- http://www.w3schools.com/jsref/met_win_open.asp
         inJS := 'new_win=window.open("http://www.oracle.com","new_win1","menubar=0,location=0,toolbar=0,status=0,scrollbars=1,resizable=1,width=500,height=600");';
         web.javascript_eval_expr (inJS);
    End;

  • I have Photoshop CS6 for mac with 3 licenses, can 1 be used on windows 8.1

    Can CS6 be used across two platforms, Mac and windows?  I have 3 licenses, two used on Macs and I would like to use the 3rd on a new windows 8 computers.

    Nope.  Not unless you are on the subscription model, that is.  Before the Cloud subscriptions, Photoshop licenses were strictly platform specific.  You could ask for a platform swatch, but that involves signing a letter of destruction of the Windows versions.

  • How can we print using the windows printer dialog window?

    Hi,
    We recently got new printers and a printer setup on our server that are set to print in greyscale as a default. In the past the printers defaulted to printing in color. When I create VI's and reports I have used to set "Print on completion" or the print option from the Report Generation Toolkit, and I have received my prints in color. After changing the printer drivers on the server any printing method I used to do from LabVIEW will always produce greyscale prints. These prints are fine for everyday use, however we need color prints when the documents are for customers or for other official use.
    If I could only send documents/VI's to that process the user could override the "greyscale" setting and select "color" in the cases where we need a better looking print. Obviously the other option is to save the document/VI as a file and later print it from any windows software (Excel, Paint etc.).
    Do anyone have any neat tricks for printing using the windows printer dialog?

    You can change printer settings programmatically via a .NET assembly. You can also bring up the Print Dialog to change settings manually before printing.
    More info on the .NET assembly for colour settings here:
    https://msdn.microsoft.com/en-us/library/system.drawing.printing.pagesettings.color(v=vs.110).aspx
    An NI KB link on calling a print dialog:
    http://digital.ni.com/public.nsf/allkb/80DD23A28BD8ADF9862575AC0077B1BB?OpenDocument
    CLD

  • 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

  • Can ADE be used with Windows 8.1?

    My old computer with ADE crashed.  Do I need to reinstall on my new PC which has Windows 8.1?  Can you give me instructions as to how to do that?  I'm a senior lady and not very technically savvy, so the more detailed your instructions, the easier it will be for me to follow.   Thank you.

    Are you using ADE to read bought books, library books, or only free books?
    If only free books, I suggest you install the superior free Calibre instead (http://calibre-ebook.com/)
    For bought or library books you do need to install ADE on the new machine.
    You will also need to register it with your Adobe ID; the same one you used on the last machine.
    If you can't remember that ID or the password, ask, and we may be able to help.
    I will give instructions for the latest version of ADE (2.0.1), even though I am afraid it has more problems than the old one it is more 'standard'.
    Goto http://www.adobe.com/uk/products/digital-editions/download.html
    Click on the 'Download Digital Edition 2.0.1 Windows (5.6 MB)'  (you can go direct to http://download.adobe.com/pub/adobe/digitaleditions/ADE_2.0_Installer.exe if you prefer)
    When it has downloaded you must open/run it.  If you are using Internet Explorer, choose the Run option when you start the download.
    It should now go through a fairly standard install procedure, asking if it is ok to run the program, etc etc
    Take the easy 'yes' or equivalent option at each step.
    When it is safely installed, run it.  It should have put an icon on the desktop.
    You now need to authorize ADE. 
    Use ctrl-shift-U which will open up a dialog asking for your Adobe ID and password.
    You should now be able to use it pretty much as you used ADE on your old machine.
    Good luck.  Unfortunately not a very easy process even when all works well, and there are several things that can go wrong.
    Don't hesitate to ask again if you need help.

  • HT2205 can isync be used for windows os mobile phone

    i got a mobile phone which run Windows os.  Can the said software be used for sync between the phone and Mac PC (os 10.7)?
    i get another Samsung mobile phone.  The Kier program, that released by Samsung, cannot find/connect the phone when using USB wire.  When using Wifi, the iCal cannot be sync.  What is a better soluction for this?

    The free one is on the Mark/Space website. I found it by:
    1>>Go to www.markspace.com
    2>>Click on PRODUCTS on the NaviBar
    3>>Below the "Choosing your phone for the Missing Sync", there is a bunch of links under the title PRODUCT SUPPORT. The last link (on the last line) of that bunch of links is FREE VERSION UPDATES.
    4>>I needed one for Windows Mobile. So I downloaded VERSION 3.1.0, and haven't used a serial code. It keeps asking me everytime I sync to get a serial, but I haven't. I just said "REGISTER LATER", and I have being getting away with it fine. I know it's illegal, but they offered it as a free version. Who can argue with that?
    (Don't answer that question!!)
    Hope this helps!

  • Problems Securing Web.show_document  using the java bean

    Friends,
    I know this is a hot topic, but after reading through a lot of the previous posts I can not find any reference to the problem I am encountering.
    I am using Forms 10g Release 2 (10.1.2.0.2)
    Basically I have implemented the bean as the white paper instructs but when the report is first run I am presented with a Oracle Reports screen that has the title
    Database User Authentication, followed by fields to enter the username, password and database
    Below the submit and cancel buttons there is the following message "REP-51018: Need database user authentication"
    Once these details are entered the report runs ok and if the report is run again then this logon screen is NOT shown.
    Thanks in advance for any help you can provide.
    Regards

    Hi,
    you describe the problem, but you don't provide any help for this forum to help you. What is the debug output of the Jinitiator console? Note that the bean uses JSObject class that doesn't work with newer versions of Netscape, so are you using Netscape? What is the machine address ? Is the machine with a domain name, or is it local host or IP in which case setting the cookie can be failed
    Frank

  • Can CS4 be used with windows 7

    I had CS4 but my IT says it is incompatible with CS7. Is this true?

    I meant is it compatible with "Windows 7".

  • TS2776 can itunes be used with windows 8?

    I am having trouble getting music from a CD to my ipod.  I have a new pc with windows 8.  What do I need to do?  This worked before the new operating system on the ipod so I don't know if this is a problem on the ipod or on windows 8. 

    Works for me on my Win 8 PC

Maybe you are looking for

  • CS5 doesn't offer basic audio functionality (playback stops on page turn)

    I would like to place a sound file and in the exported pdf have the sound file play (via button or playback toolbar), without stopping on page turn. To me, this is a very basic function to ask for. But guess what? CS5 can't do it. Turn the page and t

  • Can "Standard Report Column" be the Default Instead of "Display as Text"

    Almost every report region I write has some html in at least one column, whether it's a break or an apex_item or something else. Hence, when the region renders with the default settings, the column shows the html code - I have to change the column di

  • LabVIEW Programmer – Enable Integration

    Enable Integration (a division of Enable Training and Consulting, Inc.) is seeking a LabVIEW programmer to join our integration team and immediately be a core part of several projects.  Today, we are a team of 20 employees and have a diverse range of

  • Muse CC 2014 Crashing when I try to edit Page Metadata / HTML section

    Muse CC 2014 is crashing consistently when trying to edit Page Properties / Metadata / HTML.  It appears that if I try to do Copy Paste of some text into this box, without already having a blinking cursor in the box, that Muse crashes with the error

  • DateTimeConverter pattern property problem

    Anyone else have a problem entering a date/time pattern using the custom editor button [...] in the Properties tab? Every time I enter a pattern (eg. EEE, d MMM yyyy HH:mm:ss zzzz) using the pop-up custom editor (accessed by clicking the little [...]