APEX 5: report layouts broken after download

Hi, after switching from 4.02 to 5.0, I´m testing the new environment. Today I run into a problem I cannot solve. I have a lot of report layots stored in the section in Shared components, alle Named Columns RTF format. All these layouts are working fine in the application. But if I download one, the result is a damaged file. MS Word can not open it ('file is damaged' or 'not enough space' ). It also looks like the downloaded file is always bigger then the uploaded source.
I did a test:
- download one layout from a backup server (with APEX 4.02)
- controlled it by opening in Word, all fine
- upload to APEX 5.0
- test in the application, result is ok.
- download again: file size changed from 284kB to 388kB, file is damaged.
Is there any help? - Thank you!

Hi Norbert,
Getting back to your report layout download problem - there is an issue with certain versions of the database, which causes CLOB_TO_BLOB conversion to not always work properly (bug 7459168). This is what is causing the download of your RTF documents to produce invalid results. The files in your database are not affected by this, it's only an issue on export. To work around this database bug we've filed bug 20931298, and we've implemented a fix for this, which will be available with out first patch set, APEX 5.0.1. As usual, I do not have a date yet when this will be available. Can I ask what version of the database you are currently using?
Regards,
Marc

Similar Messages

  • GetURL Broken after download

    I have several flash movies that use the getURL command to
    update the page. I also have a link to download the data being
    displayed to the users computer. If I do not click on the download
    link then the getURL calls work perfectly. However when I do click
    on the link, to save the data, the get URL commands break. The
    getURL calls are calling javascript so I thought that might be the
    problem, so to test that out I put in a static link to yahoo and
    they still didnt work. A couple more interesting twists are if I
    click the link, and have it set to open the download in a new
    window the getURL calls on the main window still work. And if I add
    a second link that just calls a javascript alert() then it fixes
    the getURL calls.
    Im using this to download the file, well this is where it
    appears to break.
    $file_name = "$file_path/filename.txt";
    open(DLFILE, "<$file_name");
    @fileholder = <DLFILE>;
    close(DLFILE);
    print "Content-Type: application/x-unknown\n";
    print "Content-Disposition: attachment; filename=$file_name
    \n\n";
    print @fileholder;
    system("rm -rf $file_name");
    Any suggestions or has anyone seen a bug like this before?
    The two features dont appear to share anything in common.
    Thanks

    Hi Norbert,
    Getting back to your report layout download problem - there is an issue with certain versions of the database, which causes CLOB_TO_BLOB conversion to not always work properly (bug 7459168). This is what is causing the download of your RTF documents to produce invalid results. The files in your database are not affected by this, it's only an issue on export. To work around this database bug we've filed bug 20931298, and we've implemented a fix for this, which will be available with out first patch set, APEX 5.0.1. As usual, I do not have a date yet when this will be available. Can I ask what version of the database you are currently using?
    Regards,
    Marc

  • Report Layout Changed After Upgrade from 4.6C to ECC6

    Dear Gurus,
    I do functional test of every process in ECC6 after upgrade from 4.6C. I found all report layout changed without variant (it's happen to all Query/SQ01 reports ). So I've to assign manually the fields for the reports, and create a default variant then.
    Why it happen ? Is there configuration or setting missed or this is standard while we do upgrade ?
    Thx in advance.
    Tri Wicaksono

    We do re arrange for all ALV report ...

  • Report Generation broken after deployment - Excel Set Cell Color and Border.vi

    Upon deployment, the Excel Set Cell Color and Border.vi became broken.  After installing LV2010 SP1 to view the VIs in the deployment, I noticed that in the second case structure where the code draws the border using the BorderAround invoke node, there is an extra variant input parameter named 'Parameters'.  Upon right-clicking, an option to 'Relink Invoke Node' appeared and after selecting this, the extra input disappeared and the VI was no longer broken.
    Why does "Relink Invoke Node" appear?  How do I create a deployment with this issue?  Has anybody else experienced this?  Why is the TestStand deployment so buggy?  

    Hi Ching-Hwa,
    I have set up a test deployment here where I am deploying a workspace that contains a sequence file.  This sequence file has a LabVIEW Action Step calling a VI that opens a new Excel file and simply calls the Excel Set Cell Color and Border VI.  After deploying this, both the VI and my test sequence ran on the deployment machine without error.  Therefore, I do have some more questions to more accurately reproduce what you are seeing.
    First, what operating systems are you developing on and deploying to?  Also, what license do you have for TestStand on the machine you are deploying to?  If you have a development version, can you manually take the sequence file and VI to this machine and run it?  I know you now have LabVIEW 2010 SP1 on your development machine, but if you have the development version of TestStand as well, it would be interesting to see if you copy the files over if you still see this behavior.  Are you including the TestStand Engine in the deployment?
    Can you open a blank VI on the deployment machine and add the Excel Set Cell Color and Border VI?  It would also be interesting to see if this is not a product of the deployment, but rather an issue with something on the deployment machine itself.  What version of the Report Generation Toolkit do you have on each machine?  Also, what versions of Excel are you using on the development and deployment machine?  Again, it would be helpful for me to know exactly what versions you have installed on both the development and deployment machines so that I can reproduce this as accurately as possible.
    One last thing to try, too, would be to try deploying the VI by itself just to see if it also has the same behavior.  Do you have the Application Builder in LabVIEW?  If so, could you also try building an executable from the VI, create an installer, and deploy this to the deployment machine?  
    In regards to the "freezing" of code by removing the block diagrams, I do not believe this will be a proper work around in this case.  While this removes the block diagram from actually being deployed along with the VI and restricts users from editing the code on the deployment machine, if something is getting changed in the compiled code upon deployment, this will not stop this from happening.  This option is available more as a memory option to lower the size of the deployment as well as prohibit any users on the development machine from editing the block diagram themselves.    
    Thanks, Ching-Hwa!  I look forward to your response so that I can continue trying to reproduce this issue.  Have a great day! 
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • Apex-config.xml is broken after password change with encryption

    Greetings,
    I am using Apex Listener 1.1 with Oracle GlassFish Open Source Edition 3.1.
    I found something strange when changing the connection password in apex-config.xml.
    If I change the password to keep it plain text like the following, it works fine.
    <entry key="apex.db.password">my_password</entry>
    But if I change the password to a value to be encrypted, the new password is accepted but the configuration file get messed up.
    <entry key="apex.db.password">!my_password2</entry>
    After restarting the listener, I get the following content in my apex-config.xml.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
    <properties>
    <comment> Updated: Mon Mar 14 10:58:16 EDT 2011 Version: 1.1.0.60.10.38 </comment>
    </properties>
    Needless to say that after the next restart nothing works. Am I missing something, or is this a bug?

    You have corrupted your web.xml somehow, repeat the steps making sure the web.xml is well formed.

  • APEX-PDF-Reports: Add ID and some more Data to the PDF-Filename

    Hi,
    I have create in APEX a Report Layout and a Report Query to export some data to an PDF-File (I am using BI Publisher).
    This works fine but now I need to add the ID and some other informations to the file-name.
    Because if the user create some PDF-Files he should be able to see, what file is for which data...
    How I can do this?
    Regards,
    Mark

    Hi Marc,
    thank you for your answer but it does not work for me.
    I have create the page process and if I click the button I have for few seconds the hour-glas. I think the BI Publisher is generating the file but I dont have a download-message and also the file is not saves automatically.
    This is my page process:
    declare
        v_filename varchar2(1000);
    begin
        v_filename := 'Checkliste_' || :P70_TECHNIK || '.pdf';
        APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT (p_file_name => v_filename,
                                           p_content_disposition => 'attachment',
                                           p_application_id      => 119,
                                           p_report_query_name   => 'Checkliste',
                                           p_report_layout_name  => 'Checkliste',
                                           p_report_layout_type  => 'xsl-fo',
                                           p_document_format     => 'pdf');
    end;I have also tried it with p_report_layout_type => 'rtf' because the layout is a rtf-file, but also no luck.
    Have you a idea why I cant download the file?
    Regards,
    Mark

  • Issue with Shared Components - Report Layouts Download

    After my isp provider upgraded from APEX 3.2.1 to 4.0, I am now unable to go into the Shared Components -> Report Layouts section and access an existing report to download my rtf template. Is there another way to go and get this out of the database. I need to update a report layout that is old and I do not have a backup of the original report and do not want to spend the time to recreate.
    Thanks,
    Mark

    If you have TOAD, or if you can install it, by connecting to your database you will be able to access your report layout via the Schema Browser. The whole path should be "All Schemas -> APEX_040000 -> Tables -> WWV_FLOW_REPORT_LAYOUTS". In that table you will find you report layout. Double click on it and copy/paste it into a text editor.
    Note: You might need to be granted some rights to access the 400+ tables of the APEX_040000 schema. Or if you have a DBA, ask him to do this for you.
    Of course, if you don't want to install TOAD, I bet you could query that table from the SQL Commands of the SQL Workshop, but you would again need the rights to access said table.
    Best regards,
    Mathieu

  • Download and Upload  Report Layout for End User

    hi, i did the following
    1. create an xml data file
    2. load in in bipublisher
    3.create a layout
    4. create a report query in apex and load the rtf created in step 3
    5. test the report.
    it works fine.
    my requirement is for trained end users (bipublisher trained) to download the rtf and edit it if need be. most of the editing will be text and they will not be editing any data fields. i will create a button for the end user to download the report layout, but what api can i use to download the rtf for them and where should i move the report layout (any apis for this) upon upload after the rtf is edited by the user.
    thanks
    a

    hi check this document
    http://docs.oracle.com/cd/E21764_01/bi.1111/e13880/T539768T526688.htm#5851577
    http://docs.oracle.com/cd/E21764_01/bi.1111/e13880/T539768T526688.htm

  • APEX 3.0 XLS-FO Report Layout

    Hallo,
    another question for 3.0 :
    I just created a custom xsl:fo stylesheet based on the XML data
    which gave me the "Report Queries" wizard. In the XSL Editor it looks quite well
    but using my regions "Print" link i get only a blank page.
    Now i recognized the uploaded xslt format is now rtf when i download it.
    Also it is in format "Named Columns (RTF)" but i uploaded it using "Named Columns (XSL-FO)".
    Is this custom stuff without BI Publisher plugin really working already ?
    Thanks,
    Jochen

    Hello,
    I can confirm this behaviour. After uploading a XSL-FO report layout and assigning this report to a report query, I get an empty PDF after calling the query.
    When I look at the request that was sent to BI Publisher (or Apache FOP), I see that
    &_xtype=rtf
    is always added to the request when I upload a named column template, regardless wether I uploaded a RTF or a XSL-FO template. It appears that ApEx always stores type = rtf when uploading a named column template (XSL and RTF).
    Is this a known problem? Any workarounds or statements when this will be fixed?
    Thanks
    Stephan

  • Oracle bi publisher report for apex - Report Layout

    Hi There,
    Navigation: Home>Application Builder>Application 20>Shared Components>Report Layouts
    I created rtf template for a Report Query. It worked fine upto certain point.
    However at some point, if I make a minor modification to the layout it is not displaying all the data that it is supposed to.
    I have 3 tables in my RTF template 1) Header 2) Details 3) Summary. Details section has a group. This runs fine.
    Now if I just combine all the above 3 tables into one by adding row above and row below to the "2) details" table and moving the table 1 and table 3 into those rows, makes the data in the group in table 2 disappear when run on the apex application.
    However it works fine when data is loaded on the RTF template and Preview --> PDF is seen.
    Is it a known bug? Because some of my coleagues has same issues.
    Thanks
    Krishna
    Edited by: Krishna on Aug 9, 2010 10:08 AM

    Hi, I think you need to provide more information.
    user452458 wrote:
    Hi There,
    Navigation: Home>Application Builder>Application 20>Shared Components>Report Layouts
    I created rtf template for a Report Query. It worked fine upto certain point.
    However at some point, if I make a minor modification to the layout it is not displaying all the data that it is supposed to. What modification? added extra fields? Are those fields in the corresponding report query? change to the design of the document? did you delete the old template and re-upload after making the changes?
    Moreover the preview on the RTF template works fine with the same data.Preview from where?
    >
    Is it a known bug? Because some of my coleagues has same issues.
    Thanks
    KrishnaAlso, you should change your display name to something better than user452458 ;)
    Trent

  • How to set it up to use BI Publisher Report layout in APEX

    Hi all,
    I downloaded the xml file from APEX to create a BI Publisher report layout and uploaded it to APEX report layout in share component. When I click the test report button, nothing showed. Would you show me what else I need to do to make it work?
    Any suggestions are appreciated.
    Thanks much@

    You need to use the desktop layout editor that works under Word to develop report layouts..
    Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Custom Report Layout in APEX 3.0 PDF

    How much freedom do we have when developing a custom report layout using BI Publisher when we create the template file using the Word XML add-on?
    Why I am asking is, I am trying to replicate several Crystal based reports that use multiple lines of for data. They group on several columns and display the grouped data on separate lines in the report.
    Grouping 1 Line one has customer detail information
    Next grouping 1 or more lines are provider of service line information
    Last Line count of detail lines for customer
    Or would I be better off porting these reports to Oracle Reports?
    Thank you!
    Tony Miller
    UTMB/EHN

    Marc, I was able to create reports based on a layout and a report query...Is it possible to let the end user (not apex developers) download the report layout, make modifications and load it again. They will only be changing the text and very rarely will modify the fields..
    Thanks
    Ashlee
    update: i found the following logic in the f4000 app on page 1405 for download
    declare
    l_report_document blob;
    l_file_ext varchar2(255);
    l_mime_type varchar2(255);
    begin
    for c1 in (
    select *
    from wwv_flow_report_layouts
    where id = :P1405_ID
    ) loop
    if c1.report_layout_type = 'RTF_FILE' then
    l_mime_type := 'application/rtf';
    l_file_ext := 'rtf';
    else
    l_mime_type := 'application/xml';
    l_file_ext := 'xml';
    end if;
    l_report_document := wwv_flow_utilities.clob_to_blob(c1.page_template,wwv_flow_lang.get_db_charset);
    sys.owa_util.mime_header (l_mime_type ,false);
    sys.htp.p('Content-Disposition: attachment; filename='||lower(replace(c1.report_layout_name,' ','_'))||'.'||l_file_ext);
    wpg_docload.download_file( l_report_document );
    end loop;
    end;
    and 1406 for upload
    declare
    l_report_layout clob;
    l_report_layout_id number;
    begin
    for c1 in (
    select blob_content from wwv_flow_files
    where name = :P1406_LAYOUT_FILE
    ) loop
    l_report_layout_id := wwv_flow_id.next_val;
    l_report_layout := wwv_flow_utilities.blob_to_clob(c1.blob_content);
    insert into wwv_flow_report_layouts (
    id,
    flow_id,
    report_layout_name,
    report_layout_type,
    page_template
    ) values (
    l_report_layout_id,
    :FB_FLOW_ID,
    :P1406_REPORT_LAYOUT_NAME,
    'RTF_FILE',
    l_report_layout
    end loop;
    end;
    are these the tables/apis i could use ?

  • No one in ApEx forum knows how to modify report layout!!!

    Hi dear firends,
    I have got Named column report layout (XSL-FO, <!--Generated by Oracle BI Publisher 10.1.3.4.1-->) that was designed by another programmer.
    To change it , I downloaded the current file (xml extension file) using the download button on this page,
    But I can not modify it by Altova StyleVision , Altova XML or XF Designer! (
    How to I modify it rapidly ve easyly by a report layout designer other than BI Publihser?
    Regards
    siya
    APEX 3.2
    Edited by: sak on Feb 14, 2012 11:40 AM

    hello
    In shared Components\report queries or \reprot layouts of ApEx 3.2, has written
    Named column report layouts are file based. To change, download the current file using the download button on this page, then modify the file as needed. Afterwards, upload the modified file as a new report layout.
    How can I modify an XML extension file with other tool than BI publisher? (generated by BI Publisher )
    regards
    siya
    Edited by: sak on Feb 14, 2012 11:12 AM

  • Report Layouts in APEX 3.0

    Hello,
    i am interested in the report layouts in the new apex 3.0 version.
    Does anybody have experiences with that?
    Is it true, that I can edit the xml file only with a licensed version of XML publisher and not the desktop version?
    By the way is ther a users guide for apex 3.0 in which the report layout section is described?
    Thank you,
    Tim

    Hello Tim,
    First, you can experience APEX 3 your self, registering to the evaluation instance.
    There isn't yet a proper documentation to the new version, and even some of the internal help screens are not available yet. Still, there are several threads in this forum about the new PDF native support, that can help you understand the principles. Search the forum using the keyword "PDF" and user name "Marc Sewtz". These threads will answer the rest of your questions.
    Regards,
    Arie.

  • Report Layout and Report Query APEX tables

    Does anyone know a quick way to delete report layouts and report queries from the APEX tables that they are stored in. We currently have to go into the shared components area and delete them one by one using the builder. If we could just get the table that they are stored in and delete them by name, that would be extremely useful. Oracle does not support this type of data manipulation.
    Thanks,
    Andrew

    Hi,
    There are Top and Bottom – Left and Top and Bottom – Right.
    I suppose that you have something wrong in the SQL Query or in the report.
    Make a new report using the wizard. Then use Report Template – Standard and Top and Bottom – Left.
    Konstantin

Maybe you are looking for

  • Drilldown parameters not changing..

    I have a report with drilldown in the detail. When I initially select the parameters the report displays and the drill down works. If I change a parameter and re-run the report, the drill down still shows the previous parameter selection. What would

  • HTTP POST from SAP to an external server

    Experts. I have a XML file encased in MIME and SOAP format. Essentially it's a .xml file. I need to post this to an external server (have the IP address and logon credentials) using http post functionality. Can this be accomplished in SAP using ABAP,

  • MSTSC (win 8.1) crashes after entering credentials

    Hello, I need a bit of help here. I have 2 windows 8.1 pro English, patched to the latest patches and EMET 4.1 with recommended settings, mallwarebites and System Center Endpoint Protection latest version on it) clients members and domain members. Th

  • Resize a check box

    Hi, Does anyone know how to resize a check box in LabVIEW 7.1? Thanks, Paulo

  • Tomcat won't be discovered

    In my environment a Tomcat 7 installation on Ubuntu 14.04. won't be discovered. In the first step I just want to test basic Tomcat monitoring, so BeanSpy is not installed on the system. The following Tomcat packages are installed on the system: joach