Opening URL from Form

Anybody has any idea of how to open an url (or webpage) from a webform in the same window. I cannot use Web.Show_Document() as it opens the webpage in a new window.
Thanx in advance.

Taken from help
SHOW_DOCUMENT(url, target);
Built-in Type: unrestricted procedure
Enter Query Mode: yes
Description:
Specifies the URL and target window of a Web application.
Parameters:
url Datatype is VARCHAR2. Specifies the Uniform Resource Locator of the document to be loaded.
target Datatype is VARCHAR2. Specifies one of the following targets:
_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 Causes the document to load into a new, unnamed top-level window.
Restrictions:
Can only be used from within a form run from the Web.
Example:
** Built-in: WEB.SHOW_DOCUMENT
** Example: Display the specified URL in the target window.
BEGIN
Web.Show_Document(http://www.abc.com, _self);
END;

Similar Messages

  • Open url from xchat in opera

    I'd like to open urls from xchat in opera.
    Under settings>advanced>url handler:
    !opera -remote 'openURL(%s)'
    xchat has tcl as an optional dep, so I installed that.
    This is in xfce4 and I have set opera as the preferred browser.

    Well, I'm afraid that is not an option.
    The goButton is in a table row. There are lots of rows so if I use EL for Destination attribute the URL would be retrieved for each of rows.
    The method of URL retreiving is heavyweight operation which includes calling plsql functions, working with strings and others. So if I do it for each table row my application hungs and then I receive an exception of CPU usage.
    That's why I switched to normal commandButton witch actionListener which retrieves url on click - only once. So I need to open URL from Java.

  • Open URL from Java in a new browser tab

    Hi OTN,
    Surprisingly can't find the implimintation.
    In an ADF managed bean I retrieve String url. I need to open a new browser tab with this url.
    Found this thread Open a url in a new window in the backing bean which shows using javascript "service.addScript(facesContext, "window.open(http://www.google.coml)");".
    But in my case in doesn't work. The code is executed, but nothing happens. Maybe because the bean is called from a taskflow inline popup.
    ADF 11.1.1.4
    Thanks.

    Well, I'm afraid that is not an option.
    The goButton is in a table row. There are lots of rows so if I use EL for Destination attribute the URL would be retrieved for each of rows.
    The method of URL retreiving is heavyweight operation which includes calling plsql functions, working with strings and others. So if I do it for each table row my application hungs and then I receive an exception of CPU usage.
    That's why I switched to normal commandButton witch actionListener which retrieves url on click - only once. So I need to open URL from Java.

  • How to call a URL from forms ?

    Dear All,
    I would like to invoke / call a URL from forms. I know we can make a call Using Web.show_document. But this will execute in a browser.
    What i need to do is, i have to send a request to by calling an URL, that should not visible to any body.
    This is my requirement, please help if you know.
    Thanks
    Balaji

    hi,
    here is a quick example : (data from url returns as a clob. you need to write it at db. and call from forms.)
    FUNCTION Get_DataFromUrl(pUrl IN VARCHAR2,pProxy IN VARCHAR2,pData IN OUT CLOB) RETURN NUMBER IS
    vRcv UTL_HTTP.HTML_PIECES;
    vData CLOB;
    eNoDataReceived EXCEPTION;
    BEGIN
    UTL_HTTP.SET_DETAILED_EXCP_SUPPORT(TRUE);
    -- Get data pieces from Url
    vRcv := UTL_HTTP.REQUEST_PIECES(pUrl,Proxy => pProxy);
    IF vRcv.COUNT < 1 THEN
    RAISE eNoDataReceived;
    ELSE
    -- Append varchar2 table data into clob variable
    DBMS_LOB.CreateTemporary(vData,FALSE,DBMS_LOB.CALL);
    FOR i IN 1..vRcv.COUNT LOOP
    DBMS_LOB.WriteAppend(vData,LENGTH(vRcv(i)),vRcv(i));
    END LOOP;
    -- Copy local data into return variable
    DBMS_LOB.Copy(pData,vData,DBMS_LOB.GetLength(vData));
    DBMS_LOB.FreeTemporary(vData);
    END IF;
    RETURN SUCCESS;
    EXCEPTION
    WHEN eNoDataReceived THEN
    RETURN FAILURE;
    WHEN UTL_HTTP.INIT_FAILED THEN
    RETURN FAILURE;
    WHEN UTL_HTTP.Request_Failed THEN
    RETURN FAILURE;
    WHEN OTHERS THEN
    RETURN FAILURE;
    END Get_DataFromUrl;
    hope this helps.
    Engin.

  • Unable to open report from forms 9i

    Hi,
    Unable to open report from forms 9i and got the following error.
    Error : REP-0503, You did not specify the name of a report
    Steps followed
    1.Created report object in forms using existing report
    2.changed the following properties
    Exec. mode : runtime
    comm mode : synchronous
    3. When -button -Pressed Trigger;
    Declare
    Repid report_object;
    Begin
    repid:=find_report_object('report4');
    v_rep:=run_report_object(repid);
    End;

    Hi,
    did you specify a Reports rdf or rep file that should be run. You can do this either in a trigger or as a property of the Reports object node in Forms.
    Frank

  • Infopath form won't open from a URL, opens fine from form library.

    I have built a request process using SharePoint 2007 and InfoPath 2010 and a custom workflow designed in SPD.
    Everything works perfectly fine within the form library. However, I would prefer not to have my requestors go to the form library so I created a link to the form template.
    The issue is that when i try the URL to the form template, the form opens but throws an error that it cannot retrieve data for the form. This process is and will only be used internally, so
    I am having trouble understanding why this is happening.
    Error message (company names substituted in URL).
    Form template URL:
    http://security.home.mycompany.com/teams/activedirectory/PSAR/PSARRequests/Forms/template.xsn
    Error returned when opening form.
    The query cannot be run for the following DataObject: Access Requestors (An SP List of users)
    The SOAP response indicates that an error occurred:
    Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sharepoint/soap/GetObjectIdFromUrl.
    The query cannot be run for the following DataObject: RetrieveIDs (A query to retrieve list item ID)
    The SOAP response indicates that an error occurred:
    Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sharepoint/soap/GetObjectIdFromUrl.
    The query cannot be run for the following DataObject: Workflow History (A query to retrieve workflow data)
    The SOAP response indicates that an error occurred:
    Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sharepoint/soap/GetObjectIdFromUrl.
    From what i have seen in the past, i would have expected a security pop up before the form opened. I am thinking this may be part of the problem.
    Any advice would be appreciated.

     
    This filler or the client, I don't think it makes much difference. What is puzzling me and is the root of my initial question: Everything works perfectly fine if the user (requestor) goes
    to the SharePoint site opens the form library and click on the "New" button. The form opens in the InfoPath client and loads the data connections without issue. The entire process works fine from here and there is no issue.
    This issue is, if I send any of the users a direct link to the form template, it opens in the (InfoPath) client as it is supposed to, but will not load the data connection. I get the error
    messages stated in my original question stated above. Additionally, I have the option selected to store the data in the form. Once I suppress the error message, the data is not in the form template. There is no problem opening the form, just loading the data
    connection.
    I would like to find a solution to this although it is not tragic if I don't. I would rather not have the users (requestors) going directly to the form library if I can help it. It seems strange
    to me that this doesn't work because all the users are in the same environment as the SharePoint site. It is only used internally by authenticated users.

  • How to restrict URL to open only from Forms and not from Browser

    Hi,
    Our application built in Oracle Forms 10g, calls a URL.
    The URL is essentially a path on the application server where files are stored. Users can access this to download files from the server.
    However the URL can also be opened independently from the browser.
    Is there any way, such that the URL can only be opened through the application, and it should be denied when it is opened through the browser.
    More details :
    Server : itabc123
    Location on server : /home/rpdabc/interface/outward/
    Alias created in httpd.conf : /rpdabc-dir/ "/home/rpdabc/interface/outward/"
    <Directory "/home/rpdabc/interface/outward/">
    Options Indexes Multiviews
    </Directory>
    from application : web.show_document('http://itabc123:7778/rpdbabc-dir');
    Kindly advise,
    Thanking you,
    Rocky

    Actually, there are several options including the one already offered above. Here are a few more:
    1. If you are using 10.1.2.3 and a newer JRE on the client (e.g. 1.6.0_10 or newer), you could use java script to open the report. This will not be a perfect solution because it may not work if using a non-IE browser or if java scripting is disabled. Refer to MyOracleSupport Article 265863.1 for more information.
    EXAMPLE:
    WEB.SHOW_DOCUMENT ('javascript:void(window.open("http://www.oracle.com","","location=no,toolbar=no,menubar=no,"));self.close()','_blank');Replace the url in the above example with the call to your report.
    2. Set the age of the cache to a very short value so that it is only available long enough to be viewed by the user who created it. In other words, when setting the reports properties in your Forms code, include the Reports "others" parameter with TOLERANCE=1
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'TOLERANCE=1');This will cause the cache (on the server) to live for only one minute then be deleted. Refer to the Report Deployment Guide for more information.
    3. Upgrade to Fusion Middleware (Forms/Reports) 11. In version 11, the Reports jobid can be randomized. See section 18.8.2 of the Reports 11 Deployment Guide
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/b32121/toc.htm

  • Captivate 4 Open url from a button not working?

    Hi All,
    I have published a scorm course from captivate 4 and have installed to our servers. I would like to have a link to a document that is online (.doc) but whenever I click the transparent button it starts to load, opens a window (which has the correct title name) but then disappears with no warning or error message.
    The link resides behind a transparent button, and has the settings On Success open url or file in a new window.  I know the problem is not specific to this document because I have had the same problem with a completly different online file location in the past.
    Please Help!!
    Many thanks in advance.
    Chris Maile

    Hi there
    Please send me a private E-Mail message to rstone75 (at) kc (dot) rr (dot) com and advise of the exact file name of the file you are linking to.
    I'll send you back a file that you can use to test and see if the link works.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Back url from form?

    Hello.
    I have: a link, a report, a form
    When I set the link on a column on the report, it calls the form. (I also have edited the link so that the primary key columns are passed as parameters to the form to provide UPDATE/DELETE.)
    What I want to do is: Once the user submits the form, the form should redirect to the page where the report was displayed, and pass the parameters that were on that previous page. (basically, go back to where the user came from--exact url, which shows the update on the report) Does anyone know how to do this?
    The best solution would be for the form to open on the same page, then the form automatically refreshes the same url. Any ideas?
    (I have been looking at it too long, need fresh eyes/thoughts.!)
    Thanks!
    Robin
    Message was edited by:
    robin.miller

    Take a look at this thread, I think it'll help you.
    How to get page url from a Dynamic Page?

  • Open URL from a report

    Hi, I need to make a connection to URL from a report. Is it posible? thanks.

    hi jose,
    please try the following.
    CALL FUNCTION 'GUI_RUN'
      EXPORTING
      command ='IEXPLORE.EXE'
      PARAMETER ='WWW.YAHOOMAIL.COM'.
    CD =
    IMPORTING
    RETURNCODE =
    and if u want hyperlink then,
    *REPORT ZURL NO STANDARD PAGE HEADING.
    DATA: BEGIN OF URL_TABLE OCCURS 10,
    L(25),
    END OF URL_TABLE.
    URL_TABLE-L = 'http://www.lycos.com'.APPEND URL_TABLE.
    URL_TABLE-L = 'http://www.hotbot.com'.APPEND URL_TABLE.
    URL_TABLE-L = 'http://www.sap.com'.APPEND URL_TABLE.
    LOOP AT URL_TABLE.
      SKIP. FORMAT INTENSIFIED OFF.
      WRITE: / 'Single click on '.
      FORMAT HOTSPOT ON.FORMAT INTENSIFIED ON.
      WRITE: URL_TABLE. HIDE URL_TABLE.
      FORMAT HOTSPOT OFF.FORMAT INTENSIFIED OFF.
      WRITE: 'to go to', URL_TABLE.
    ENDLOOP.
    CLEAR URL_TABLE.
    AT LINE-SELECTION.
    IF NOT URL_TABLE IS INITIAL.
      CALL FUNCTION 'WS_EXECUTE'
           EXPORTING
                program = 'C:\Program Files\Internet Explorer\IEXPLORE.EXE'
                commandline     = URL_TABLE
                INFORM         = ''
              EXCEPTIONS
                PROG_NOT_FOUND = 1.
      IF SY-SUBRC <> 0.
         WRITE:/ 'Cannot find program to open Internet'.
      ENDIF.
    ENDIF.

  • Open URL from Excel or Word in individual tabs - Automator??

    Okay so here is what I am trying to achieve -
    I have to open a series of URLs which have 2 values that change within the URL daily. I am looking for a way to automate the process of opening. these URLs
    I already have an excel format with the updating URLs so they automatically will generate the correct URL for that day, but when I click the hyperlink it will take at least 5 seconds to load them, and it will only open the last once click. So if I click 5 in a row, the 5th will be the only one to open.
    I've searched for ways to have Safari open each in a serate tab and Safari and Excel just don't seem to play well in that manner. I have also looked into ways to have automator take the cells and open them, but I am unable to find a way to get the URLs from the clipboard into Safari.
    Any help would be greatly appreciated as this task takes me nearly 30 minutes daily due to the amount of URLs when it should be something that is easily automated.

    You didn't mention which version(s) of Word and Excel were used to create the documents, or which version(s) you're using/trying to use on your Mac.
    If it's (Windows) Office 2003 or earlier, Microsoft released a metadata management tool that might help you understand, and perhaps edit some of the metadata there now. The tool is available for (free in the US, at least) download here --> http://office.microsoft.com/en-us/help/HA011400341033.aspx
    It is possible that 'read-only' status was set in some version of the file (perhaps copied to a CD at some point?), and remains set to 'read-only'. One fix is to open it (in Windows) and clear the read-only status. Windows discussion here --> http://ask-leo.com/whycant_i_open_thisfile.html
    Another possibility is to try opening the documents with a different program (OpenOffice, iWorks Pages, iWorks Numbers) that can open and read many versions of Word and Excel files.
    In my experience with earlier versions of OpenOffice, I've had problems with formatting changing (e.g. text document fonts and formats) when I've opened documents with OpenOffice and then attempted to re-save them in Word (doc or docx) format. I don't recall using OpenOffice with Excel files. I'm not currently using OpenOffice, so I can't say whether the problem was fixed or not.

  • Open URL from a Captivate generated MP4

    Hello all,
    I am putting together an instructional video (.mp4) using Captivate 5.5, the video will be targeting iOS users.
    I will need to provide a way to open some webpages while the end user is playing the mp4 file. My thought was to include a button with an assigned action to "Open URL or file" and specify the URL.
    This does not seem to work after publishing to mp4 format. Is that feature not supported in Captivate mp4 files? Or did I forget a step maybe? Is there a workaround to achieve the same result?
    I'd appreciate any input on this.

    Hi there
    Unless something has changed recently, it is my understanding that MP4 is strictly a video format and does not support hyperlinking or other types of interactivity.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How to open report from form

    I'm tring to open report from a form
    using Run_report_object built_in on 9i
    and i get error messages
    such "you did not specify repor name "
    and "REP-0110 unable to open file
    REP-1070 error while openning or saving document "
    I get a look on the help and i found an enviroment parameter called
    "Reports25_path" that un seted on my computer (Windows XP) and I must put my report file in its location
    what can i do to open my report from a form ?
    thank yuo for help .
    I'll be gratfull if you send answer on my e-mail [email protected]

    Forms/Reports Integration 6i (6.0.8)
    http://www.oracle.com/technology/products/forms/pdf/277282.pdf
    Forms/Reports Integration 9i (9.0.2)
    http://www.oracle.com/technology/products/forms/pdf/frm9isrw9i.pdf
    Forms/Reports Integration 10g (9.0.4)
    http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf

  • Is there a way to open Word from forms 10g?

    Is there a way to open Word from a 10g form? I am trying to pass some data to a word document (like a template). Is there a way to open word from a form button?

    That assumes that the mime types are correctly mapped within the browser and that you already know the location and name of the file on the client machine.

  • Unable to open url from email

    suddenly today i am unable to open url link from my eudora mail program. firefox is my default browser. never had this problem before.

    This could be a Launch Services issue. The following article describes how to manually reset Launch Services — the notes at the bottom of the article also provide information about the side effects of deleting each of the files involved:
    Resetting Launch Services
    If you prefer using a cache cleaning utility instead of following the manual procedure described in the previous article, take a look at this other article for general troubleshooting and cache-cleaning procedures. Actually, you should also verify/repair the startup disk (not just permissions), as described there:
    Resolving Disk, Permission, and Cache Corruption
    The most appropriate utility for this particular problem probably is Tiger Cache Cleaner, but you may also want to consider other utilities, such as OnyX, or Cache Out X, which are free. Whatever utility you choose, be sure to read this first:
    Side effects of System cache cleaning
    As an example, this is how you should proceed with OnyX:
    1. Quit all applications.
    2. Launch OnyX and enter your administrator password.
    3. Go to Maintenance > Reset and check LaunchServices database.
    4. Un-check any other pre-checked options.
    5. Click the Execute button.
    6. Restart the computer.
    BTW, if you’re running Mac OS X 10.4 (Tiger), as your profile indicates, it would have been more appropriate to discuss this in the Mail & Address Book - Tiger forum. If the discussion applies to both Mail 1.x and Mail 2.x, it doesn’t really matter, but it’s difficult to know that in advance.

Maybe you are looking for