Trying to do a pop up from a column link

I have one interactive report (page 1) which I have defined a column link.
The column link is targeted to another interactive (page 2) within the same application.
Everything works except when I click on the column link in page 1 it does not pop up page 2, but instead replaces page 1 in the current window.
I have tried all kinds of java code popup window functions, but to no avail.
This is another simple syntax mistake I am making I am sure.
Any Ideas ?
Thanks in advance for your time.
Anon

Hello Anon,
Ok, here is how this works:
If Target = "Page in This Application" Then
in the Link Attributes box just above the Target put target="_blank" - this will open a new window and display your target page in that window.
HOWEVER, if your target = URL, you still need to put target="_blank" in the Link Attribute box, but put the URL in the place provided.
When I responded before, I got ahead of myself. This: javascript:popUp2('f?p=&APP_ID.:2:&SESSION.::&DEBUG.::P2_ID:#ID#',500,400)
is used in the HTML source for a Region (for example) to define a link.
Sorry for the confusion,
Don.
You can reward this reply by marking it as either Helpful or Correct :)

Similar Messages

  • Need to invoke a process from a column link and then redirect to a url

    Is it possible to invoke a process from a column link then redirect to a url
    I want to invoke a process that has a pl sql block of code which will do some table inserts and then redirect the user to an external url.
    Any help would be appreciated.

    Howdy Scott,
    I thought this might help me but I've got a dynamic form with apex_application.g_f01(i) items on it ie tabular form. How can I take the value of these arrays with me to the temporary page with the onload process?
    Thanks
    Gary

  • URGENT Printing a BI publisher report from a column link in APEX

    I am developing an APEX report with a column link that will call a BI publisher report, the case is the link column in the APEX report will pass the item number to the BI publisher query.
    At the moment this is what I am doing:
    1- Create a hidden item on top of page zero. (e.g. PARAM1_VALUE)
    2- Create a report query and a report layout (For BI Publisher) in the Shared Components. (e.g ITEM_REPORT)
    3- Include the state session in the report query and reference that item in the query. (e.g. SELECT * FROM items where item_number = :PARAM1_VALUE)
    4- Create an APEX report displaying orders with the item number as a link column.
    5- In the Link column I set the report URL request to be "PRINT_SERVER=ITEM_REPORT".
    6- In addition I set the PARAM1_VALUE to be #ITEM_NUMBER# on the link.
    When I press on the link the BI publisher report prints but it doesn't display anything except the Headers, my understanding is that PARAM1_VALUE is not set with the item_number value when I press on the link and thus the query returns no results as when I remove the condition from the query i can see the report printing.
    Please help as this is urgent

    I opened the session and it is there with a proper value, it appears that whenever I enable the inclusion of session state in my shared components query the query returns no rows even if I am not using the item in the query.
    So if my query is "SELECT * FROM items" it will display nothing, the only way to get the report data back is to untick the inclusion of the session state and remove any reference to the item from my query, then I will get the report with all my data (which is NOT what I am trying to do).
    Thanks alot
    Khaled Jamoos

  • Unable to return from a column link to popup page in the same window

    Using 3.2
    I have a tabform with a link to a pop-up page (and passing values). It's working fine but when I 'Save' on the pop-up, instead of returning to the originating page, it opens up a new window with the originating page on it. How do I get back to the originating page? I'm sure it's in my branch or button url syntax but can't figure it out. I tried creating a process to 'close window' but still opens up a new window.
    FYI - if I just do the 2nd page as a normal page, all is fine but the users would prefer a popup.
    Thx.
    Sandie

    Use the template 'Popup' for your page.
    Create a After Submit Process and select the option 'Close Window'. Make sure this is the last process (highest sequence number). This will automatically closes the popup window and user will be on the parent page.
    Do not create any branches on the popup page or any target in your Save button.
    If you need to refresh the parent page with the information entered on the popup page, enter the following code, at the end, in the process that does your DML (a process that comes before the Close Window process).
    htp.p('<script>');
    htp.p('window.opener.location.reload(true);');
    htp.p('</script>');
    I have created popups this way and they work, at least in 3.2version. In APEX 4.0, the parent page is not refreshing with the data entered on the popup page, which I'm currently investigating into. If you have a different code to refresh the parent page, please share it with me.
    Edited by: rbheemir on Nov 10, 2010 2:56 PM

  • Calling a function/procedure from a column link in a report

    Here's what I'm trying to do. I have a hidden page item variable that stores my security settings as a string like so:
    SETTING_1:SETTING_2:SETTING_3:SETTING_4I have a report that prints out security settings for our site. What I want to do is make this report have 2 columns. The left column is the security setting in plain text, and I want the right column to be a link where if the user clicks on it, it deletes the value from the page item variable string (from where I store all the security settings). I tried searching the boards and the APEX docs, but couldn't find anything on how to make that right column a link to achieve what I'm trying to do. Any thoughts on how to do this?

    Never mind. I figured out a workaround for this. I made the link in the right column a call to a javascript popup window where I pass in the value I want to remove. In this new page, I perform the string removal and close the popup and reload the original window. Not sure if it's the easiest or best method but it works.

  • Edit/Delete Popping Sound from Voice File

    Hello.  I'm trying to remove a popping sound from a voice file that I extracted from iMovie and imported into Garage Band.  I am struggling to figure out how to do this.  Any help is appreciated.  I feel it should be simple and I'm just overlooking something, but I can't seem to figure it out.  Thanks

    You don't specify what the popping sound is. If it's an isolated sound, it's easy just to cut it out. If it's something like a plosive, like the p in the beginning of a word, it's a little harder. Anyway, double-click the audio region that it's in so it opens in the Editor window, set the magnification very high and find the pop. Cut to the left and right of it with cmd-t and delete the annoying bit.

  • Passing value from Report Column to Javascript

    Dear Apex wizards,
    I am a bit stuck right now with implementing a modal pop-up/iframe/javascript and this forum is my last hope to fix this issue.
    Anyway, will try to explain what I am trying to accomplish.
    What I need is: I want to have an SQL report, as a very first column I want to have an "ID" numbers from my table and I want this column to have a "Column Link" set in "Column Attributes" proper ties. The trick is, that when I click on the column link (when I run my report on Apex page) I need a JQuery modal window to pop-up where in IFrame will be another page and this page will use an "ID" from my column link URL to display data. So, basically I want to pass an "ID" value from my parent page to my child page which is displayed in iFrame of modal window.
    And here is what I have:
    1. I do have an SQL report:
    select SUBNET_ID,
           long2ip(NETWORK_ADDRESS),
           long2ip(SUBNET_MASK),
           long2ip(END_HOST),
           long2ip(START_HOST),
           MAX_HOSTS,
           long2ip(BROADCAST_IP),
           NETWORK_CLASS,
           NETWORK_SIZE,
           HOST_SIZE
    from   YC_CM_IP_SUBNETS 2. Then, in "Column Attributes" for "SUBNET_ID" a have set a "Column Link" to URL as : javascript:ViewNetworkDetails(#SUBNET_ID#); 3. Now, when I run my page and point my mice on any item in my "SUBNET_ID" column I can see that it is getting a "SUBNET_ID" number from my table and it shows it in the buttom of the browser as :javascript:ViewNetworkDetails(1);, or (2) or whatever "SUBNET_ID" is. So, that is good.
    4. And here I am getting confused, basically I have to pass a value of javascript:ViewNetworkDetails(#SUBNET_ID#);, which seems to work as it gives me correct numbers from my table, to my "ViewNetworkDetails" JavaScript function, so it can paste this value into "f?p=........." iFrame URL. Below is my Jquery Modal form script and Javascript to redirect me to my popup page (the script is in HTML Header):
    <script type="text/javascript">
    function ViewNetworkDetails(){
    var apexSession = $v('pInstance');
    var apexAppId = $v('pFlowId');
    var subnetIDNumber = document.getElementById(#SUBNET_ID#);
    $(function(){
    vRuleBox = '<div id="ViewNetworkDetailsBox" title="View Subnet Details">
    <iframe src="f?p='+apexAppId+':103:'+apexSession+'::NO:103:P103_SUBNET_ID:'+subnetIDNumber+'
    "width="875" height="500" title="View Subnet Details" frameborder="no"></iframe></div>'
    $(document.body).append(vRuleBox);
    $("#ViewNetworkDetailsBox").dialog({
                            buttons:{"Cancel":function(){$(this).dialog("close");}},
                            stack: true,
    modal: true,                            
                            width: 950,                    
    resizable: true,
    autoResize: true,
    draggable: true,
    close : function(){$("#ViewNetworkDetailsBox").remove();
                            location.reload(true); }
    </script> P.S. My assumption is, that there is a problem with this part of my scriptvar subnetIDNumber = document.getElementById(#SUBNET_ID#); where I cannot get my "SUBNET_ID" value from javascript:ViewNetworkDetails(#SUBNET_ID#); into "subnetIDNumber" variable and that is why I cannot pass it to my iFrame URL.
    P.S. P.S. the child page 103 has a "Automated Row Fetch", so it is not a problem. In addition, I did a simple test, where I had a page item "P102_Value" with some value and in my script I had instead var subnetIDNumber = document.getElementById(#SUBNET_ID#); this var subnetIDNumber = $v('P102_Value'); and it worked perfectly fine....but cannot make it working against SQL Select statement :-(
    HEEEEEEEEEEEEEELLLLLPPPP.
    Thanks

    Change your column link to send the subnet_id column's value to the function call (you mentioned it, but I m not sure if you actually did)
    javascript:ViewNetworkDetails(#SUBNET_ID#);<u>You are passing the parameter value to the function, but not defined any parameters in the function definition</u>(this is possible in JS, any extra parameters is ignored)
    So, modify the function to accept the subnet ID parameter(I am actually surprised how you missed this) and assign that parameter to variable.
    <script type="text/javascript">
    function ViewNetworkDetails(pSubnetId){
    var apexSession = $v('pInstance');
    var apexAppId = $v('pFlowId');
    var subnetIDNumber = pSubnetId;
    //rest of the code would be the same

  • ACROBAT READER 7.09-PDF'S NOT OPENING FROM ONLINE PDF LINKS

    Trying to open up pdf's from an online link and they will not open up, not even in preview. Anyway i can setup acrobat to be the default handler of online pdf's.

    Basically what is happening is that no download box pops up when i click the link on his mac, meaning, it doesn't look like it is even downloading it. My mac downloads and opens it right up on my machine in adobe. I thought maybe it was a browser issue, im running safari 1.3.2, he is running 1.2.3 and i tried upgrading him to 1.3.1 and it said it couldn't install the software, I then tried installing 1.3.2 and it said it couldn't install without 1.3.1. How the **** do you upgrade safari?
    G4 Mac OS X (10.3.9)

  • Computation from column link

    I want to know if it is possible to call a computation from a column link. If Yes, how ?
    An other problem is that I want to know if it is possible to run it once. I don't want it to run before I select an other column link.
    Thankx
    Chantale

    Computations are fired only when a page is submitted (or when it is loaded). A link (typically) doesn't submit the page, it just redirects to a different page.
    You could pass some values in the link URL that you could use to conditionally fire some "onLoad before header" computations on your target page.

  • Ok. so im trying to sync my ipod to a new computer, i type in my apple id and password, then someone elses email pops up from another country, how do i fix this

    Ok. so im trying to sync my ipod to a new computer, i type in my apple id and password, then someone elses email pops up from another country, how do i fix this
               Please help me.

    If the problem persists, you'll probably have to make another apple id, it wont take off any games or music or apps or anything you've bought it will all stay there, i have two apple id's and i don't have a problem with anything.

  • I'm trying to order some photo albums from iphoto for chistmas gifts and there is a notification that keeps popping up telling me I need to send to a p.o. box, the mailing address IS a po box and it still won't let me order. What do I do?

    I'm trying to order some photo albums from iphoto for chistmas gifts and there is a notification that keeps popping up telling me I need to send to a p.o. box, the mailing address IS a po box and it still won't let me order. What do I do?

    I've not seen this message but would think that it might say that you can not send to a PO Box - exactly what is the error message?
    LN

  • Tried to download(offline) a book from EBSCOhost, it was successfully checked out but no pop out windows for downloading. Any thoughts? Thanks.

    Tried to download(offline) a book from EBSCOhost, it was successfully checked out but no pop out windows for downloading. Any thoughts? Thanks.

    Okay, you need to contact support definitely about what's going on. Here is a form that will send an e-mail into support for you:
    http://www.apple.com/emea/support/itunes/contact.html
    As far as the prices, the difference is likely the laptop version is the SD version and the iPad one is available in HD. That's the only reason you'll see a price difference. It has nothing to do with the device with movies/movie rentals. Apps yes, these no.

  • "Check that you have permission to write to the library directory." I had this error pop up when trying to access a iPhoto Library from Finder.

    The error, "Check that you have permission to write to the library directory." Displayed after trying to access a iPhoto Library from finder. The file is located on the local hard drive and was accessed not 5 minutes before the error displayed. Upon searching the forums I found a similar problem and the instructions said to check a permission box in the "Get Info" tab. There was no box visible and after clicking the arrow to open the "Open With" tab, the rainbow wheel started to spin and I could no longer access Finder or the desktop. I was deleting files trying to make space on my hard drive and noticed as I was deleting files more data was being added to the iPhoto Library. My question is how can I fix this and how can I prevent this in the future, thank you very much for any help, I would really like to keep these pictures.

    I found a similar problem and the instructions said to check a permission box in the "Get Info" tab.
    This applies only when the Library is on an external drive. You cannot ignore permissions on the system drive.
    I was deleting files trying to make space on my hard drive
    What were you deleting?
    and noticed as I was deleting files more data was being added to the iPhoto Library.
    Hard to see how deleting files can add data to the iPhoto Library. Can you explain why you thought this?
    I would really like to keep these pictures.
    Make a back up now.
    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store

  • Open a pop-up from a chart

    Hi,
    I am trying to open a pop-up window from a chart (bar graph: user clicks on bar/column and pop-up opens). I can open another page using a url ('f?p=100:200:...::::' etc) as described in documentation / how-to pages;
    select
    'f?p=100:200: ...' link,
    a label,
    b value
    from my_table
    However is it possible to pop-up the page in a separate window ?
    Thanks for all and any help!
    sinclair

    You could use Apex's built in javascript popUp function:
    select
    ('javascript:popUp2("f?p=100:200: ...");') link,
    a label,
    b value
    from my_table
    You can pass two futher optional parameters to popUp2 if you want - width and height of window that pops up e.g. popUp2('f?p=100:200',300,400)
    Andrew

  • Preventing a pop-up from closing

    Hi All,
    I've written a pop-up with an input box. I'd like to prevent the  pop-up from closing if the user hasn't entered anything in the input box.
    I open the popup from one view via the code:
      DATA: l_cmp_api           TYPE REF TO if_wd_component,
            l_window_manager    TYPE REF TO if_wd_window_manager.
      l_cmp_api           = wd_comp_controller->wd_get_api( ).
      l_window_manager    = l_cmp_api->get_window_manager( ).
      IF wd_this->m_add_popup IS INITIAL.
        wd_this->m_add_popup = l_window_manager->create_window(
                 window_name  = 'ADDWINDOW'
                 button_kind  = if_wd_window=>co_buttons_okcancel
                 message_type = if_wd_window=>co_msg_type_information ).
      ENDIF.
      lo_api = wd_this->wd_get_api( ).
      wd_this->m_add_popup->subscribe_to_button_event(
      button = if_wd_window=>co_button_ok
      action_name = 'OK'
      action_view = lo_api
      is_default_button = abap_true ).
      wd_this->m_add_popup->open( ).
    I have tried putting validation in the WDDOBEFOREACTION method in the ADDVIEW.E.g.
        l_current_controller ?= wd_this->wd_get_api( ).
        CALL METHOD l_current_controller->get_message_manager
          RECEIVING
            message_manager = l_message_manager.
    CALL METHOD l_message_manager->report_fatal_error_message
    EXPORTING
        message_text             = 'Error - Please enter a quantity and date'.
    exit.
    If I write out a message via the message manager, it appears in the calling view, not the popup. Regardless of what I do, the pop-up always seems to close.
    Can you help?
    Cheers
    Richard

    Hello Richard,
    you have to set:
    window  type ref to if_wd_window.
    wd_this->window->set_close_in_any_case( abap_false ).
    where you open the popup window.
    Now the popup only closes when you call the close method of IF_WD_WINDOW. So you can make your validation and close the popup window only when the entries are ok.
    Regards,
    Rainer

Maybe you are looking for