Interactive Report - download to PDF, fixed column widths-- why

We are using 4.1.1.00.23, we have just installed the Apache/FOP solution to download our Interactive Reports to PDF.
The issue is that it seems that no matter what we do the column widths become evenly distributed in the downloaded report. When the report only has 5-8 columns this is ok, doesn't look as good as we would like but it is ok. The problem comes when we have many columns, then all of the columns get shrunk down to these little columns that become totally useless.
Also, it appears that no matter what page size I define in the Page Attributes it sizes the columns to fit on an standard page (8.5x11).
The question I guess is: Is there a way to download an Interactive Report to PDF, that looks exactly like the report that is displayed for the Interactive Report?
We have been looking at lots of the documentation and fear we are missing something because it appears that most solutions talk about creating a "Shared Component" Report Query and Report Layout, which when you have a hundred interactive reports seems crazy....why can't we just download what we see on the screen.
If there was a way to put Headers/Footers on HTML download, then we would not need to do this, but I have not found a way to do that either.

From our understanding, it looks like we would have to create another report for each of our existing Interactive Reports, which would be a JasperReport or something.
We know there is something with the XSL-FO templates, is that what iReports can do for us? Really this is a new world for me, so I do fear that I might be asking my question wrong.
Like I said maybe we are missing something. We were able to get the FOP to work, but the problem with that is all of the columns are evenly distributed widths. On some reports, which have many columns, there could be a name column that needs to display 50 characters, but then the next field only has 5 characters. It appears that without creating an additional report or report layout for each report we cannot print the results of the interactive report.
Maybe I am completely missing something in all of this, but I find it hard to believe that we have to create multiple versions of a report just to be able to print it. If we had just wanted to create a static report, then I would have continued using Oracle Reports, like we have for the last 20yrs.

Similar Messages

  • Interactive report download in PDF - getting an error message

    Hi,
    while using default feature to download interactive report in PDF format, I am getting following error:
    Adobe Reader could not open 'filename.pdf'because it is either not a supported file type or because the file as been damaged ( for example, it was sent as an email attachment and wasn't correctly decoded
    please advice
    Thanks

    Hi,
    Adobe Reader could not open 'filename.pdf'because it is either not a supported file type or because the file as been damaged ( for example, it was sent as an email attachment and wasn't correctly decodedWhen I get this error, I rename the downloaded PDF file to TXT to look into it. Usually there is a human-readable error message in there generated by the web server, Apex or any other party involved in its generation...
    But, as pointed out, have you set up Apex to generate PDFs?
    Luis

  • PDF Export with fixed column widths ignores page break on Analysis item

    Hi experts,
    we use the column width modification to define fixed column width in a analysis item. On the same Web template we want to export the whole template including the analysis item to PDF format. First of all everything worked properly, but the fixed widths have not been applied to the PDF. According to [SAP Support Note 1336188|https://service.sap.com/sap/support/notes/1336188] and additional explainations from [SDN Thread 1558536|Column Width Modification not working in Print Version; we solved the problem.
    Unfortunately another problem arises. Our Analysis item delivers a big number of rows which extent multiple pages. By applying the export fix width parameter all page breaks are ignored, meaning that the analysis item is never shown completely in the PDF. We tried all parameter options of the Export Function without success. It seems that the EXPORT_FIX_WIDTH is just working for analysis items, which fit on one single page by length.
    Any ideas how to solve this?
    FYI, our XHTML code (Version SAP BW 7.0 SP 19):
    <bi:ANALYSIS_ITEM name="ANALYSIS_ITEM_1">
    <bi:DATA_PROVIDER_REF value="DP_1" />
    <bi:MODIFICATION type="CHOICE" value="MOD_SINGLE_MODULE" >
      <bi:MOD_SINGLE_MODULE type="COMPOSITE" index="1" >
      <bi:ACTIVE value="X" />
      <bi:MOD_SELECT type="CHOICE" value="MOD_GENERIC_MODULE" >
      <bi:MOD_GENERIC_MODULE type="COMPOSITE" >
      <bi:MOD_REFERENCE value="com.sap.ip.bi.rig.ColumnWidth" />
      <bi:MOD_PARAMETER_LIST type="ORDEREDLIST" >
        <bi:MOD_PARAMETER type="COMPOSITE" index="1" >
          <bi:MOD_PARAM_NAME value="COLUMN_DEFAULT" />
          <bi:MOD_PARAM_VALUE type="CHOICE" value="INTEGER" >
            <bi:INTEGER value="50" />
          </bi:MOD_PARAM_VALUE>
        </bi:MOD_PARAMETER>
        <bi:MOD_PARAMETER type="COMPOSITE" index="2" >
          <bi:MOD_PARAM_NAME value="EXPORT_FIX_WIDTH" />
          <bi:MOD_PARAM_VALUE type="CHOICE" value="BOOLEAN" >
            <bi:BOOLEAN value="X" />
          </bi:MOD_PARAM_VALUE>
        </bi:MOD_PARAMETER>
      </bi:MOD_PARAMETER_LIST>
      </bi:MOD_GENERIC_MODULE>
      </bi:MOD_SELECT>
      </bi:MOD_SINGLE_MODULE>
    </bi:MODIFICATION>
    </bi:ANALYSIS_ITEM>
    Any help and comments will be appreciated. Thank you!
    Best regards,
    Sebastian

    Thank you!
    Unfortunately I didn't find any work around.
    Thanks,
    Federico

  • Is it possible to have a fixed column width and a URL link?

    I am trying to achieve having a popup link on a column within a SQL report but also have the report column a certain width. I can have either or however not at the same time.
    What I did was created a SQL report, edited a column and gave it a URL redirect (page in application) as normal.
    For the fixed column width, I used:
    <div style="width:250px; height:54px; overflow:hidden" title="#Comments#">#Comments#</div>On Column Formatting / HTML Expression
    And for the popup URL, I used:
    onclick="window.open(this.href,'_blank','resizable=0,scrollbars=0,width=650,height=300,menubar=0,location=0');return false;" title="Comments"On the Column Link / Link Attributes

    Andy thank you for your reply, however I either am not completly understanding or there is a problem elsewhere.
    I have changed to the code to fit the needs of the application as so:
    !http://i41.tinypic.com/2m6mrh4.jpg!
    App ID: 523
    Page: 23
    Item: P23_STATUS_COMMENT
    Column to select: Comments
    Whenever clicking on the link, the following error is given:
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
         Error      ERR-7620 Could not determine workspace for application ().{code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • RH 10 issue with Fixed Column width

    Hi,
    Is anybody else having issues with setting a fix width for a column in a table?  In RH v.10 the "fixed widths" are not staying "fixed" as I have them manually set.
    I've recently been upgraded from Robohelp (html) v.8 to v.10. 
    In a "Design" view in v.8.0 when I set a column width from the right click menu (AutoFit > Fixed Column Width), the width of the column would be whatever width I'd set it to.  Now, in v.10, the width is whatever width the Robohelp window is set to!  For example, I have a large monitor and I've got Robohelp open in Full Screen mode, the table (a 1-cell table) gets set to the width of the window rather than the particular width I want to use!  I want the cell to be a particular width (much less than my monitor or the open window's width).  Can someone please tell me what I am doing wrong?
    OS=Windows7.
    Browser=IE9
    Robohelp is installed locally (it is not being run over a network).
    Thanks!
    P.S. So far this is the only issue I've had after upgrading from RH v.8 to RH v.10.

    Hi William,
    In a "Design" view in v.10, the table (which is 1 cell) looks like a big rectangular box.  I've turned off the border (cell or table border), so the border appears in gray. 
    Put mouse focus on this 1-cell table, then grab an edge with the mouse. 
    Move the table inward to make the column narrower in the view.
    Then from the right click menu, choose AutoFit > Fixed Column Width.
    Voilá - the width is back to the width of the display window.
    Did that make sense to you?   Thank you for your help and ideas.
    Cheers,
    Julia

  • Table Autofit - Fixed Column Width not actually fixed when resize viewing window

    Using RoboHelp x8.0.2.208
    Generating HTML help (CHM)
    Set the Autofit property for a table as Fixed Column Width
    Generate the CHM file
    The table starts as the size specified
    If I resize the width of the HTML help viewer, the column width shrinks
    I tested generating this project as WebHelp with the same results
    I also went into the Table Properties and specified a Preferred Width for the overall table and for each column.
    I thought this option would set the size of the table based on how I sized it in source and would not resize the table as the viewing window is resized (either the HTML help viewer for CHM or the web browser window for WebHelp).
    It appears the actual behavior is to start at the size specified and resize columns as the viewing window is resized.
    Can someone tell me if I am not setting something correctly?
    As always, thanks for any assistance/direction.
    Michael F Weart

    The "Autofit" option apparently only applies to the Window size you have specified.
    Once you reduce the window size, the HTML table protocol takes over:
    WARNING, WARNING, WARNING!
    I need "this much" space for the widest element in column 1, and I don't care what your settings are.
    Next, I need "this much" space for the widest element in column 2, and I don't care what your settings are.
    Next, I need "this much" space for the widest element in column 3, and I don't care what your settings are.
    Next, I need "this much" space for the widest element in column 4, and I don't care what your settings are.
    etc.
    etc.
    By "widest element," I mean either an image or the longest text string with no separating spaces (ex: SYSTEM_DIAGNOSTICS_PARAMETER_EXTERNAL_ISSUER).
    If you absolutely have to maintain the table the way you want, you might try creating it in a scrap topic, taking a screenshot, and saving that as a GIF file.
    Good luck,
    Leon

  • 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

  • Interactive Report Download CSV file Issue (output includes separator BR)

    Hi,
    I have a Interactive Report and displaying the column values (multiple values in same ROW) as mentioned below.
    SQL Query
      select deptno,
           function1(empno) empno
      from emp
    IR Output
    Dept       Employee No
    10         AAA,BBB,CCC, ...    // -  Row 1
    20         XXX,YYY,ZZZ, ...    // -  Row 2 Now I want to display each employee in a new Line, so modified the SQL Query
    Modified SQL Query
      select deptno,
           REPLACE(function1(empno),',','<br>') empno
      from emp
    New IR Output
    Dept       Employee No
    10         AAA
               BBB
               CCC
               ...    // -  Row 1
    20         XXX
               YYY
               ZZZ
                ...    // -  Row 2 SO, Interactive Report Out put looks fine and that's the way we want.
    But the problem is when I download the Report in CSV or in PDF using the Action Menu -> Download..
    I am getting break line B R in the output, and also I have two different output in CSV for two different column. [Logic is same for both the columns.]
    CSV output1
    Employee No
      AAA<br>BBB<br>CCC
      XXX<br>YYY<br>ZZZI have other columns also with multiple values...for that column, I am getting the following CSV output
    CSV output2
    City List
      1111<br>
      2222<br>
      3333<br>So, in CSV for one column, I am getting all the values in same line with the seperator B R (Output1)
    for other column, I am getting values in new line with the separator B R. (Output2)
    Is there a way to FIX this CSV or PDF output for Interactive Report.
    I DON'T WANT THE SEPARATOR BR in CSV and also the values should always be in New Line.
    I want to have the following Output in CSV
    Employee No
      AAA
      BBB
      CCCThanks,
    Deepak
    Edited by: Deepak_J on Feb 24, 2010 11:45 AM
    Edited by: Deepak_J on Feb 24, 2010 11:46 AM
    Edited by: Deepak_J on Feb 24, 2010 11:48 AM

    Thanks.. Jari.. for the quick response.
    I updated my SQL query with Chr(10) and added the code in Page HTML header.
    Now the CSV & PDF output are fine..getting each individual value in seperate line (no BR tag)
    BUT in the Interactive Report Output, I am now getting first 2 values in 1 line, then next value in next line, and so on..
    IR Output
    Employee
      AAA BBB
      CCCCCCC
      DDDDDI have few more issues with CSV & PDF output
    1. In PDF is there a way to increase the column width, as for some of the columns, the values are getting truncated.
    2. For some of the columns in IR Report, I have user BR tag in Column Heading and this also come in CSV output (column heading with BR tag), is there a way to fix this. In PDF Column headings are fine (no BR tag)
    and by the way..what exactly this does.
    <style type="text/css">
    .apexir_WORKSHEET_DATA td{white-space:pre;word-wrap: break-word}
    </style>Thanks,
    Deepak
    Edited by: Deepak_J on Feb 24, 2010 12:20 PM
    Edited by: Deepak_J on Feb 24, 2010 12:21 PM

  • Contains clause in Interactive report search of a clob column

    Hi,
    I am using APEX Version 4.2.4.00.08
    How can an interactive Report use the contains clause when searching a clob column so that it uses the CONTEXT index?
    Thanks
    Chandra.

    I wrote it into the SQL used for the IR
    I created an APEX application that stores all of our IT's HOWTO documents. (word,excel,pdf)
    ctx_doc.snippet creates HTML code.
    select D.doc_id
      ,D.doc_filename
      ,dbms_lob.getLength( D.doc_blob ) as download
      ,decode( :P12_SEARCH, null, '-- nothing --',
             ctx_doc.snippet( 'IT_DATA.DOC_CTX_IX' -- my Oracle Text index name
                                 , D.doc_id, :P12_SEARCH )
       as snippet
    from it_data.documents D
    where :P12_SEARCH is null
    or contains( D.doc_blob, :P12_SEARCH ) > 0
    MK

  • Remove HTML from Interactive report download

    I have interactive reports where the column link on a specific column has to be dynamic, that means, it cannot be hard coded in the column link attributes. The following is an example of one such report query:
    case when d.object_type_description ='Business Service' then
    '< href="f?p='||:app_id||':183:'||:app_session||'::::P183_OBJECT_ID:'||d.id||'">'||d.object_name||'</>'
    when d.object_type_description = 'Real Time Event' then
    '< href="f?p='||:app_id||':162:'||:app_session||'::::P162_OBJECT_ID:'||d.id||'">'||d.object_name||'</>'
    else
       null
    end as "OBJECT NAME"As you see in the above example, the link on the "Object Name" column could either redirect to page 183 or to page 162 based on the "Object Type Description" column.
    The column attribute of the "Object Name" column has "Display Type" set to "Standard Report Column". That works perfectly fine in the UI of the report. However, if I download the IR data (in any format) from the Actions -> Download menu, the object name column values are downloaded with the HTML characters as:
    < href="f?p=15548:183:6072319179284::::P183_OBJECT_ID:255245470513999672860510787772603748464">JP010000</>where JP010000 is the object name.
    Is there a way I can strip the HTML from the column values in the downloaded files?
    I am using Apex 4.1.

    Rohit,
    You can define the link in the query, make it hidden, use the value as column link URL. So, your query will look like the following:
    d.object_name,
    case when d.object_type_description ='Business Service' then
        'f?p='||:app_id||':183:'||:app_session||'::::P183_OBJECT_ID:'||d.id
    when d.object_type_description = 'Real Time Event' then
        'f?p='||:app_id||':162:'||:app_session||'::::P162_OBJECT_ID:'||d.id
    else
       null
    end linkChange the display type of LINK column to Hidden. In column link, enter #OBJECT_NAME# as Link Text. Select URL as Target. Enter #LINK# as URL value. In APEX 4.2, you can do this in easier way by defining HTML Column Expression.
    Regards,
    Christina
    Edited by: cbcho on Sep 27, 2012 11:35 AM

  • Strip Tags From Interactive Report Download.

    Hi,
    Is it possible to strip html tags from a column during a CSV download on a interactive report?
    Basically i have a report where one of the columns is as follows
    453<font color="red"> | </font>0
    but in the download i want to strip out the tags so in the csv the column would show
    453 | 0
    Any ideas how i can do this using the standard csv download from the drop down menu?
    Thanks Andy

    Just wondering if any one had any thoughts on how I may be able to do this

  • Interactive Report - Download as xls giving empty report

    Hi,
    I have an interactive report where i have enabled all the available download formats from report attributes. Now, when I go to Actions -> Download  and select format as .csv, html, email, then it works fine. But when I select download format as XLS/PDF then the downloaded file is an empty file (size 0 Bytes). This issue is coming with/without applying filters.
    Any idea how to resolve it?
    PS: I am using APEX version 4.2

    Do you have a print in place?  Fop/BI Publisher are required to create other report type downloads (csv comes standard with APEX)..
    The APEX Listener will replace FOP in producing PDF output..
    Marc Sewtz: PDF Printing with Oracle Application Express 4.2.2
    Thank you,
    Tony Miller
    SmartDog Services
    Austin, Texas

  • Interactive Report will not save BLOB Column Attributes

    I have created many interactive reports with 4.0 and 4.1 that had BLOB columns with no problems and the download link worked fine. After upgrading to 4.2, the interactive reports get the following error when clicking on the download link:
    Not found
    The requested URL /apex/apex_util.get_blob was not found on this server
    If I open the edit page from the report, the BLOB downloads fine. When I looked at the report attributes details for the BLOB column, I noticed the BLOB Column Attributes had not been populated. I have tried repeatedly to populate them (Table Name, Column Name, Primary Key, MIMETYPE, etc.) but after applying the changes and reopening the attributes page for the blob column, the values I entered are not saved.
    For completeness, here is the select statement for the report:
    select "DESC_ATT_ID",
    "BR_ID",
    "FILENAME",
    "MIMETYPE",
    dbms_lob.getlength("DESC_ATTACHMENT") "DESC_ATTACHMENT"
    from "#OWNER#"."ALTEC_BR_DESC_ATT"
    WHERE BR_ID = :P3_BR_ID
    Also, here is the value for the Number/Date format for the BLOB Column:
    DOWNLOAD:ALTEC_BR_DESC_ATT:DESC_ATTACHMENT:DESC_ATT_ID
    Can someone please point me in the right direction to get the link for the interactive report working properly?
    Many thanks,
    Jerry

    Hello,
    How about you do not use BLOB format Column, you do it manually as this example here:
    apex.oracle.com
    workspace: somefeto
    user: test
    pwd: test
    Application 63066
    in the same workspace, there is      Sample File Upload and Download (App ID 10540), and it is working fine ....
    Otherwise, Pls, reproduce the problem on apex.oracle.com
    Best Regards,
    Fateh
    If you believe that my answer is correct or helpful to you, then pls, mark the answer as helpful or correct

  • Prob with fixed column widths and word wrapping in viewer

    i have a report where each record has a very long paragraph of text in it.
    In desktop and plus, the text column is at a fixed width and the text just wraps nicely according to the column width.
    But in Viewer, the column widths do not stay fixed, the text does not wrap, and the long text is displayed in a single line that completely stretches the column width off the page and requires a horizontal scroll bar.
    is there anyway to fix the column width in viewer, have the text naturally wrap, and prevent the column stretching. All word wrapping settings are on, but seem to have no effect. I can't seem to find any solution to this.
    Thanks...

    Hi Pritam,
    Per my understanding that you can't see the vertical scrollbar of the ReportViewer controls 2012 to scroll for the grid rows, but can see the vertical scrollbar of the web application, you also can't fix the headers while scrolling, right?
    I have tested on my local environment and can't reproduce your issue, but you have an alternative way to add some css  to the web form's source code to display the vertical scrollbar.
    Details information below for your reference:
    Please check below properties setting of the reportviewer which control the visibility of the scrollbar:
    AsyncRendering="true"
    SizeToReportContent="false"
    Please check if this problem also occur on other version of IE and other type of browser.
    Please check if you have done correct setting of the Fix data to freeze the table header as the step of below:
    http://technet.microsoft.com/en-us/library/bb934257(v=sql.100).aspx
    If step1 doesn't work, please click the source of webform.aspx and add below CSS to add the vertical scrollbar manually:
    #ReportViewer1 {
              overflow-y: scroll;
    Run the application you will see it display as below:
    Similar thread for your reference:
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/f96b3b56-e920-411b-82ea-40467c922e66/reportviewer-control-vertical-scroll-bars
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu

  • 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

Maybe you are looking for