Interactive Report : Conditional Link Column

Hi,
I want my interactive report Link Column (Link to single row view) will be visible/active only when for the logged in current user.
I am keeping the current user data in an "application_item".
When ever I am trying to put Condition type as "Value of Iten in Expression1 = Expression 2" with
Expression1 = CURR_USER (application item) and
Expression2 = First_user (user_Name)
the link column becomes invisible for the entire report.
Please Please Please help.
Thanks
Neetu

Hi,
See if condition type "User is Authenticated (not public)" is what you looking for.
Br,Jari

Similar Messages

  • What is the best way to display a Interactive Report having 20 columns

    Hi,
    I am having a Interactive Report having many columns (around 20).
    What is the best way to display that report...by default we have to scroll it horizontally to see all the columns.
    I want to avoid Horizontally Scrolling.
    Thanks,
    Deepak

    Hello Deepak,
    You mean apart from using a smaller font size or a bigger monitor?
    You can think about combining / wrapping columns (so more data in one column).
    Or hide some less important data and show that only on demand.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Change source (sql) of interactive report based on column value?

    I've got an Interactive report displaying 10 columns. What I'd like to do is show different columns depending on the value of the first column. All the rows in the result will have the same value in the first column.
    If value in column 1 (on any row) = 'aaaa' then
    display columns 1,2,3,4, 9, 10
    If value in column 1 (on any row) = 'bbbb' then
    display columns 1,2,3,4, 7, 8
    If value in column 1 (on any row) = 'cccc' then
    display columns 1,2,3,4, 5, 6
    Should i somehow make the sql query dynamically change or can I use apex to dynamically hide the columns I don't want in the interactive report?
    Appreciate if you could point me in the right direction...
    /A

    Hello Andy,
    You can solve that in your SQL query:
    select col1, col2, col3, col4
    ,   case col1
        when 'aaaa' then col9
        when 'bbbb' then col7
        when 'cccc' then col5
    end newcol5
    from tableYou may have to use to_char or to_number conversions when the datatypes of the col5,7 and 9 are different.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Interactive report conditional display of link column - apex 4

    I create an interactive report
    select object_id,
           object_name,
           case
            when mod(rownum, 2) = 0
            then 'block'
            else 'none'
           end  display_link
    from user_objects
    where rownum <= 10in the Link Column for the report I selected one of the edit icons and put the following in the link attributes
    style="display:#DISPLAY_LINK#"I also edited the object_id and set the Column Link and selected an edit icon and put the same style in the link attributes.
    The link under the column displays correctly but the link for the report does not seem to substitute the #DISPLAY_LINK# from the report. Any Ideas?

    Here's how I've done this:
    SELECT ORG_ID,
           CLEARER_NAME,
           LEGAL_NAME,
           MARGINING_ACCOUNT,
           RULE_GROUP_DESCR,
           VIOLATION_COLOR,
           VIOLATION_LEVEL,
           CASE MARGIN_IND
            WHEN 'Y' THEN '&nbsp'
            ELSE '<a href="#" title="Ignore This Alert"><img src="/i/ice/images/hide.png" alt="Ignore"></a>'
           END AS IGNORE_LINK,
           ....This takes care of either showing (or not showing) the link.
    IN order to process when it is present, not that the address is "#" This will cause your cursor to change to a hand (or whatever your pointer is) when the mouse floats over the link. The actual transfer to the next page, I handle with jQuery/JavaScript.
    Create a Dynamic Action.
    Event: Click
    Selector Type: jQuery Selector
    jQuery Selector: 'aalt'
    Event Scope: Live
    (note that the jQuery Selector is finding the alt attribute that I set on my link in the SELECT above . Tweak as needed.
    This "Action" for this DA will be to "execute JavaScript code"
    Normally, I would set some values into Page Items and then create a branch to pass this values to the next page. I am doing the same thing in the following code. I am getting the values off of the row wherein the user clicked on the link. I am setting these values from the row into the page item values. Then, I am submitting the page. All the "htmldb_Get" business is just stuff that I have to do to get the page item values into the session (so that I can pass them to the next page).
    var clickedRow = this.triggeringElement.parentNode.parentNode.parentNode;
    var ruleGroupDescr = $(clickedRow).children('td[headers="RULE_GROUP_DESCR"]').html();
    var ajaxRequest = new htmldb_Get(null, $x('pFlowId').value, null, 0); 
    gReturn = ajaxRequest.get();
    $s('P31_RULE_GROUP_DESCR', ruleGroupDescr );
    ajaxRequest = null; 
    var clearerName = $(clickedRow).children('td[headers="CLEARER_NAME"]').html();
    var ajaxRequest = new htmldb_Get(null, $x('pFlowId').value, null, 0); 
    gReturn = ajaxRequest.get();
    $s('P31_CLEARER_NAME', clearerName );
    ajaxRequest = null; 
    apex.submit("IGNORE");Finally, just create a branch to the next page and set the items on the next page to the ones on this page that are being set in the above script. Note that in my example, I have set the request to "Ignore" when I submitted; so, I set the condition of my branch to be Request = IGNORE.
    Hope this helps,
    -Joe

  • Interactive report, conditional display of column link

    Hello,
    We have requirement to disable editing in case that status of field is 1 (1=Closed).
    Is there any way to disable it on interactive report.
    case when status=1 column link should be disabled (not visible) in order to prevent future edits on payroll.
    SELECT payroll_no, status
    FROM hr_payroll
    ORDER BY payroll_no DESC;
    I tried link below, but it's not working in my case.
    http://nerd.net.au/24-apex-application-express/report-layout/92-conditionally-show-report-link-column-based-on-value-of-…
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    Application Express 4.2.2.00.11
    Thank you in advance,
    Regards, FM

    CASE WHEN status = 'ACTIVE' then
    <a href="f?p=&APP_ID.:60:&SESSION.::&DEBUG.::P60_EMPLOYEE_ID:'||employee_id||'"> </span><br /><span class="Moobi_Code"><img src="#WORKSPACE_IMAGES#deactivate_button.png"></a>'</span><br /><span class="Moobi_Code">ELSE NULL END deactivate_employee,
    from
    EMPLOYEES
    What exactly is the error you get? What HTML is showing in the HTML source?
    Just by looking at this I would say you need to remove the "/" in front of the f?p
    Keep in mind this way could cause problems if you start to use checksum, then you might want to look into using APEX_UTIL.PREPARE_URL to create your URL.

  • Interactive report search hidden column

    I have a comment column in an interactive report (form with report) and I want the user to be able to search records on that column but I don't want to display that column in the report - it's just too big and the user can click on the edit icon to see that detail anyway. Is this possible?
    Thank you!
    Virtual homemade cookies to the first response...
    Edited by: userRRRYB on Mar 3, 2010 9:53 AM

    ligongl wrote:
    Hi userRRRYB,
    Were you able to resolve this issue? If so would you please share?
    I am also looking for a way to search on all IR columns regardless of whether it is displayed or not.DO NOT post follow-ups to ancient threads. Posting follow-ups to ancient threads is NOT an effective way of getting help (especially when you have already posted a IR search on all columns:
    <li>Other users may ignore the thread as it appears to be closed
    <li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions
    <li>Watches on the thread may have expired, so the original participants may be unaware of the new post, or they may no longer be active on the forum
    <li>You have no ability to mark posts as helpful or correct
    Post your question as a new thread, including at least the following information:
    <li>APEX version
    <li>DB version and edition
    <li>Web server architecture (EPG, OHS or APEX listener)
    <li>Browser(s) used
    <li>Links to related posts and threads using the methods in the FAQ.
    Please read the FAQ and forum sticky threads for more information on using this forum effectively.

  • Interactive report - exclude a column  from download

    We have an interactive report that is filtered, sorted, etc by the user to get the exact set of data that they need to download.
    We need to download only certain columns of the report.
    We don't want the users to have to hide columns.
    I'm looking for something like the "include in export" that can be specified for each column in a standard report.
    I don't see a place to set that in an interactive report.
    Is there a setting that I've missed?
    If not, any suggestions for possible solutions would be appreciated.
    thanks

    Hi,
    You can set column conditionally by request.
    E.g. columns that you do not like export set condition PL/SQL function body returning a boolean
    RETURN NVL(:REQUEST,'EMPTY') NOT IN('CSV','XLS','PDF','XML','RTF');I did example
    http://apex.oracle.com/pls/otn/f?p=40323:63
    EMPNO column is not exported from report
    Br,Jari
    Edited by: jarola on Jun 4, 2010 11:37 AM

  • Interactive Report Download Link Question

    I have an interactive report where I have outer joined to a table that contain blobs that I want the user to be able to click a link to download. I have a custom procedure that works with the download link. However I can't figure out how to get the download link to only appear for the records that actually have a file (since it is outer joined, only some of the records have a blob file associated with them).
    Click this link to see a screenshot of the report example.
    The existing column with the download link was created as a column link, where I specify the url (to my custom download proc). The problem as you can see is that it puts the download link in that column for every row, whether there really is a file to download or not. I'd rather only have a download link where there is a file to download for that record (see the My File column).
    Thanks in advance for any help on this.

    HOT TIP
    If you are passing parameters into your download procedure in the URL then the users will be able to hack the URL and download information they shouldn't be able to. More worrying, if you have granted execute to public (which I think you have to) on the Procedure then information can be downloaded without the user being authenticated.
    The solution is to have a page in the application with an On Load - Before Header process that calls the procedure, with some hidden items as parameters for the procedure. You can then evoke the procedure by branching to the page in the usual way and setting the page items in the URL. This will also allow you to add the additional Apex security features such as Session State Protection (Page requires a Checksum). Remember to revoke the execute privileges from Public.
    Change the report link to:
    SELECT some_columns,
      NVL2(my_file,'Download',null) link
    FROM your_table Then use the 'column link' region to create the link in the usual way and set the Link Text to #LINK#. If you have set the target page to require a Checksum this will then be added without having to code it into your sql.
    I hope that makes some sense?
    Shunt

  • Interactive Report with many columns scroll possibility?

    Hello,
    i have an interactive report that has many columns. As so they cannot fit into a page and a scroll bar is used in the bottom of screen, which is not a desired effect.
    What i would like to do (if it's possible) is to have a scroll bar before the pager. Up to now i have found a "fix" for this problem but after the pager and it does scroll the rendering of the report but the pagers' also. My solution is to put the following code in the Region Definition, in Header and Footer group, in Header:
    <style type="text/css">
    #apexir_DATA_PANEL {
    clear:both;
    width:1220px;
    height:650px;
    overflow:auto;
    </style>
    That was in 3.2. Is there any other option/possibility or idea now with 4.0 ?
    TIA

    Hi TIA,
    I hope that following link will help you in regards to your query:
    Jon Fortney implemented and blogged on it: http://jfortney.blogspot.com/
    Alternatively, you can use ExtJS Grid or jQGrid functionality.
    This might help, Horizontal Scrollbar required in  Interactive Report
    Regards,
    Bhavin
    Edited by: Bhavin on Nov 16, 2010 4:32 AM

  • Interactive report colomn link issue

    Hi,
    I have an interactive report on page 1 and a form on page 2. I'm trying to use a report column link to update the form on page 2, but it's not working. I put a process on page 2 (form), fired when request = 'update_form'. I put 'update_form' in the request field of the report column link, but nothing is updated in page 2 when I click on report link icon. I got the form without any update (nothing on screen and nothing in session state).
    Do you know why?
    Thanks.

    You may like to elaborate on the issue? If there have any been an alignment that I dislike, I go into column attributes and change the alignment accordingly - which has always worked for me.
    Maybe its the particular theme you are using?
    Did you see this thread for a workaround? {message:id=4096686}
    Ta,
    Trent

  • Interactive Report With No Column Heading

    Is it possible to display a column with no heading (label) in an interactive report ?
    I have tried to delete the column heading and save, but when I run the report,
    it is still there
    Cheers
    Gus

    Gus,
    Try a space character or &#38;nbsp;
    Vikram

  • Catch the onClick event on Interactive Report to access columns content

    Hi,
    I am using Apex 4
    I would like to display some rows into an interactive report. I have define a dynamic action on that report in order to catch the Mouse OnClick Event.
    The Goal is to display the detail of the row in a form region in the sidebar.
    To do this, I would like to get the content of a column of the row clicked and then execute a pl/sql block to get the detail of my row.
    I am stuck to get the content of the column I have clicked within the dynamic action to pass it to execute the pl/sql block.
    Any idee?
    Many thanks
    jko
    Edited by: user617942 on 29-Jul-2010 04:19

    Hello,
    Did I ask something stupid :-)
    Jko
    Edited by: user617942 on 29-Jul-2010 04:19
    Edited by: user617942 on 29-Jul-2010 08:34

  • Interactive Report with Null Columns

    I've got a user who wants to export an interactive report, and he needs certain columns to appear on the export for him to fill the data in later (this is an intermediate step, while we work on getting all the data he needs in to the database). I've created the report query, and there are a handful of null/empty columns (to preserve the correct order for the export). When I try to add this query to APEX in an interactive report, I get a "ORA-00001: unique constraint (APEX_040000.WWV_FLOW_WORKSHEET_COLUMNS_UK2) violated" error.
    Googling around shows me that this happens because of similarly-named columns, and the solution is to provide aliases to all columns. My report has aliases on all columns, but I still cannot create an interactive report. I've tried changing the null columns to empty strings, as well as enclosing the aliases in double-quotes, but nothing works. I can however use my original query to create a standard report, but due to the export requirement, this isn't ideal.
    I was able to create the interactive report with one null column, and then edited the report source to add in the others. This had to be done one at a time, since trying to add multiple null columns at the same time gives the same error again. Unfortunately, when I try and run the page, I get an "ORA-20001: get_dbms_sql_cursor error ORA-00918: column ambiguously defined" error.
    My original query:
    select customer.customer_name as customer,
           project.name as project_name,       
           trunc(project.estimated_end_dt) as due_date,
           project_status.project_status_desc as status,
           null as revenue,
           project.baseline_effort as baseline_hours,
           null as projected_cost,
           null as est_gain_loss,
           project.actual_hours as actual_hours,
           project.estimated_hours as projected_hours,
           null as projected_cost,
           null as projected_gain_loss,
           null as roi      
        from project,
             customer
      where customer.customer_id = project.customer_id
      and project.inactive_ind = 0
      and project.customer_id is not null
      and project.estimated_end_dt >= :DTP_P50_STARTDT
      and project.estimated_end_dt <= :DTP_P50_ENDDT
    order by customer.customer_name,
             project.estimated_end_dt;             Can someone tell me a way to create an interactive report with multiple null columns?

    Hi shimmoril,
    The problem is likely that you have two columns aliased as "projected_cost" (7th column and 11th column).
    Hope this helps,
    John
    If you find this information useful, please mark the post "helpful" or "correct" so that others may benefit as well.*

  • Interactive Report with Checkbox column

    Hello everyone,
    our users love the Interactive Report filtering, so they want all forms in apps. to behave like Interactive Reports.
    I need a form where each row consists of 2 columns and a checkbox, that handles some flag. I can create checkboxes using APEX_ITEM, however, the filtering on such column look ridicolous. I would like to have a tabular form (with one editable checkbox column), but with all those Interactive Report filtering features.
    Is there any example (or inspiration) how to achieve such functionality?
    Thanks a lot!
    Adam

    Hello Adam,
    Why don't you just switch off the Filtering option for that column?
    (Go to the Interactive Report, click on your column, then in Column Definition you can (un)check the features for that column).
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Interactive report - conditional where clause

    Hello,
    i have an interactive report like
    SELECT a.id, a.my_column
    FROM my_table a
    WHERE a.id = 12
    Now, when the user select a assigned value, the where clause don't be execute, also like this (without where)
    SELECT a.id, a.my_column
    FROM my_table a
    The User is not allowed to see this column, also i can not use the filter-function of the interactive report.
    Any Idea how did i make?
    thank's, Daniel
    Message was edited by:
    DaKa

    Hi Andy, this functionalitiy is clear.
    I will manipulate the region source in fact of an interaction of a user.
    Now, my select shows like:
    SELECT a.* FROM v_test a
    WHERE (:P40_ID = -1 OR a.id = :P40_ID)
    :P40_ID is a select box with return-null-value of "-1".
    This is not very fast. Therefore i search a method, when user select the null-value, then the select like:
    SELECT a.* FROM v_test a;
    and when user select another value then:
    SELECT a.* FROM v_test a
    WHERE a.id = :P40_ID;
    All this without the "filter"-functionality of the IR!
    Any idea?
    Sorry for this misunderstood.
    Daniel.

Maybe you are looking for

  • Wireless Aluminum Keyboard Troubleshooting

    If you're having issues with your Apple Wireless (Aluminum) Keyboard disconnecting, there are a few things you can try. First, check your wireless network configuration to see if you can avoid interference. See this post in another topic: http://disc

  • Need help with google search..wont hold a cursor unless I hold down my mouse in English

    search bar will not hold cursor,cannot type any more letters without using the mouse..what is causing this and how can I dtop it..very annoying

  • Applications not working correctly

    My iChat, Safari and Dashboard will not work at all, they will "Close unexpectedly" every time i try to do anything using them. I can ask to report it, but it just keeps loading and never lets me send it through to Apple. Dashboard will dim the scree

  • Result cache invalidated

    Hi, Oracle version 11.2.0.1 on Linux I understand thatt result cache (RC) invalidation is at table level. I did a simple test: create table customer (custno number, custname varchar2(30)); Table created. insert into customer (custno,custname) values

  • Correct way to compress 16X9 file for the web

    Hello: Shot an HDV project. After importing converted files to DVCProHD. 1280X1080 16X9. Edited 5 min. piece. Exported QT with current settings. Need to upload to You Tube. Please tell me...what's the best choice in Compressor? I tried H.264 Streamin