What region in the report column HTML link?

Dear gurus of the Apex,
OK, I'll go straight to my question. I have a page to download file with region (conditional) report that comes after the file download process. According to the report that I have a column to remove the file downloaded (column has an image link, the target application, the name of the option: P2_DELETE_ID value: #DOC_ID #). Basically the report picks up just downloaded file ID and allows me to delete the file by having Hiden point Page (P2_DELETE_ID) and before the process of header:
BEGIN
REMOVE FROM EBA_ASSET_ORDER_TEMP_DOCS
WHERE annual =: P2_DELETE_ID;
END;
condition: Expression 1 value is not Null, and the value of the Expression 1:
P2_DELETE_ID
I and another conditional region (which is HTML) he comes after the file download process as well. The Source region is:
& lt; div id = "FinalMessage" > & lt; / div >
& lt; br / >
& lt; div > & lt; a href = "javascript:confirmFileDelete(htmldb_delete_message,'f?p=&APP_ID.:2:&SESSION.:REMOVE_ID:::P2_DELETE_ID:#DOC_ID#')"; > & lt; "img > src="/i/delete.gif "style =" position: relative; " Top: 1px; ' / > delete the downloaded file & lt; /a >
& lt; / div >
where id = "FinalMessage" - is the JS success/error message
and... href = "javascript:confirmFileDelete--is my real question. So I try to hide my region to report and show only my region HTML where I will be able to this (... href...) link delete file from my table. I am able to dele file using report link colum but my... href... link dosnt want to delete my file, doen't even want to pick up the ID of file. Is there a way where I can link my... href... link to pull the report column?

Thank you

NP - now access, so I will have a look

Andy

Tags: Database

Similar Questions

  • Email burst send the report in HTML format in the body of the email

    Hello
    I have Oracle BI Publisher 10.1.3.4.1 (build # 1101) version installed as part of Oracle Business Intelligence.
    I have questions about the email of breaking. Simple observation, I created and I'm bursting it by e-mail. But I want to send the report to HTML format within the body of the email and not as an attachment. I read that it is possible in other versions of the TONE (of BSE) with the help of the burst configuration file. But I can't use this file with my version of BEEP, I can configure bursting life alone SQL query.

    Is there a solution?

    Thank you

    It is a known issue with Outlook Client. Try to open the email with the other guests.

  • JavaScript: Disabling text box in the report column cell

    Hello

    Andi (ATD) helped with formatting of columns in the report, their coloration depending on a value. See:
    JavaScript - referring to the value of the report column

    Now, I want to add a feature:
    If the value is "1" then turn off the text box in the column next, otherwise no. The function is:
    function hilite(f1)
    {
     var h = document.getElementById(f1);
     var t = h.parentNode;
     while (t.tagName != 'TABLE')
     {
      t = t.parentNode;
     }
     var rows = t.rows;
     var k;
     var i;
     var j;
     var c;
     var headers = t.getElementsByTagName("TH");
    // var textarea = t.getElementsByTagName("textarea");
     for (k = 0; k < headers.length; k++)
     {
      if (headers[k].id == f1)
      {
        c = k;
      }
     }
     for (k = 1; k < rows.length; k++)
     {
      i = rows[k].cells[c];
      j = rows[k].cells[c+1];
      if (i.innerHTML == '2')
      {
        i.style.backgroundColor = 'yellow';
        i.style.color = 'white';
        i.style.fontWeight = 'bold';
        i.style.fontSize = '18px';
      }
      if (i.innerHTML == '1')
      {
        i.style.backgroundColor = 'red';
        i.style.color = 'white';
        i.style.fontWeight = 'bold';
        i.style.fontSize = '18px';
        
    //  j.style.backgroundColor = 'green';   // testing purpose; colors background green but not textarea
        j.style.visibility = 'hidden';               // works fine but ugly
    //  j.disabled = 'true';                        // nothing happens
    //  j.firstChild.disabled = 'true';           // does not work
    //  j.textarea.disabled = 'true';           // does not work
      }
     }
    }
    See the object of 'j': I can do the whole cells disappear, but it's ugly. It examines with firebug I thought I should use sth. such as firstChild or textarea, but it does not work. I find always pretty hard to manipulate tables in Apex...

    Could someone help with this?
    Thank you very much
    Roger

    Hi Roger,

    «"" You're sort of almost here!»»»

    The next cell to the right of the one that that you are testing contains a TEXTAREA object. Your variable j accesses it using something like:

    j = rows[k].cells[c+1].getElementsByTagName("TEXTAREA")[0];
    

    The problem with the help of the method of visibility you have used will disappear while you applied to the entire purpose of TD, so all the borders will go - this application to the new j allows to hide the textarea rather object only.

    Andy

  • Link in the report column

    Hello

    How can I create a column of link area of report (not an area of interactive report).

    Link column configuration section is not available for a report from the region.

    APEX version: 4.0.1.00.03

    Thank you.

    Dave,

    Do you not see a section labeled

    "Link in the column".

    When you drill down on a particular report column? I see this section of the Interactive reports and classic.

    -Joe

  • The report columns duplicated when the region is copied.

    Re: Report columns duplicated when the region is copied.

    When I copy a region that I created the form master / detail report columns are duplicated. I am actually copy the entire page, but I had other cases where I just copy the desired region and the columns have been duplicated it as well. And, of course, there is no way I know to remove the columns of the shape. But I doubt it would help because, in some cases, I've tried - the columns seems to be 'related' in that a change to a copy of the column has been duplicated in the other, when changes have been applied.

    In the example (below), there are three areas on the page and the problem occurs in region 2. (I think I'll probably remove the first region). He was ripping trying to get the report of region 2 and changes formish tabular region 3 on the same page. I made this in Oracle 11.2 in our APEX 4.1 and imported to 4.2. You can see here:

    WS apex_examples_01
    demo
    demo
    Appl. 991204

    Page 57 is the original page created in 4.1 and imported
    58 page is the page copied from 57 under 4.1 and imported
    59 page is the page copied from 57 under 4.2 (same result 4.1).

    If you want to try the page, select DSD01 in the DSD LOV, click on "Application process" and then click the icon change. Ignore errors in the region 1 - I'll probably delete this region. The data are region 3 is Run Date may 12, 13.

    Is there a setting that allows this region can be fully copied without duplicating the columns?

    Thank you
    Howard

    P.S. I think I know why this is happening: APEX hates me!

    Howard (in training) wrote:

    P.S. I think I know why this is happening: APEX hates me!

    I think it's a trap left by tabular, tabular forms of sabotage tabular forms... I love ;-)

    This is a long-standing bug very (+ {: identifier of the thread = 269916} +) that I've seen before: + {message identifier: = 10504044} +.

    The problem in the region created by Wizard of origin not having either do not report Source using specific query column names and validate queries / use column names generic (analyzing the query executing only) options selected. Click on the radio button using specific query column names and validate query before copying the region/page. Compare the before and after effects of do so on pages 570 and 571 in your sample application.

    (Looking for the Forum before posting?) Previous discussions were not hard to find in this case.)

  • Linking the report column to open a Web page

    Hi all

    Need a sincere help. I have a TAB_ARC table. In which I columns

    ID
    PART_NUM
    LINK_TO_PART_NUM (its hyperlink)

    I did report and formula on even. I'm inserting PART_NUM and LINK_TO_PART_NUM (which is a respective web link to the PART_NUM) in the of which is updated of my table TAB_ARC.

    In the report I have ID and PART_NUM display. I want to link the PART_NUM with my LINK_TO_PART_NUM so that whenever I click on any of the PART_NUM it opens a new page with the link to LINK_TO_PART_NUM


    We hope to get a response from you all because it is urgent.


    Concerning

    Published by: User_Apex on April 26, 2011 02:23

    If LINK_TO_PART is a valid url so that you can change the PART_NUM column in your report. Go to the column binding attributes and set the following parameters:

    Text link: #PART_NUM #.
    Target: URL
    URL: #LINK_TO_PART #.

    Thank you

    Janet Tyson

  • By the way the value of the report column in Javascript

    Dear magicians Apex,
    I am a bit stuck now to implement a modal pop-up/iframe/javascript and this forum is my last hope to solve this problem.
    Anyway, I will try to explain what I'm trying to accomplish.
    What I need, is: I want to have a SQL report, as first column I want to have an 'ID' of my table numbers and I want this column to have a "link in the column" located in the appropriate links "column attributes. The thing is that when I click on the link of the column (when I run my report on the Apex page) I need a JQuery modal window where the pop-up in IFrame will be another page and this page uses an 'ID' of my link URL column to display the data. So, basically, I want to pass a value of 'ID' of my page parent to my page of the child which appears in an iFrame modal window.
    And here's what I have:
    1. I have a 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 'The column attributes' to 'SUBNET_ID' a have put a "link in the column" URL like:
    javascript:ViewNetworkDetails(#SUBNET_ID#);
    3. now, when I run my page and point my mouse over any item in my column "SUBNET_ID", I see that she receives a number of "SUBNET_ID" of my table and it shows it in the button of the browser as:
    javascript:ViewNetworkDetails(1);
    , or (2) or anything that is 'SUBNET_ID '. So, that's good.
    4 and here I am confused, basically, I need to pass a value of
    javascript:ViewNetworkDetails(#SUBNET_ID#);
    , which seems to work as it gives me good numbers of my table to my 'ViewNetworkDetails' JavaScript function, then it can paste this value in "f?" p =... "IFrame URL. Here is my Jquery Modal script form and Javascript to redirect me to my popup page (the script is located in the 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> 
    PS My hypothesis is that there is a problem with this part of my script
    var subnetIDNumber = document.getElementById(#SUBNET_ID#); 
    where I can't get my "SUBNET_ID" value from
    javascript:ViewNetworkDetails(#SUBNET_ID#);
    in 'subnetIDNumber' variable and that's why I can't spend my iFrame URL.

    P.S. P.S. the child page 103 has a "Automated row fetch", is not a problem. In addition, I did a simple test, where I had a page element 'P102_Value' with values 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 operate against the SQL Select statement :-(

    HEEEEEEEEEEEEEELLLLLPPPP.
    Thank you

    Change your column to link to send the value of the subnet_id column to the function call (you mentioned, but I don't know if you've actually done m)

    JavaScript:ViewNetworkDetails(#SUBNET_ID#);

    You pass the value of the parameter to the function, but not defined all the parameters in the function definition (this is possible in JS, no other parameter is ignored)
    For example, to change the function to accept the subnet ID parameter (I'm really surprised how you missed it) and assign this parameter to a variable.