PDF print on a edit form - APEX - oracle

I've followed this tutorial but when I tested it doesn't work.
I've created a "Form on a Table with Report", and tried to put a button on the edit page and set its action as "Download printable Report Query" and linked it to my own Report Query.
That's the info. about the branch:
I've being struggling all week, but couldn't find anything, thanks in advance.
General Information:
Oracle 11g
Application Express 4.2.5
Apex Listener 2.0.5
Glassfish 4.0

I would start by first confirming that you can output a default format pdf report from a classic report. This is the easiest case and will help to show where you might have a set up problem.
Follow these two guides:
Custom PDF Reports -- especially the sections on Configuring APEX Listener as a Print Server and Printing a Simple Classic Report as PDF
PDF Printing Tutorial
Once you get this working, you can expand out to making your own custom xsl-fo template file and making your own print button and you will have a better idea of where problems are arising in the process.

Related

Oracle Apex: Cannot download interactive report when more than one report lives on one page

Hi I'm using Oracle Apex version 20.1. I've read about someone with a similar problem in a blog post here: Download does not work when more than one interactive report on one page at oracle apex. I can download the requested IR through the actions menu when it's the only report on the page. But when I use the actions menu to try and download the same report on my other page (which has one form and multiple reports) it just refreshes the page and sets my form fields back to default. I also notice that the download url changes from
https://transengine-dev.dev.actumprocessing.com:8443/ords/f?p=500:501:7870471954917:CSV::::
to
https://transengine-dev.dev.actumprocessing.com:8443/ords/f?p=500:81:7870471954917:IR%5BR398147140862231567%5D_CSV::::&cs=33Et3cGqxfXDNwO6R4YmJHZ8jy6Bdk6Ef255gHvw_pfDuFLxMBudNruiscd3nSN2liXFZDoesmdRYzXTCfHga9Q
Any suggestions?
I tested it on apex.oracle.com (which currently runs Apex 21.2.0) and it seems that it works OK.
Two interactive reports on the same page (querying Scott's EMP) table; I ran the page and downloaded (via the Actions menu) both of them one after another - no problem. Therefore, perhaps you should upgrade (can't test on your version, I don't have it).

interactive report filter text is not getting translated in Oracle APEX Application translation

I have a problem in french translation of an application. The application is translated completely fine, but when we run an Interactive Report, the string showing current filter is still in English, not in French. See the following screen shot
Is there a way that we can translate the string showing filter text (in this example "Running" and "Highlight Failed")? Can someone please help with this?
Thanks in Advance.
Interactive Report and Interactive Grid settings are being set in the frontend rather than the backend where all the translation logic is located. Therefore, I don't think it is possible to do this with the standard APEX translation methods.
If you have a basic Report with only little customatization and you really need to translate these filters, I would suggest to create two Reports in the Backend, one for the english version, one for the french version, and use the language application item (usually FSP_LANGUAGE_PREFERENCE) to display one or another.
If you have a complicated report with several private reports or heavy customization, I would advise against this solution and just use both language to name your Report settings like you did in your example.
Another option would be to use Javascript to rename the display filter. Try $('.a-IG-controlsLabel[data-setting="highlight"]') to select the appropriate items. However, it will be kind of hard to find the correct event handlers to trigger this at the right moment.

How to download a detailed view report in oracle apex?

I have created a page with master detail report on Oracle Apex version 18.1. I am trying to download the reports through actions menu but I am only able to download the master report. If I click download for the detailed report, its generating an empty file even when data is present. I have also tried creating a manual download button but that is also generating an empty file. Can someone please suggest a solution?

CKEditor with XPages showing only 1 line of HTML / DXL code

I am not a web developer but have to keep running an existing XPages application which currently has the problem, that CKEditor displays only 1 row with HTML / DXL data. This issue may have to do with an updated version of Domino (and CKEditor) ...I cannot find the solution, tried to override the existing config.js file with no success. Would be great if the community could give me a hint where to start fixing ! Thank you !
A standard simple XPage containing a richtext control displays ok, my issue must be hidden somewhere in a self-developed plugin.

How to find Oracle APEX Interactive report template

I need to make style changes to Oracle apex IR (apex version 4.2). For that purpose where can i find the template of it. ? is it saved inside table or procedure ?
Interactive reports are held in a region and the region can have a template, but has no effect on its content, such as an IR.
While you can define report templates for classic reports, this is not possible for interactive reports.
You cannot control the structure (html) it puts out.
You can however change the style of it by applying CSS to the appropriate elements. You don't have need to alter the source it puts out. Defining selectors and using your browser tools to inspect everything you can definitely influence the look and feel.
Word of warning though: heavily applying CSS will bring some trouble when upgrading to apex 5, as IRs have been changed a lot. This means you'll have to change selectors quite a bit while also doing more setup on the IR.
If you'd supply more info on the kind of change you'd want to make to the IR, answers could be more specific and concrete.
You can find Oracle Interactive reports template from
PAGE RENDERING SECTION
Right Click your INTERACTIVE REPORT
Click Edit Report Attributes
Then template is under Layout and Pagination Section
But i doubt you can edit the template in there.
If you are looking for adding a template to be used in your report then follow these steps
Go to the Main Page of your application
Then go to Shared Components
Then Search for User Interface Section
Under this section, Click Templates, this is where you can add template for any type of item(report, region, page, etc..)
Read these article for customizing report template
http://www.apexninjas.com/blog/2011/03/customizing-report-templates/
http://rimblas.com/blog/2014/05/using-conditions-with-column-templates/
http://www.eberapp.com/pls/apex/f?p=BLOG:READ:0::::ARTICLE:5976400346831048
http://apex.shak.us/post/1145946801/fully-control-your-interactive-reports-toolbar
You can create new template under apex:
Application Builder/Application #/Shared Components/Templates

Resources