Open URL in new window from page process

I have a Page process that returns a URL (stored in 'l_val' field). Within this process, what is the best way to open that URL (stored in l_val) in a new window?
thanks
DECLARE l_clob clob;
l_xml xmltype;
l_val clob;
BEGIN
for c1 in (select clob001
from apex_collections
where collection_name = 'CENTRIS_IEP_VIEWER') loop
l_clob := c1.clob001;
exit;
end loop;
l_xml := xmltype.createxml(l_clob);
l_val := dbms_xmlgen.convert(
l_xml.extract(
'//GetIEPUrlWithAuditResult/text()'
, 'xmlns="http://www.iepdirect.com/CentrisWebServices/IEPViwer"'
).getstringval()
, 1
END;

Hello,
You can create a application process using this code and call that process from a javascript function and return that URL to the javascript function there you can open a popup easily.
If you want you can open a popup from process, you can do that using htp.p() function, I had tried this once but what it does was, it opens a popup but it clears out my parent page, I was not be able to see anything on my parent page.
Thanks
Tauceef

Similar Messages

  • Open URL in new window

    Hi folks,
    I am working on WAD3.5 where in I have created several links to open either WEBGUI i.e to open various customized TCODES in SAP-Bi or other queries. BAsicaly its a work bench sort of thing from where we can access various tools developed for client. I am using below mentioned HTML code:
    <TD class=SAPBEXBtnStd vAlign=top>
          <DIV style="HEIGHT: 20px"><A
          href="/sap/bc/gui/sap/its/webgui?~transaction=ZBI_AUTOMATION_TOOL"><B><FONT
          face=Verdana color=#000080>BI Automation Tool</B></FONT>
        </A></FONT></DIV></TD>
    where ZBI_AUTOMATION_TOOL is a customized TCODE. Issue is whenever i click on the link it opens the WEBGUI in same screen and when i click back the page expires. I want to open the URL in new window.
    Please help me by providing the exact syntax. It would help to resolve my issue. I have tried couple of things but they are not working.
    Thanks
    Rahul Mahajan

    There is a parameter on the web template that should be set..
    it is
    Open dialogs in new window - set this to either automatic or "Open Window  X"
    or add this to your template properties list:
    <param name="ENABLE_OPEN_WINDOW" value="X"/>

  • Calling a webdynpro URL in new window from BSP

    Hi experts,
      i am calling a URL from BSP application by creating a link and on the 'onclick'  event of the link ,using following code
    navigation->goto_page( URL = l_wd_url session = 'NEW' ).
    My problem is ,i have to open this page in a new window(the Page is basically a webdynpro URL) ,so far it is only opening in same window.I have tried different other options.
    navigation->next_page( URL = l_wd_url session = 'NEW' ).
    CALL METHOD runtime->server->response->redirect( url = l_wd_url ).
    navigation->call_application( URL = l_wd_url ).
    I tried using call_browser FM also but it is dumping.
    href tag will not work in my case as i have to capture the event and write some code inside  that event..
    Please suggest what i can do now?

    Hello Graham,
    I am trying to get the windows user id in webdynpro abap.
    I am unable to get,
    So I used BSP application to get the windows user id.
    I using java script to get that.
    After that I don,t know how to  assign that java variable to ABAP variable. the
    Insted of calling the WDA using the following way
    <a href="<%=l_wd_url%>" target="_blank">Click Here</a>
    is there any other way to call WDA from BSP based on some action.
    Regards
    Srini

  • Open iviews in new window from detailed navigation context menu function

    hello,
    when we click in the detail navigation menu and in the context menu (because many of ours users are used to right click to open a link in a new window on the internet) on the functionnality "open in new window", the start page is always display instead of the corresponding iview ...
    could you tell me if there is a configuration into the portal to :
    1- suppress the function "open in new window" from the context menu in the detailed navigation !
    2- make the iview displayed into the new window really the iview desired !
    best regards,
    Olivier.

    Hi Olivier,
    The frist part is very precise. Not possible. Period. The reason is that the links are calling JS and not directly calling a http target.
    About the second part: Within the Light Framework, you create a Light Detailed Navigation. And in this case, the links are direct http links. So with that, you have what you want.
    For the Light Framework see http://help.sap.com/saphelp_nwce10/helpdata/en/43/0174a642406db7e10000000a422035/frameset.htm and around.
    Hope it helps
    Detlev

  • Transaction launcher: open URL in new window

    Dear all,
    I know many threads have already been posted about "stateful URL" created with transaction launcher, that open a new browser window AND navigate to an empty screen with the following text (which is more than useless):
    "The requested page has been opened in a new window, please press back button to go back to the last page."
    Carsteen gave some useful hints already in the following thread:
    Transaction Launcher in a new window
    But maybe someone found something new since then... At the moment I'm thinking about "simulating" a clic on the BACK button (like mentioned in this useless message), with something like :
      DATA:
      history TYPE REF TO if_bsp_wd_history_manager_disp.
      history = view_manager->get_history_manager_display( ).
      history->go_back( ).
    Any better idea ?
    Thanks & regards,
    Nicolas Busson.

    Hi Nicolas !
    How are you? :-)
    I assume that since then you have found a way to fix your issue, but as the post is not answered I can tell you that SAP has taken into account this point in SAP 702 EHP1, with a new attribute in the customizing of the transaction launcher called "Keep Work area" :
    Keep Work Area When Opening Launch Transaction in New Window
    This indicator defines whether the work area content is kept when you open a launch transaction in a new window.
    Use
    If this indicator is not set and a launch transaction opens in a new window, then the main window loads the base page of the transaction launcher into the work area.
    If this indicator is set and a launch transaction opens in a new window, then the main window keeps its current content in the work area.
    Dependencies
    This indicator is only evaluated if you have also set the indicator for using a new window.
    Imed.

  • Open URL in new window when button pressed

    Version: 4.1.1
    Hi there,
    Under the button options we can set it to redirect it to a URL. However, the page opens in the current window. Is it possible to get it to pop open in a new window?
    Thanks,
    Ryan

    Hello Ryansun,
    Just make the button to be Defined by DA.
    Create a new DA.
    Event: Click
    Selection Type: Button
    Button: MY_Button
    Action: Execute JS
    Code
    window.open("http://www.w3schools.com")
    Best Regards,
    Fateh

  • Open swf in new window from parent swf

    I'm making a gallery for some flash banners that I had
    created in AS3. When I click on a "launch" button, I wanted the
    flash banner swf to open in a new window separate from the parent
    swf (the gallery). I also wanted the parent swf to remain open.
    Is this possible and what would the code look like for
    something like this?

    ok, I should've also mentioned this, the flash gallery I'm
    making is not for the web, it's more for just opening in a flash
    player. So I don't really want it to open in a new browser window,
    but rather a new swf window, if there is such a thing.

  • Opening link in new window from cfgrid

    Hi all, I am using the following code to create a link to a
    more info page for the selected row of data:
    <cfinput type="button" name="MoreInfo" value="More Info"
    width="100" tooltip="Click here to view more information on the
    selected data"
    onClick="getURL('moreInfo.cfm?ID='+data.dataProvider[data.selectedIndex]['ID'])">
    how can I make it open in a new window please?
    many thanks

    getURL('moreInfo.cfm?ID='+data.dataProvider[data.selectedIndex]['ID'],
    "_blank")

  • Force PDF to open in a new window from URL

    Is there a way to save a PDF so that it forces IE to open a
    new window when linking to it from a web site? I have no control
    over the HTML code on the site but I need the PDF to not hijack the
    window containing the link.

    Hello justaquestion1112,
    Thank you for your post.
    You should know that these forums are specific to the
    Acrobat.com website and its set of hosted services, and do
    not cover the Acrobat family of desktop products.
    Please visit the following Acrobat forums for any questions
    related to the Acrobat family of desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/
    Cheers,
    Pete

  • Open pdf in new window from an iframe

    i have a web page with an iframe that displays pdf's chosen  from a drop down menu.
    i need to be able to make the current pdf open from the iframe into a new window.
    any ideas?
    thanks
    Larry

    heres an example.
    http://www.sixmanmagazine.com/cev test/CEV00152/CEV00152.html
    i uploaded that so you can see what i am trying to do.
    the left side is for video and the right side is the iframe.
    i want the content of the iframe that i want to display in a new window.
    Thanks for your time.
    larry

  • Open form in new windows from another form

    hi,
    I have module for departments, and one for employees
    and I have push botton, I need when_button_pressed to open form employees in new window ( to view the employees in that department)
    I used this code
    open_form('Employees')
    but it gives me an error: FRM-30203: No items on block EMPLOYEES.
    FRM-30407: Block must have at least one database item.
    Block: EMPLOYEES
    FRM-30113: Block must have non-query-only database item.
    Block: EMPLOYEES
    Created form file C:\Users\m\Desktop\New Folder\MODULE1.fmx
    and when I click the button I get error FRM-40010 cannot read from employees
    any help would be appreciated

    but I created new module for employeesOk, so make sure that this new module contains a block EMPLOYEES, save the module as EMPLOYEE.fmb and create the fmx. Make sure the fmx is created and is located in a directory listed in the FORMS_PATH in your default.env (assuming you use 10G)

  • Opening website in new window from Digital Editions

    I have links inside my .epub but when using a PC they either open inside the frame(with no ability to scroll or navigate) or tell you that you can open in new window.  The latter is fine but there's no clear demarcation as to when this will happen.  How do I make it so all links open to new window automatically?

    getURL('moreInfo.cfm?ID='+data.dataProvider[data.selectedIndex]['ID'],
    "_blank")

  • Open URL in new window function not working.

    Please please please can someone help. The openURL function that I have linked to a button and a click box will just not work anymore in a new project. I have searched everywhere for an answer and all I can find is that it is something to do with a flash update preventing this and some code was provided as a work around. However I only have captivate 4 and 5 and have no way of editing this code to allow the new windows to function. If these functions are no longer available within captivate then captivate is nolonger any use to me. Can anyone help?

    Welcome to our community
    See if the link below is what you are after:
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Open url in new window on button click of adf table

    Hi,
    I have a requirement in which i need to open the constructed URL in a new tab/window on button in adf table.
    I am using action listener for the button, using action event i am getting the values of the particular row to the bean and using those values i am constructing url.
    Now i have to use the URL and open it in a new tab/window.
    Please suggest me different approaches.
    jdev version 11.1.1.5

    Hi,
    Check following will match for your use case
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/33-open-page-in-new-tab-169175.pdf

  • I can not open one more new window of FF by double-clicking on FF icon

    I can open only 1 browser window FF
    I want to open another.
    - I can open by selecting NEW WINDOW from the file menu. It's normal.
    - But I can't open by double-clicking on FF icon. The message happens in this case: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."
    Before double-clicking on FF, I checked processs at Task Manager and just one process "firefox.exe" is running.
    I try many ways to troubleshoot this problem such as:
    - install FF again
    - run safe mode
    - Update all add-on
    - add new profile in Profile manager and run with new one
    - I follow the anwser of post: https://support.mozilla.com/en-US/questions/770203
    But can't fix this problem.
    I'm looking forward to your earliest reply
    Thank so much
    Tien Dao

    There is the Free  iTube Grabber which can capture almost any audio and/or video stream (it says here) but only works with Intel Macs.
    http://itube-grabber.en.softonic.com/mac
    Firefox Download Helper is also supposed to work, you have to be logged into YouTube first.
    There is also iTubeX which allows you to download videos (Flash, HTML5 and others), .mp3 and .swf files from almost every website as easily as possible:
    http://www.macupdate.com/info.php/id/27604/itubex
    Lastly: How to download Flash videos and play them in Quicktime using Perian is explained here:
    http://perian.org/#watch
    It's the video at the bottom of the page.
    Last but not least (as some of the above may not work with Snow Leopard or Lion) there is the 'pwn trick':
    For example, the full youtube site for your movie is:
    http://www.youtube.com/watch?v=bC2XIGMI ... e=youtu.be
    As soon as the movie starts, pause it and add 'pwn' in front of the youtube part of the url so it looks like this:
    http://www.pwnyoutube.com/watch?v=bC2XI ... e=youtu.be
    Hit Return and then follow the instructions.

Maybe you are looking for

  • Order of to-dos in 6700

    Hello, In my Nokia 6700, the to-dos are sorted in no obvious order, seemingly almost random. Although I can select to sort them by "deadline" I then have to scroll up to the top of the list to see today's to-dos - very annoying. And the next time I g

  • Application not able to connect with intenet on No...

    I am having aproblem with my nokia e5. I am able to browse internet and also able to use OVI store i.e. my mobile is able to connect to internet but my installed applications (like skype, fring) are not able to connect to internet. When i change the

  • Soap Sender Channel Config

    While configurting Soap Sender channel, what should we use for "Deafult XI Parameters" section values for 'Default Interface Namespace' and 'Default Interface Name' ? Thanks

  • Receiver payload not seen in sxmb_moni

    Hi experts, i am doing proxy to file... while checking sxmb_moni....i can see the source payload but unable to see the response payload..and response is in chequered flag without payload.. file communication channel is showing green status..successfu

  • ORA-445 error

    Hi all, I am getting below error very frequently on some of the targets: Incident (ORA-445) detected in /u01/app/oracle/diag/rdbms/devrdb2/DEVRDB2/alert/log.xml at time/line number When contacted Oracle support, they say that its an OS issue. I am no