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

Similar Messages

  • Passing parameter from interactive report column link to new page

    I'm very simply trying to pass the value of the column link to the where clause on the next page.
    Interactive Report on P2 has column link fid alias in sql query.
    I read somewhere to refer prefix the interactive report column with IR ??
    So I have item name P2_FID, value #FID#. Anyway, I've tried a kazillion things.
    Created a hidden item with same source value... sigh.
    Is there a syntax to refer to a report column link, rather than an item_id in a region where clause?
    Is there a simple direct way to do this?
    Thanks,
    Pamela
    -----pls/apex/f?p=163:1:2746459963336955::NO::P2_FID:119

    Thank you Varad...
    Unfortunately, I am still getting no data found. (and there IS data).
    a) Do you mean in the link column section of the report attributes? that is done: item 1 name= IR_P2_FID, value = #FID#
    b) Do you mean my changing my hidden page item to ir_p2_fid with its source value as #FID# ? also done.
    Do I need this hidden item?, and if not how do I refer to link in the where clause of the called page's sql region?
    3) Where Fishery_id = :IR_P2_FID
    Where Fishery_id = &IR_P2_FID
    Thanks again!
    Pamela

  • 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 : 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

  • Can I run a BI Publisher report from interactive report

    Hi,
    I have an APEX interactive report and want to run a BI publisher report by clicking on a column value within the interactive report. Is that possible?

    Hi 918900,
    This is possible.
    Set the column in the interactive report as link to page 0 with the report name in the request field
    PRINT_REPORT=<your report>. Don't forget to specify the Display type for the column as 'Standard Report Column'.
    Geert.

  • 'unsupported data type' in interactive report

    Hi,
    I try to download a file from a link of an itneractive report.
    In the "report attributes" section of the interactive column, I have defined in the link section of a column the 'Target' as 'URL', and the URL as this :
    DOWNLOAD:CONVENTIONS:#FILE_BLOB#:#ID#::#MIME_TYPE#:#FICHIERS#:#LAST_UPDATE#::attachment:ConvWhen I run the interactive report, the link show this :
    download:CONVENTIONS:[unsupported data type]:188:::C22.pdf:::attachment:Conv
    The table "CONVENTIONS" is defined like this :
    "ID" NUMBER NOT NULL ENABLE,
    "FICHIERS" VARCHAR2(2048 BYTE),
    "FILE_BLOB" BLOB,
    "LAST_UPDATE" DATE,
    "MIME_TYPE" VARCHAR2(255 BYTE)
    Where is my error ?
    Thank for your kind help !
    Christian

    Hi Christina,
    sorry the wizard you have to use is the "Form > Form on Table with Report", because the normal create interactive report wizard allows to enter a query.
    After you are done with the wizard, have a look at the generated SQL statement (it has to use the dbms_lob.getlength) and the value in "Number / Date Format" for that column.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Interactive report performance problem over database link - Oracle Gateway

    Hello all;
    This is regarding a thread Interactive report performance problem over database link that was posted by Samo.
    The issue that I am facing is when I use Oracle function like (apex_item.check_box) the query slow down by 45 seconds.
    query like this: (due to sensitivity issue, I can not disclose real table name)
    SELECT apex_item.checkbox(1,b.col3)
    , a.col1
    , a.col2
    FROM table_one a
    , table_two b
    WHERE a.col3 = 12345
    AND a.col4 = 100
    AND b.col5 = a.col5
    table_one and table_two are remote tables (non-oracle) which are connected using Oracle Gateway.
    Now if I run above queries without apex_item.checkbox function the query return or response is less than a second but if I have apex_item.checkbox then the query run more than 30 seconds. I have resolved the issues by creating a collection but it’s not a good practice.
    I would like to get ideas from people how to resolve or speed-up the query?
    Any idea how to use sub-factoring for the above scenario? Or others method (creating view or materialized view are not an option).
    Thank you.
    Shaun S.

    Hi Shaun
    Okay, I have a million questions (could you tell me if both tables are from the same remote source, it looks like they're possibly not?), but let's just try some things first.
    By now you should understand the idea of what I termed 'sub-factoring' in a previous post. This is to do with using the WITH blah AS (SELECT... syntax. Now in most circumstances this 'materialises' the results of the inner select statement. This means that we 'get' the results then do something with them afterwards. It's a handy trick when dealing with remote sites as sometimes you want the remote database to do the work. The reason that I ask you to use the MATERIALIZE hint for testing is just to force this, in 99.99% of cases this can be removed later. Using the WITH statement is also handled differently to inline view like SELECT * FROM (SELECT... but the same result can be mimicked with a NO_MERGE hint.
    Looking at your case I would be interested to see what the explain plan and results would be for something like the following two statements (sorry - you're going have to check them, it's late!)
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two),
    sourceqry AS
    (SELECT  b.col3 x
           , a.col1 y
           , a.col2 z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5)
    SELECT apex_item.checkbox(1,x), y , z
    FROM sourceqry
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two)
    SELECT  apex_item.checkbox(1,x), y , z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5If the remote tables are at the same site, then you should have the same results. If they aren't you should get the same results but different to the original query.
    We aren't being told the real cardinality of the inners select here so the explain plan is distorted (this is normal for queries on remote and especially non-oracle sites). This hinders tuning normally but I don't think this is your problem at all. How many distinct values do you normally get of the column aliased 'x' and how many rows are normally returned in total? Also how are you testing response times, in APEX, SQL Developer, Toad SQLplus etc?
    Sorry for all the questions but it helps to answer the question, if I can.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Using Interactive Report with SQL query accessing tables via db link

    Is there a known issue with using the interactive report in version 3.1.2.00.02 with SQL that is accessing tables via a database link? I get the error 'not all variables bound', I do not get this error when using the standard report for the same SQL?
    Thanks,
    Edited by: [email protected] on May 26, 2009 2:59 PM

    Varad,
    Good question, failed to check that. In fact there are errors. Dump file c:\oraclexe\app\oracle\admin\xe\bdump\xe_s002_3640.trc
    Mon Jun 15 08:48:11 2009
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Windows XP Version V5.1 Service Pack 3
    CPU : 2 - type 586, 1 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:1051M/2038M, Ph+PgF:2273M/3934M, VA:1302M/2047M
    Instance name: xe
    Redo thread mounted by this instance: 1
    Oracle process number: 16
    Windows thread id: 3640, image: ORACLE.EXE (S002)
    *** ACTION NAME:(PAGE 2) 2009-06-15 08:48:11.743
    *** MODULE NAME:(APEX:APPLICATION 112) 2009-06-15 08:48:11.743
    *** SERVICE NAME:(SYS$USERS) 2009-06-15 08:48:11.743
    *** CLIENT ID:(ADMIN:232384011651572) 2009-06-15 08:48:11.743
    *** SESSION ID:(24.931) 2009-06-15 08:48:11.743
    *** 2009-06-15 08:48:11.743
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_LdiDateFromArray+55] [PC:0x608B04F3] [ADDR:0x0] [UNABLE_TO_WRITE] []
    Current SQL statement for this session:
    select Stage,Procedure,Stp,FW,Reslt,MSG,date_run
    from bi_msg_VW@dwitnm
    order by 1
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    2FE1EA14 1207 package body SYS.DBMS_SYS_SQL
    2FE1F064 328 package body SYS.DBMS_SQL
    2ABDC520 5097 package body APEX_030200.WWV_RENDER_REPORT3
    2BD5E55C 1538 package body APEX_030200.WWV_FLOW_DISP_PAGE_PLUGS
    2BD5E55C 366 package body APEX_030200.WWV_FLOW_DISP_PAGE_PLUGS
    335BDA88 11190 package body APEX_030200.WWV_FLOW
    2BDBD1C8 255 procedure APEX_030200.F
    2AB58D10 30 anonymous block
    ----- Call Stack Trace -----
    I didn't include the call stack, it is too large. Now I'm even more puzzled that the IR would work while a sql report would fail.
    Bob

  • Interactive Report Refresh and JQuery Plugin Issue

    Hi,
    I have Interactive report in my page. I am using jQuery context menu plugin , so when user right click on a column he get an option to add , delete , update and other option.
    javascript pseude code for context menu
    $(function(){
         context_menu();
    function context_menu(){
      $('.Col1').contextMenu();
    }Suppose User Selects Delete option. In this case jQuery popup appears and users enter the data which is saved to table using on demand process. After that using gReport.search('SEARCH') , I am refreshing the page...
    Now the issue arises ------ Now when i right click the column my jQuery context menu is not working ...
    Workaround used ----- I added onmouseover=context_menu() function to the column link... and it working fine..
    Now my question is ... each time the user moves the mouse over column it will run context_menu() function ..... Will there be any adverse issue .. or memory leakage issue...
    Please advice..
    Thanks,
    shijesh

    Hi,
    I think there should not be any issues to do that way. You need of course test it carefully.
    You can run stuff after IR refresh also on Apex 3.2.
    See e.g. this post
    Apex 3.2 hook javascripts to IR and execute those when report is refreshed
    I have included that to my jQuery "plugin" for Apex 3.2
    http://dbswh.webhop.net/apex/f?p=BLOG:READ:0::::ARTICLE:127800346959520
    Regards,
    Jari

  • Interactive Reports - Performance Issue

    Hi All
    We have been getting ORA-04030: out of process memory … more and more frequently since first implementing Interactive Reports. From Enterprise Manager we had a look at the most costly queries and the one that stands out the most is:
    SELECT *
    FROM WWV_FLOW_WORKSHEET_CONDITIONS
    WHERE CONDITION_TYPE = ‘HIGHLIGHT’
      AND WORKSHEET_ID = :B2
      AND SECURITY_GROUP_ID = :B1
    ORDER BY HIGHLIGHT_SEQUENCE, NAME I have done all I can with the memory configuration and we are in the process of upgrading the servers to 64 bit Linux.
    However, I noticed that WWV_FLOW_WORKSHEET_CONDITIONS table has 400,000 rows and the above query is performing a full table scan on it. As the query is run each time an IR report is viewed, this could account for the problems. The DBAs are of the opinion that the indexing and query are optimal and cannot be improved, so the obvious solution is to archive and purge the table.
    Of the 400k rows, 80% are session values linked to sessions that no longer exists. It would appear that each time a user adds a filter or highlight to an interactive report it is recorded as a session value in the WWV_FLOW_WORKSHEET_CONDITIONS table. When the user logs out and closes the session, the values remain in the table and aren't cleared!!!? We currently average about 90 users a day with 60,000+ page requests so 400,000 rows is way more than I would expect to see.
    Am I missing something? How do redundant session values get purged from the ir flows tables? Is there a (supported) way for me to clear them?
    This is a critical issue for me now and I have raised an SR on metalink, but if the forum could offer some advice or assistance it would be very much appreciated.
    Cheers
    Simon
    Bumped by: Shunt on May 12, 2009 11:00 AM

    Hi Varad
    Thanks for your help. I have had a good play with the purge function and now I'm more confused than ever. First let me explain my test scenario: I have an application with an interactive report in which I am logged in and able to make session changes (without saving the reports). I am observing the session activity on the Interactive Report using the apex_application_page_ir_rpt view which is set to filter on the application and page number for the Interactive Report I am testing.
    Test 1
    User logs into application, adds a filter to the report.
    Result: A new row appears in the apex_application_page_ir_rpt view
    Administrator Purges all sessions > 10secs old
    Result: The new row is removed from apex_application_page_ir_rpt view
    Test 2
    User logs into application, adds a filter to the report.
    Result: A new row appears in the apex_application_page_ir_rpt view
    User logs out of application
    Result: The new row remains in the apex_application_page_ir_rpt view
    Administrator Purges all sessions > 10 secs old
    Result: The new row still remains in the apex_application_page_ir_rpt view view
    I hope that makes sense. Why would the session values not be cleared if the user logs out first? Why are they not then cleared if all the sessions are purged?
    I am hoping that someone else can repeat the test and see if they find the same result.
    Cheers
    Simon

  • APEX 5 Interactive Report Link Hidden Column Pivot Report

    Hi,
    i have some interactive report (on table demo_orders)
    If i put a link on, lets say USER_NAME and pass parameter, lets say #CUSTOMER_ID#, i can see
    the value substituted correctly in the report link.
    Using the pivot feature, e.g.:
    Pivot-Coumns:
    customer_id
    Rowcolumns:
    Order_id,
    User_name.
    Functions:
    Sum - Order Total
    the substitution doesnt seem to work anymore, the link looks like this:
    f?p=43666:9:28969915122817::NO:RP:P9_CUSTOMER_ID:#CUSTOMER_ID#
    a demo is there:
    https://apex.oracle.com/pls/apex/f?p=43666:9
    (using open door credentials)
    thanks,
    gerald

    Hi Gerald,
    Thank you for reporting the issue.  This is logged as bug 20950850.  We will look into fixing.
    Regards,
    Christina

  • Interactive report column with an external link -  Sort, chart functions

    interesting.... the message text did not make it into the post (twice). But edit seems to work.
    Our problem....
    We have an interactive report with a column that in some cases will contain information allowing us to build a link. We have updated the report query to return the data tagged with the <a href..... on rows that can be links. The links are displayed and function correctly. However, if we click on the column header so we do something like sort, the page hangs. If we try to create a report using this column we get an error.
    We have also tried marking the column as a link in the IR definition. With that design, the sort and reporting isn't an issue, but all the rows are links, which is not what we need.
    Does anyone have any ideas on how to solve this problem?
    Thanks, Nann
    Edited by: Nann on Feb 6, 2010 11:07 AM

    Hi Peter,
    Thanks for your suggestion. We ended up with a slight variation in the design that allowed us to mark the column as a link.
    Basically we have a column just for the link.
    In our query we now have 2 columns. One that builds the url, the other the text we want displayed as a link.
    If that row should not have a link in it the query returns null for both columns.
    We only display the link column in the report.
    We use the url column in the link definition .
    We've disabled the sort and other functions on this column.
    All works as we wanted.
    Thanks
    Nann

  • Interactive Report Performance With Conditional Link

    Apex 3.2
    I have a interactive report.
    The underlying sql would return 127000 rows
    The sql is
    select
      lde.ods_system,
      lde.ldekey,
      msg.sendersystem, 
      msg.messagetype,
      msg.messageversion,
      msg.msgseqnumber,
      msg.alternatekey,
      msg.crudmarker,
      msg.clrbookdate,
      msg.clrbookresult,
      lower('udf_'||msg.messagetype) button,
      lde.ldekey||'.'||msg.alternatekey||'.'||msg.msgseqnumber udm_key
    from
      clr_esbmessageheader msg,
      clr_adm_systemmessage adm,
      udm_lde lde
    where
      adm.ldeid = lde.ldeid and
      msg.sendersystem = adm.system and
      msg.messagetype = adm.messagetype and
      msg.messageversion = adm.messageversion and
      msg.receiversystem = 'SCIPS'
    order by msg.clrbookdate desc
    This report only takes 1 second to display.
    I need to add a conditional link to another page, so I used
    case
    when lower('udf_'||msg.messagetype) = 'udf_distreceipt' then
    '<a class="type" href="' || apex_util.prepare_url('f?p='||:APP_ID||':52:'||:APP_SESSION||'::'||:DEBUG||':RIR'||':IR_MSG_KEY,P52_PG:'|| lde.ldekey||'.'|| msg.alternatekey ||'.'|| msg.msgseqnumber ||','|| 50, null, 'SESSION') || '"title="Go to udf_distreceipt Report">udf_distreceipt</a>'
    else 'no link' end table_link
    The sql seems to be ok, because the report accepted it, but selecting the new column and saving the report takes forever (over 2 mins)
    Now the report takes over 2 minutes to run and I still need to add more conditions.
    Have I coded the link incorrectly ?
    Gus

    Hi Gus,
    Are you wanting to put the link in the query for a specific reason?
    I had to do a similar thing in the past and just completed the column link section for the column.
    Why not just have the following in the query:
    case
    when lower('udf_'||msg.messagetype) = 'udf_distreceipt' then
    udf_distreceipt
    else null END table_link
    Then do the linking using column link section:
    You would specify your link text as #TABLE_LINK# which should then be conditionally displayed due to the case statement, then add in all the page item and values to pass across using a normal link column.
    Thanks
    Paul

  • Interactive report performance problem over database link

    Hi gurus,
    I have an interactive report that retrieves values from two joined tables both placed on the same remote database. It takes 45 seconds to populate (refresh) a page after issuing a search. If I catch the actual select that is generated by apex ( the one with count(*) over ()...) and run it from sql environment, it takes 1 or 2 seconds. What on earth does consume the rest of the time and how to speed this up? I would like to awoid creating and maintaining local materialized views if possible.
    Regards
    Samo

    Hi
    APEX normally needs to return the full result set for the purposes of pagination (where you have it set to something along the lines of show x-y of z), changing this or the max row count can affect performance greatly.
    The driving site hint would need to refer to the name of the view, but can be a bit temperamental with this kind of thing. The materialize hint only works for sub-factored queries (in a 'WITH blah AS(SELECT /*+ MATERIALIZE */ * FROM etc. etc.)). They tend to materialize anyway and its best not to use hints like that for production code unless there is absolutely no other option, but just sub factoring without hints can often have a profound effect on performance. For instance
    WITH a AS
    SELECT c1,
            c2,
            c3,
            c4,
            c5
    FROM schema1.view1)
    , b AS
    SELECT c1,
            c2,
            c3
    FROM schema1.view2)
    SELECT *
    FROM a, b
    WHERE a.c5 = b.c3May produce a different plan or even just sub factoring one of the external tables may have an effect.
    You need to try things out here and experiment and keep looking at the execution plans. You should also change Toads row fetch setting to be all 9's to get a real idea of performance.
    Let me know how you get on.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)
    Edited by: Munky on Sep 29, 2009 1:41 PM

  • Interactive report run pl/sql by clicking on link column

    Hi!
    How can I run pl/sql script by clicking on a link column of an interactive report?
    Andras

    EDIT : Oh sorry don't saw the date, I'm a little late...
    Hi,
    if you want a link for each row, an other solution is to include the link column in your query, which would be more customizable, ie :
    select
    COLUMN1,
    COLUMN2,     
    '<ahref="f?p=&APP_ID.:6:&APP_SESSION.::NO::" onclick="your_function('||YOUR_ID_COLUMN||');return false;">link or picture</a>' as "link",
    COLUMN3;
    from
    ...As you see, you will have to include the ID (primary key) column to your report ("hidden") to identify the row clicked when calling your function.
    If you want to use the Link Column property in the report attributes, you will have to call you js function in the "URL" field like that :
    javascript:your_function('#YOUR_ID_COLUMN#');
    Yann.
    Edited by: Yann39 on 17 sept. 2010 02:41

Maybe you are looking for

  • Enhancement of MIGO

    Hi all, I have a requirement to post  an accounting entry into 2 gl accounts when a migo (Good Reciept [both posting and rversal] ) is done on a particular type of purchase order (this is apart from the normal ones which have been added by the MM per

  • Error in Accessing the Report Server URL

    Hi All,           I am trying to access the Report Server URL in PowerPivot.But facing below issue .Can any one help me how can I solve the issue Thanks,   Sid

  • Purchase Order using ME25

    HI, I am tring to create a PO using ME25. I am getting the error "Item blocked for order processing (function not possible)" and Procedure says " The item must first be released before you can issue a purchase order". I have already release my contra

  • Any tricks to store pdf file generated via jasper to oracle tables.

    i need to generate pdf file ..for records in a cursor.. So i use jasper integration kit ... to accomplish the same... issue is .. i need to press a button and then pdfs file shoudl be generated...and stored in a table as a blob..My process does this.

  • Accrual fastformula help

    Hi Guru's, Am writing Accrual fast formula for a Indian client. They have 5 different units and each unit has different leave policy. Ex.: 1 unit has 10 days SL(per year .given at the beginning of year) for above manager position and 6 days for below