Exclude column from ir in single row view

Hi Folks,
my prob: I have a very long long column (url) in my ir. In my report view I want to show it shortended and in my single row view I want to show the whole value.
So my query looks like:
select long_url, substr(long_url, 1, 30)||'...' short_url
from something;
Then I exclude the long_url column interactively with the "select columns" option in the Actions menu and save the report as standard.
Now my ir shows only the short_url in the report view, what is ok. But in the single report view it show both long_url AND short_url.
I want to get rid of the short_url in single row view. Is there any way without creating a custom form page?
Thanks!

same question in other words: is there an apex variable to distinguish the report view from the detail view?
please help!

Similar Messages

  • Unable to reorder/change column names on interactive single row view

    I have created an interactive report and grouped my columns to display nicely in a single row view report. However, once I initially add the columns to a group, I am unable to reorder them. I can move them up and down the list, but the changes don't save. Also, I have gone through column by column and unchecked the box that says Use Same Text for Single Row View and expanded the column name. However, the single row view still displays what is in the master report. I've tried closing out my browser completely and reopening, but I am still not seeing my changes. Any suggestions?

    I also just stumbled about the "Use Same Text for Single Row View" option actually doing nothing - in Single Row View I still get the label text from "Column Heading", no matter what I enter in "Single Row View Label".
    I had to adjust a column width using a span tag in the heading (as this seems to be the only way to do that - any other suggestions I found adding style information to the region header had no effect), and now that tag is displayed in the Single Row View label.
    I can live with that for now, but it's not really nice.
    Is this a known bug? Didn't find anything else in the forum regarding this problem so far.
    Holger

  • Interactive report: Can I exclude a particular column from single row view?

    Hi -- I posted on this yesterday (Possible to exclude interactive report column from single row display?
    a bit anxious for suggestions, I guess!
    I've added a column with edit-link functionality to my interactive report query (that is, the link
    is not attached to the database data... it's an additional column and shows an icon). It's also
    in addition to the default single row view link. (We need both.)
    Unfortunately, the Edit link column shows up in the single row view. I've pared it down as much
    as I can: the label is empty, and the null value shows as "-". But an extra row with "-" is pretty
    ugly. Is there a way to always, completely exclude this column from the single row view?
    I know I could put the edit link on a data column, but:
    1) I want the link to always be to the left of the data (and the user can re-order columns)
    2) when the user doesn't have edit privileges, the link will need to be disabled or just not
    be displayed, and I think that would be a problem if the link were on the data. (true?)
    Thanks,
    Carol

    Please disregard this thread, and the one it refers back to. I see a flaw in the design of what I was attempting to do! Creating the link for Editing as a column means the user could inadvertently not display it, or move it, or... any number of problematic scenarios.
    Thanks,
    Carol

  • Interactive Report's Column Definition - Single Row View Label Bug?

    Hello,
    I have an Interactive report that I've added a Blue background to certain column headings (done by giving Column Heading a background color), this works fine except for the Single Row view - it displays the <....> code I used to get the background color and the column heading. I've tried to change the Single Row View Label by unchecking the 'Use Same Text for Single Row View' on the Column Definition and giving a different label, it just ignores whatever I put in and shows the Column Heading with the < .... > code. Is this a Bug or am I doing something wrong?
    Thanks,
    Anna

    Hi Anna,
    I believe that it is a bug.
    If the 'Use Same Text for Single Row View' checkbox is unticked and some text is entered in the 'Single Row View Label' field it gets ignored completely when viewed in the single row view and the existing value in 'Column Heading' is used.
    I wanted to do something similar to you, colouring some of the Interactive Report column headers, and it works fine in the IR report itself but shows the code (span style:color etc) in the single row query. I am using Apex 3.1.1 and the Sand Theme.
    I created a simple application on apex.oracle.com using the red theme and in single row view it still ignores the 'Single Row View Label' but interestingly shows the Column Heading text without the code. This indicates that there could be a work-around by altering the theme.
    Regards,
    Chris

  • Exclude column from interactive report when exporting data

    Hello!
    Is it possible to exclude column from exporting (using bi publisher) in interactive report, but having in report. So in report it is, but in export result it isnt :). I know, that I can just not to select this column in "Action" menu before exporting, but then to select it to view in report. But is it possible not to export this column, but having it in report result?
    I Just have a checkbox in report, and I dont need to see it in export result.
    APEX 4.1.
    Thanks !
    Edited by: go0ze on Sep 28, 2012 1:40 AM

    Hi,
    Set condition type PL/SQL Expression to column and enter to Expression 1
    NVL(:REQUEST,'EMPTY') NOT IN('CSV', 'XLS', 'PDF', 'RTF', 'XML', 'HTMLD')Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Interactive Report Single Row View Error

    I am getting the following error on my Single Row View
    {"dialog":{"uv":true,"row":[{"V":"Widget Failure
    ORA-20001: SHOW error. ORA-20001: VIEW_ROW error. ORA-20001: GET_COLUMN_VALUE error. ORA-01722: invalid number,
    worksheet"}]}}Any clues?
    Shunt

    Shunt,
    Does this happen on every record? Have you tried to recreate the IRR on another page as a test? Do a SELECT * FROM table...
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Need to modify css for interactive report Single Row view

    I've tried to go through and find the code for the Single Row View css in the interactive reports, but have been unsuccessful so far. I would like to change it so the Grouping headers are larger than the column names that are grouped under them. Does anyone know what style I would need to override in order to accomodate that?
    Thanks!

    Hi,
    In the page's HTML Header, add in something like:
    <style type="text/css">
    .worksheet .worksheet_detail th.group, .worksheet_detail th.group {font-size:18px;}
    </style>
    If you use FireFox, I would recommend getting the FireBug add-in - this allows you to examine the contents of the page and shows the style class names used.
    Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to refer a column value of a single row in conditional column display?

    Hello,
    does anybody have an idea, how i can refer a column value of a single row in conditional display of a column?
    So my idea is, that a report has a column, which value is only displayed, when another column value of this row has a specific value.
    I want to solve this problem with condition type: PL/SQL Function Body returning a boolean.
    But I do not know how to refer the column value of each single row!
    Thank you,
    Tim

    Here's a solution that, to me, seems easier to implement but, that's, of course, in the eye of the implementer.
    Rather than using APEX to generate a link column for you, actually create the link as part of your SQL.
    select '<a href="f?p=102:3:491847682940364::::P3_CONTACT_ID:' || CONTACT_ID || "><img src="/i/themes/theme_1/ed-item.gif" alt="Edit"></a>' CONTACT_LINK, ...
    etc.
    Test this out. You'll see that it works just like making a column a link using the column attributes.
    Next, we'll change the SQL to use a DECODE statement to either display the link or nothing depending on what your criteria is. For example, let's assume you only want a link for active contacts.
    select Decode( CONTACT_STATUS, 'A', '<a href="f?p=102:3:491847682940364::::P3_CONTACT_ID:' || CONTACT_ID || "><img src="/i/themes/theme_1/ed-item.gif" alt="Edit"></a>', NULL ) CONTACT_LINK, ...
    etc.
    This will not display the link in any rows in which the CONTACT_STATUS is not active, i.e. "A"
    -Joe

  • Next and Previous buttons in  Single Row View

    Hi All,
    How can we add Javascript function call to Next and Previous buttons in IR Single Row View. Any ones help is much appreciated.
    Thanks

    They make a call to JavaScript, I'm guessing you knew that?
    I'm 96.7% JS illiterate, so I'm incapable of explaining it.
    You have to download the Spry Framework, unpackage it, look
    in the Demos folder, then look in the Gallery folder. Gallery.js, i
    think, is where that JS call goes to in order to switch out the
    next/prev image.
    the download is here:
    http://labs.adobe.com/technologies/spry/

  • Set page item when going to single row view

    Is there a possibility to set page items when going to single row view in an interactive report?
    APEX 4.1
    Edited by: Niels Delaere on Nov 21, 2011 4:59 AM

    Thank you for your response, can you (or anyone else) give me a little more help? I can't seem to figure out how to get this working. The thing you are doing in your demo application is exactly what I want to do. Take two values of a certain row and set them in page items Where after in single row view users can see 3 additional regions with additional information based on these values.

  • Can i go straight to single row view of a report?

    When I click on a link I would like to be able to go directly to a single row view on an interactive report - not to just select that row on the normal view. Anyone know how to do this?

    Hi,
    Actually you can go single row view of interactive report on page load.
    http://apex.oracle.com/pls/otn/f?p=40323:48
    And it is easy to do with dynamic action.
    I did create Advanced dynamic action
    Event "Page load"
    Action "Execute javascript code"
    Code gReport.controls.row('7369')-- this varies on your report . Just example for EMP table
    Selection type "Region" and I did select region where is my IR
    Instead hardcode primary key value to javascript, you can probably use item like
    gReport.controls.row('&Px_MY_ITEM_FOR_PK')I can post how it can be done in Apex 3.2 if needed.
    Br,Jari
    Edited by: jarola on Jul 28, 2010 5:43 PM
    Edited by: jarola on Jul 28, 2010 6:03 PM
    typo corrected

  • 2 column definitions for a single table view

    Hi Experts,
    I have a requirement in which i need 2 column definitions for a single table view.
    The requirement is :
    ..............Week1...........              |....................Week2...............
    01/01/2007 |  02/01/2007  |    15/01/2007 | 16/01/2007 | 17/01/2007
    data.......... |  data..........  |    data.......... | data..........  |   data..........      
    data.......... |  data..........  |    data.......... | data..........  |   data..........    
    data.......... |  data..........  |    data.......... | data..........  |   data..........   
    the weeks shud be displayed for the corresponing dates below......
    Is it possible to have 2 column definitions
    Please help me out.
    Thanks in advance

    Hi Balaiji,
    proceed as follows:
    Create a structure in the dictionary called ZSTRU_USR02_F
      with  field1 type int4
              field3 type int4
              field3 type int4
    Create a table type in the dictionary:
    zusr02  line type ZSTRU_USR02_F.
    Create a structure in the dictionary:
    ZSTRU_USR02
      with tab1  type zusr02
      and tab2  type zusr02
    Create a table type in the dictionary:
    zttusr02 line type ZSTRU_USR02
    Create a controller (table.do) in a BSP-application
    Add the controller class to this controller.
    Add a attribute (table) instance public type zttusr02
    redefine method do_request, add the following coding:
      FIELD-SYMBOLS: <fs_tab> LIKE LINE OF table,
                     <fs_row> TYPE zstru_usr02_f.
      DATA: lirv_view TYPE REF TO if_bsp_page,
            lv_int    TYPE i.
    * Dispatch Input for event handling
      dispatch_input( ).
    * Navigation requested during Event handling?
      IF is_navigation_requested( ) IS NOT INITIAL.
        RETURN.
      ENDIF.
    * get some data into the table.
      INSERT INITIAL LINE INTO TABLE table ASSIGNING <fs_tab>.
      DO 3 TIMES.
        INSERT INITIAL LINE INTO TABLE <fs_tab>-tab1 ASSIGNING <fs_row>.
        ADD 1 TO lv_int.
        <fs_row>-field1 = lv_int.
        ADD 1 TO lv_int.
        <fs_row>-field2 = lv_int.
        ADD 1 TO lv_int.
        <fs_row>-field3 = lv_int.
      ENDDO.
      DO 3 TIMES.
        INSERT INITIAL LINE INTO TABLE <fs_tab>-tab2 ASSIGNING <fs_row>.
        ADD 1 TO lv_int.
        <fs_row>-field1 = lv_int.
        ADD 1 TO lv_int.
        <fs_row>-field2 = lv_int.
        ADD 1 TO lv_int.
        <fs_row>-field3 = lv_int.
      ENDDO.
    * Create the view
      lirv_view ?= create_view( view_name = 'table.htm' ).
    * Hand over the data
      lirv_view->set_attribute( name = 'table' value = table ).
    * Call the view
      call_view( lirv_view ).
    Create a view called table.htm. Add your controller class as controller class for the view and add the attribute table type zttusr02.
    Add the following to the layout:
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = " ">
        <htmlb:form>
    <htmlb:tableView id             = "tableToDisplay"
                     table          = "<%=table%>"
                     emptyTableText = "No Data"
                     iterator       = "<%=controller%>"
                     footerVisible  = "FALSE"
                     encode         = "TRUE"
                     width          = "100%"/>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Go back to your controller class. Add the interface IF_HTMLB_TABLEVIEW_ITERATOR
    Implement the method IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS
      DATA: lwa_column  LIKE LINE OF p_column_definitions.
    * Column 1
      CLEAR lwa_column.
      lwa_column-columnname          = 'TAB1'.
      lwa_column-title               = 'Column 1'.
      lwa_column-tooltipheader       = 'Tooltip Column 1'.
      lwa_column-width               = '50%'.
      lwa_column-wrapping            = 'FALSE'.
      lwa_column-horizontalalignment = 'LEFT'.
      lwa_column-verticalalignment   = 'MIDDLE'.
      APPEND lwa_column TO p_column_definitions.
    * Column 1
      CLEAR lwa_column.
      lwa_column-columnname          = 'TAB2'.
      lwa_column-title               = 'Column 2'.
      lwa_column-tooltipheader       = 'Tooltip Column 2'.
      lwa_column-width               = '50%'.
      lwa_column-wrapping            = 'FALSE'.
      lwa_column-horizontalalignment = 'LEFT'.
      lwa_column-verticalalignment   = 'MIDDLE'.
      APPEND lwa_column TO p_column_definitions.
    Implement the method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START and add:
      DATA: lr_tview   TYPE REF TO cl_htmlb_tableview.
      FIELD-SYMBOLS: <fs_row> LIKE LINE OF table.
      ASSIGN p_row_data_ref->* TO <fs_row>.
      CASE p_column_key.
        WHEN 'TAB1'.
          CREATE OBJECT lr_tview.
          lr_tview->id = p_cell_id.
          GET REFERENCE OF <fs_row>-tab1 INTO lr_tview->table.
          lr_tview->footervisible = ''.
          lr_tview->width = '100%'.
          p_replacement_bee = lr_tview.
        WHEN 'TAB2'.
          CREATE OBJECT lr_tview.
          lr_tview->id = p_cell_id.
          GET REFERENCE OF <fs_row>-tab2 INTO lr_tview->table.
          lr_tview->footervisible = ''.
          lr_tview->width = '100%'.
          p_replacement_bee = lr_tview.
      ENDCASE.
    With this you get a table in a table. Now if you create a second iterator you'll be able to adjust the apperance of the inner table, as well as you can add column headers.
    Hope that helps.
    Best Regards
    Michael

  • Can we exclude column  from well configured streaming

    Hi Guys,
    Is it possible to exclude some columns from a table level replication?If yes , how ??
    Any help is highly appreciable.
    Thanks,
    Neels

    Hello,
    Yes you can using rules based transformations to exclude columns from LCRS.
    Depending on the version you can us Declarative Rule_Based Transformations as
    per
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14229/strms_transfom.htm#STRMS106
    or you could come up with an alternative if you are on an older version.
    Thanks
    Peter

  • Get the column values in a single row seperated by commas

    Hi
    i have two tables project_baseline and project_resource which have the foreign key project_id from the base table project_details. Now iam trying to retrieve data from these tables using the below query :
    select distinct b.TASK_NAME,r.RESOURCE_NAME,() from project_baseline b inner join project_resource r on R.PROJECT_ID=B.PROJECT_ID group by b.TASK_NAME,r.RESOURCE_NAME
    Below is the output snippet :
    TASK_NAME RESOURCE_NAME
    TEST DESIGN PARAGI M
    TEST DESIGN RAJAN M S
    TEST EXECUTION VIBHU ARMA
    TEST EXECUTION PRATHAB GARG
    TEST EXECUTION NAGABHUSHAN G K
    TEST DATA PREPARATION RAJAN M S
    TEST DATA PREPARATION SHIVA MARAN
    TEST CASE REWORK VISWAN RAM
    TEST CASE REVIEW NAGABHUSHAN G K
    REGRESSION SANGEET
    PROJECT SUPPORT VIBHU ARMA
    PROJECT SUPPORT PRATHAB GARG
    PROJECT SUPPORT PARAGI M
    PROJECT SUPPORT NAGABHUSHAN G K
    PROJECT SUPPORT SANGEET
    PROJECT CLOSURE PRATHAB GARG
    i need to get the resource_names in a single row seperated by comma for a single task like following:
    TASK_NAME RESOURCE_NAME
    PROJECT SUPPORT VIBHU ARMA,PRATHAB GARG,PARAGI M,NAGABHUSHAN G K,SANGEET
    Could anyone please help me to get the query for the above formated output?
    Thanks in advance
    Meera
    Edited by: 928378 on May 22, 2012 5:20 AM

    Hi,
    It can be done using xmlagg function.
    For Example :
    Table Data..
    DEPTNO     ENAME
    20     WARD Tree
    23     Shank
    30     BLAKE
    10     MILLER
    30     MARTIN
    10     CLARK
    20     SCOTT
    30     TURNER
    20     ADAMS
    30     JAMES
    20     FORD
    30     BLAKE
    Query:
    SELECT deptno,
    RTRIM (XMLAGG (XMLELEMENT (e, ename || ',')).EXTRACT ('//text()'),
    ) NAME
    FROM emp
    GROUP BY deptno;
    Output :
    DEPTNO     NAME
    10     MILLER,CLARK
    20     WARD Tree,FORD,ADAMS,SCOTT
    23     Shank
    30     BLAKE,TURNER,BLAKE,JAMES,MARTIN
    Thanks,
    Shankar
    Thanks,
    Shankar.

  • SQL Multiple Columns Displayed in a Single Row

    Hello everyone,
    I have 2 tables, Product and Product_Name, one Product can have more than one name.
    I need to retrieve it in such a way that I show the Product_ID followed by all the names this product has.
    I'm not able to make it, every way I try I get the Product ID duplicated and several rows with a different product name on each row as follows:
    1, 'Iron Z"
    1, 'Iron M'
    1, 'Iron N'
    2, 'Wood P'
    2, 'Wood M'
    What I need is:
    1, Iron Z, Iron M, Iron N
    2, Wood P, Wood M
    Thanks and Regards.

    Hi,
    user10103934 wrote:
    Thank you for the answer Frank,
    Iron Z, Iron M and Iron N would be 3 different entries on the same column.
    I'm sure the LISTAGG function would resolve this, the problem is that I was hoping to get a solution on pure SQL or PL/SQL, maybe with a nested Select.
    My Oracle version is 10g Express Edition.LISTAGG is pure SQL, but it was only introduced in Oracle 11.2. Everything mentioned below should work in Oracle 10.
    The STRAGG function from that page is very useful. You have to copy and install about 60 line of PL/SQL code. Do that once, and then you can use it hundreds of times in hundreds of queries, just as if it was a built-in function. The main problem with STRAGG is that it's hard to get soprted output from it. There's a modified version, designed for sorted output, on this thread:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:15637744429336
    Never used it. Can't vouch for it.
    SYS_CONNECT_BY_PATH seems to be the most popular way of doing string aggregation in Oracle 10. The example given on the Oracle Base page (which I posted in my last message) is a little clumsy and inefficient. See the following thread for a better example, using CONNECT_BY_ISLEAF:
    Re: Concatenate strings from more rows into one row.
    or, now that I see it, Pollywog's example above.
    Edited by: Frank Kulash on Jun 11, 2010 2:24 PM

Maybe you are looking for