Interactive Report - Icon View - Dynamic Columns per Rows ?

Hi all,
We use the icon view functionnality in Interactive Report.
Is there a way to display the 'columns per row' attribute as an application item and set it dynamical via PL/SQL ?
Any suggestions?
Thanks in advance for advices,
Regards,
Grégory

Hi,
Apex 4.0 interactive reports and images (Scott's thread)
Have some useful information and pointers to the solution you are looking for.
I hope this help.
Thank you,
Ranish

Similar Messages

  • Interactive Report - Include Non-selected Column in Row Text Search

    Hi,
    We have an interactive report that contains many columns. NAME VARCHAR2(30), TYPE VARCHAR2(30) etc and DESCRIPTION VARCHAR2(4000).
    Normally the DECRIPTION column would not be shown (avalilable for dispaly via 'Select Columns' but not selected), however we need the default Row Text Search (ie direct entry into the search field instead of creating a column filter) to search the DESCRIPTION field wether it is selected for display or not.
    This will allow the user to enter a term that may be contained in the DESCRIPTION to find records without trying to display a 4000 character field in the report - which just looks horrible.
    We are using ApEx 4.1.1.
    Thanks,
    Martin Figg

    Hi Ray,
    As I expected this has got us very close. We went with the code:
    select
    facility_id,
    facility_name,
    '<span title="' || facility_desc|| '">'||substr(facility_desc,0,50)||decode(sign(length( facility_desc)-50),1,' (More...)',NULL)||'</span>' facility_desc,
    equipment_id,
    equipment_name,
    '<span title="' || equipment_desc|| '">'||substr(equipment_desc,0,50)||decode(sign(length( equipment_desc)-50),1,' (More...)',NULL)||'</span>' equipment_desc,
    from
    rf_full_item_list_vwhich works well. The only issue is that when you download to csv you get the html tags etc as well. Put I am a lot closer to a solution than we were.
    Thanks again.
    Martin

  • Interactive Report Icons

    Greetings.
    I am using APEX 4.0.2
    I have an interactive report. When I try to change it to Icon view, I receive the following error:
    ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression
    Is there something I am doing wrong?
    Regards,
    Bill Chadbourne

    Hello
    1. When I've hidden some columns in the interactive report and clicked the icon, it does not display hidden column details. But I want to hide those columns only in the report but displays all details when the icon is clicked. How can I do this?You can create another region, or page that will show your row description by identifier or rowid. You can do this by changing Link Column type to "Link to Custom Target"
    2. How can I hide the icons?Go to Interactive Report -> Link Column -> Link Column change to (Exclude Link Column)
    3. How can I use the icons not to display line details but to direct to an editable page to edit the same details?The same as answer 1.
    Best Regards, Kostya Proskudin!

  • Questions on Interactive Report Icons

    When I created an Interactive Report, rectangular icons have been automatically created on the left side of the report on every line.
    When clicked one of the icons, it displays the details of the line in vertical order.
    Here are my questions:
    1. When I've hidden some columns in the interactive report and clicked the icon, it does not display hidden column details. But I want to hide those columns only in the report but displays all details when the icon is clicked. How can I do this?
    2. How can I hide the icons?
    3. How can I use the icons not to display line details but to direct to an editable page to edit the same details?
    Thanks,
    Guy

    Hello
    1. When I've hidden some columns in the interactive report and clicked the icon, it does not display hidden column details. But I want to hide those columns only in the report but displays all details when the icon is clicked. How can I do this?You can create another region, or page that will show your row description by identifier or rowid. You can do this by changing Link Column type to "Link to Custom Target"
    2. How can I hide the icons?Go to Interactive Report -> Link Column -> Link Column change to (Exclude Link Column)
    3. How can I use the icons not to display line details but to direct to an editable page to edit the same details?The same as answer 1.
    Best Regards, Kostya Proskudin!

  • Can interactive report have 2 "special" columns?

    I have an interactive report on which I have placed a column for redirecting to a detail form. But I want to, also, put a column that will contain a button which will perform an action (update 2 columns in db). This way if the user wants to close the entry on the db they can click this button without having to go to the detail screen. So, they can go to the detail screen and close the entry or they can just click on the button to close the entry. I would love to have it be done with a right-mouse click menu but I suspect that is too much to ask which is why I thought the button might be ok.

    I took a different approach but this might work for you...
    On the interactive report, defined column1 as 'CheckBox' using this syntax:
    Select APEX_ITEM.CHECKBOX(1,c.s_id) "s_id_checkbox", column2, column3 etc. from my table - Note: APEX_item.CHECKBOX can create the checkbox as 1st item on the IR report
    once the item is defined, set the item header in the 'Report Attributes' tab to: <input type="checkbox" onclick="$f_CheckFirstColumn(this)" title="Select"/> and column type: Standard Report column - This will give the each row of the IR check/uncheck facility for the user. Make sure when you run the IR in developer mode, to 'Select' the newly defined 'checkbox' column in the 'Actions' menu and Save the report as 'Public' report. Also, move the newly-defined 'check-box' column as 1st column to display on the IR.
    Introduce a button Item on the IR Page, that will submit a page process. Write your PLSQL procedure or DML calls in this page process, for performing your database operation on your list of 'checked items'
    Page Process upon button submit: Code Example only. You may need to implement as per your reqs.DECLARE
    v_request VARCHAR2(100) := v('REQUEST');
    v_count pls_integer;
    v_selected_item_id pls_integer;
    BEGIN
    :P1_PROCESS_MSG := NULL; --This should be set the page processes 'success' and 'error' message properties to &P1_PROCESS_MSG. (Define new item P1_PROCESS_MSG on your page of IR)
    IF v_request = 'YOUR_BUTTONS_REQUEST_NAME' THEN
    --//Process each user selection via the PLSQL page process api call
    FOR i in 1..APEX_APPLICATION.G_F01.COUNT LOOP
    v_count := v_count+1;
    BEGIN
    v_selected_item_id := APEX_APPLICATION.G_F02(i);
    --// CALL_YOUR_PLSQL_PACKAGE or Custom DML BY PASSING THE USER SELECTED RECORD_ID TO PERFORM YOUR DATABASE DML and by using the 'v_selected_item_id' as a parameter or DML condition to perform your database DML action.
    EXCEPTION WHEN OTHERS THEN
    :P1_PROCESS_MSG := SQLERRM;
    END;
    END LOOP;
    END IF;
    EXCEPTION HANDLER..
    :P1_PROCESS_MSG := SQLERRM;
    END;
    Usage:
    User runs the IR, checks on the records he/she wants to do the 'close' then clicks on the new button that does the 'multiple-close' for the records of choice. He/she can select just-1-row and do the same dml operation by clicking on a button that you defined on this IR Report's page.
    Also, if the above approach is not viable, you can create a 'f?p...' column link on your IR's main query to submit the page upon user-click. But, I've seen the above approach lot more liked by users.
    SK
    Edited by: VSKumar on Feb 7, 2012 5:45 PM

  • Interactive report on view based on pipelined table function.

    Hi,
    I want to build an Interactive Report on a view.
    The view definition contains a select on a pipelined table function. I use context functionality to pass paramaters to the pipelined table function.
    A plain select * from #my_view# in SqlPlus results in 121 different rows.
    However, If I base my Interactive report on this view, I get 15 repeated rows (all the same).
    Is it possible to use pipelined table functionality on an Interactive report? I can't seem to get it working.
    If I use the following approach (http://rakeshjsr.blogspot.nl/2010/10/oracle-apex-interactive-report-based-on.html) I do get results, but I can't use this solution for a reason that's not relevant.

    Hello,
    Is it possible to use pipelined table functionality on an Interactive report? I can't seem to get it working. I have used it in one instance and it works fine. However I was passing the values to pipe-lined function directly.
    IR Query..
    SELECT * FROM TABLE(fn_pipeline(:P1_ITEM_NAME))Call pipe-lined function from IR query directly (instead of using view)
    Try sending values to Pipe-lined function directly. In-case if the problem is with setting and getting values from the context?
    Regards,
    Hari

  • Interactive Report Attributes: Missing a column?

    This is for Application Express 3.2.1.00.12
    I'm working on a report with the columns pulled in a SQL statement in the Region Definition section of the Interactive Report Attributes screen. We want to alter the column names so they are more user friendly, so on the Report Attributes tab, I'm looking for the column name we wish to alter, but it is not showing up. Now, in the final report, the column is visible with the header from the name of the column from the database, so the system is aware of the column and can display it, but for some reason we can't see it in the Report Attributes tab.
    Why would a column be invisible or inaccessible in the Report Attributes tab? There are 100 columns displayed in the Report Attributes: Column Attributes section. Is that the reason I'm missing some columns; 100 is a hard column limit on that page?
    Thanks in advance for all help you can provide.
    Matthew Nagler
    Edited by: user13579247 on Jul 20, 2011 10:45 AM
    Edited by: user13579247 on Jul 20, 2011 12:20 PM

    Hi,
    You are almost right place. You need click icon before 100th column name, order to go screen where you can edit column attributes.
    In that screen right top is buttons (Cancle, Apply, < and >)
    Regards,
    Jari
    Edited by: jarola on Jul 21, 2011 5:43 PM
    It might documentation guides you to right screen
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/app_comp.htm#sthref978
    >
    To access Column Attributes:
    1. On the Workspace home page, click the Application Builder icon.
    2. Select the application.
    3. Select a page. The Page Definition appears.
    4. Under Regions, click Interactive Report next to the name of the report region you want to edit.
    The Interactive Report Attributes page appears with the Column Attributes section at the top of the page.
    5. To access the Column Attributes page, click the Edit icon next to the appropriate column Alias.
    >
    Edited by: jarola on Jul 21, 2011 5:44 PM

  • Interactive Report Downloads only showing Column Headings

    I have an Interactive Report that is selecting more than 100 columns. I set the defulat to only show a few of the columns (the rest are dedaulted to not show). When I try the download option (pdf, rtf etc.) , it only shows the column headers (no data). The download works when you originally create the Report region with the SQL statement. It seems to break as soon as you do the 'Save Report' - 'As default Report Settings'. Anybody seen this before? It is a bug?

    Hi,
    You are almost right place. You need click icon before 100th column name, order to go screen where you can edit column attributes.
    In that screen right top is buttons (Cancle, Apply, < and >)
    Regards,
    Jari
    Edited by: jarola on Jul 21, 2011 5:43 PM
    It might documentation guides you to right screen
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/app_comp.htm#sthref978
    >
    To access Column Attributes:
    1. On the Workspace home page, click the Application Builder icon.
    2. Select the application.
    3. Select a page. The Page Definition appears.
    4. Under Regions, click Interactive Report next to the name of the report region you want to edit.
    The Interactive Report Attributes page appears with the Column Attributes section at the top of the page.
    5. To access the Column Attributes page, click the Edit icon next to the appropriate column Alias.
    >
    Edited by: jarola on Jul 21, 2011 5:44 PM

  • Difficult to achive the report layout with dynamic column names

    I have a report layout as below.
    So here the column names are dynamic.And each fixed row group has different calculations. I have a date parameter. If I select July 2013, then I need to show data from July 2012 to July 2013 with Columns(Jul-12, Aug-12...Jul-13). How to achive below layout
    with dynamic columns?

    Hi Sarayu_CM,
    According to your description, you want to filter the records of prior year based on only one parameter selection. Right?
    In this scenario, we can create two parameters. The first one is for user to select. The second parameter is based on the first parameter selection. We don't need to specify Available Values for the second parameter, but we should use expression to specify
    Default Values based on the first parameter selection. Use the expression below:
    =DateAdd("m",-12,FormatDateTime(Parameters!param1.Value))
    Then we just need to apply a filter on the matrix/dataset to get the records which the date is between values in these two parameters.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Interactive report based on dynamic query

    Hello
    I am using Apex 4.1 and have a requirement to create an interactive report based on a dynamic query. This option is available in Classic report but in Interactive this feature is not there. Tried using collections or just a view (thought of changing the view definition during "On load", but structure of the report is already defined based on the definition of the view at design time).
    Is there any way of achieving this?
    Appreciate any help!
    Thanks
    aks

    Try looking at this: http://rakeshjsr.blogspot.com/2010/10/oracle-apex-interactive-report-based-on.html
    Thank you,
    Tony Miller
    Dallas, TX

  • Interactive Report - Display New/Changed Columns

    Hi,
    when I add or change a column in Interactive Reports, APEX doesn't show me the new column automatically.
    Everytime the user log in, he has to go on "Actions" and "Select Columns" manually, otherwise the new/changed column won't be displayed.
    How can I do that the column is displayed automatically after login?
    I am using APEX 4.0.2.00.07.
    Regards,
    Marc

    Either you, as a Developer, can save the report as Public.
    Or an aithorized user can save the report as a General/Shared Report.
    Or the user can save the report as a Private one.
    Pick the columns you/user wants to see. Then [Action -> Save]

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

  • Is it possible to sort an interactive report with a default column ?

    Hi,
    I have a nice request used with an interactive report.
    select "ID",
    "DATE_CREATION",
    "SERVICE",
    "RESPONSABLE",
    "NATURE_CONTRAT",
    "SOCIETE",
    "DATE_DEBUT",
    "DATE_FIN",
    "DELAI_RENOUVELLEMENT"
    from "#OWNER#"."CONTRATS_MAINTENANCE"
    order by DATE_FIN descUnfortunately, the interactive report does not displays using the order into the SLQ query.
    I tried to de select the "sort" option of each other columns into the Column attributes Section, but without any improvement. If I remove the order statement from the SQL query, nothing changes in the order.
    Do you have an idea on how to display the lines in the order of the sql query ?
    Thank you for your knid answers !
    Chrstian

    Christian,
    This can be a little tricky at first. Try this:
    1. Remove the order by clause from the query.
    2. Log out of the application, not the builder, just the application.
    3. Log back in and try using the options in the interactive report to sort the information.
    Does it work? If so:
    4. Get the order the way you would like it as the default. Note: you get more sort options if you use the Action Menu (grind wheel) and selecting Sort over just clicking the column headers.
    5. Save the report by selecting the Save Report option from the Action Menu. If you see a drop down, save the report as the "default".
    6. Log out of the application again and back in.
    Does it work?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • View always opens in Icon view, not Column view

    Hello,
    I open Finder and it always opens in Icon view. I set it to open to Column and close Finder. When I reopen Finder, it opens in Icon again. I've tried trashing the Finder plist, repaired permissions, but nothing. Is there anything I can do to keep it opening the same way? It's pretty frustrating.
    Thanks.

    Hi Danielmak,
    This Terminal command is not specifically related to Column View I'm afraid...
    I don't fully understand what it does, but what I can tell you is that the script - for me & a few others - got rid of the common problem where the Finder-window only for the Macintosh HD (i.e. double-clicking on the Mac HD icon) always re-set back to Icon-View after a re-start, despite changing the window to List View and un-checking 'Always Open in Icon View' in View Options (Cmd+J).
    I'm not sure I fully understand your problem, but..... You can have separate Finder-windows in different view-types (icon/list/column etc), BUT, the view-type does not automatically change between different types as you drill down into the folders in that particular window.
    If you want a particular view-type & window-size to stick for each drive or folder on the desktop, you have to make your changes at the first level, then close the window... When you double-click again on that same drive, the view-type (don't forget to un-check the 'Always open in icon view' in View Options) & window position should be the same. If you drill down into the folders in that hard drive, & THEN make changes to view-type & window size, they will not stick (i.e. the next time you double-click on the HD icon, it will re-open in the originally-set position & view-type.)
    Hope that helps. Apologies if I've misunderstood the question.
    All the best,
    Jason

  • How to create a dynamic RTF report which creates dynamic columns based on dynamic column selection from a table?

    Hi All,
    Suppose I have table, whose structure changes frequently on daily basis.
    For eg. desc my_table gives you following column name on Day 1
    SQL > desc my_table;
    Output
    Name
    Age
    Phone
    On Day 2, two more columns are added, viz, Address and Salary.
    SQL > desc my_table;
    Output
    Name
    Age
    Phone
    Address
    Salary
    Now I want to create an Dynnamic RTF report which would fetch data from ALL columns from my_table on daily basis. For that I have defined a concurrent program with XML as output type and have attached a data template/data definition to it which takes in XML as input and gives final output of conc program in EXCEL layout. I am able to do this for constant number of columns, but dont know how to do it when the number of columns to be displayed changes dynamically.
    For Day 1 my XML file should be like this.
    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
    </group>
    </dataStructure>
    </dataTemplate>
    And my Day 1, EXCEL output from RTF template should be like this.
    Name     Age     Phone
    Swapnill     23     12345
    For Day 2 my XML file should be like this. With 2 new columns selected in SELECT clause.
    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    ,Address
    ,Salary
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
      <element name="Address" value="Address" />
      <element name="Salary" value="Salary" />
    </group>
    </dataStructure>
    </dataTemplate>
    And my Day 2, EXCEL output from RTF template should be like this.
    Name     Age     Phone     Address     Salary
    Swapnill     23     12345         Madrid     100000
    Now, I dont know below things.
    Make the XML dynamic as in on Day 1 there must be 3 columns in the SELECT statement and on Day 2, 5 columns. I want to create one dynamic XML which should not be required to be changed if new columns are added in my_table. I dont know how to create this query and also create their corresponding elements below.
    Make the RTF template dyanamic as in Day1 there must 3 columns in EXCEL output and on Day 2, 5 columns. I want to create a Dynamic RTF template which would show all the columns selected in Dynamic XML.I dont know how the RTF will create new XML tags and how it will know where to place it in the report. Means, I can create RTF template on Day 1, by loading XML data for 3 columns and placing 3 XML tags in template. But how will it create and place tags for new columns on Day 2?
    Hope, you got my requirement, its a challenging one. Please let me know how I can implement the required solution using RTF dynamically without any manual intervention.
    Regards,
    Swapnil K.
    Message was edited by: SwapnilK

    Hi All,
    I am able to fulfil above requirement. Now I am stuck at below point. Need your help!
    Is there any way to UPDATE the XML file attached to a Data Definition (XML Publisher > Data Definition) using a standard package or procedure call or may be an API from backend? I am creating an XML dynamically and I want to attach it to its Data Definition programmatically using SQL.
    Please let me know if there is any oracle functionality to do this.
    If not, please let me know the standard directories on application/database server where the XML files attached to Data Definitions are stored.
    For eg, /$APPL_TOP/ar/1.0/sql or something.
    Regards,
    Swapnil K.

Maybe you are looking for