Example of calling PDF report in APEX application
Hi,
Can anyone direct me where to download this sample APEX application - http://apex.oracle.com/pls/otn/f?p=31057?
This app is a great example on how to fill up government form and print it out in PDF.
The link provided by the author (Marc Sewtz) is no longer avaialable.
http://www.oracle.com/technology/products/database/application_express/html/3.0_new_features.html
Thanks.
40 QUERIES???? Why don't you move SOME of those to views in your database, unless they need some sort of parameters passed in, then move them to collections in a procedure... Sounds like a train wreck just waiting to happen....
A blonde goes to the doctor and as she touches each part of her body with her finger she says: Doc it hurts everywhere. My leg hurts, my arm hurts, my neck hurts, and even my head hurts! Doc what's wrong? The doctor answers: Your finger is broken!
Thank you,
Tony Miller
Webster, TX
Similar Messages
-
PDF generation on APEX applications Reports
Hi all
PDF generation on APEX applications is Facilitated in Interactive Reports in the Down load Option,
When we Choose this pdf Down load Option,this is not Working.
why this is not Working?
But this Down load Facility in Interactive Reports is Working fine with Excel Format
Do we need to Install & configure FOP/Cocoon or BI Publisher to Enable PDF Format DOWNLOAD
OR
any Other Work around Availble for this
please Suggest
tahnks AlotTo generate PDF file from APEX reports, you either have to install & configure Bi Publisher or FOP/Cocoon..
http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
There are alternatives (jasper reports, pl/pdf), but they are also items you need to install and configure..
Thank you,
Tony Miller
Webster, TX -
How to call PDF Report with parameters in jdeveloper 10.1.3
Hi all,
how to call PDF Report with parameters in jdeveloper 10.1.3
for example I have Report name is repdept.pdf with parameter as deptno
and I want call this Report from JSP page ?
thanks
frankHi all,
how to call PDF Report with parameters in jdeveloper 10.1.3
for example I have Report name is repdept.pdf with parameter as deptno
and I want call this Report from JSP page ?
thanks
frank -
Create PDF report with APEX and Oracle 11g doesn't work
Hi everyone,
I have a problem with the downloading of PDF reports from APEX with Oracle 11g.
When I try to download a PDF, Acrobat Reader says it can not open the file.
I have done the same test in an environment with APEX and Oracle 10g and it works perfectly.
Does anyone know if there is a known bug for version 11g.
Thank you very much.Hi Munky,
I open the generated file the Notepad++ I can read the next message:
*<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1>OracleJSP:*
An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param <code>debug_mode</code> to "true" to see the complete exception message.</BODY></HTML>
I have not idea can I solve the problem.
Have you got any solution for this problem??
Thank you so much.
Victor Muñoz. -
Regarding tutorial of how to call Oracle Reports from APEX
Hi,
I'm trying to call Oracle Reports from APEX using this tutorial.
http://www.oracle.com/technology/products/database/application_express/howtos/howto_integrate_oracle_reports.html
But in the step of 'Create the Oracle HTML DB Application', 'OE' doesn't appear in the LOV of Existing Schema, even though the sample schema exists in the schema and they are unlocked. And when I type 'OE' directly without using LOV, and press Next, the message 'Schema is reserved or restricted' appears.
How can I create the workspace based on OE schema?Hello Shohei,
I know your following the tutorial, but if you want to call oracle reports from apex it is quite easy though if your working with oracle reports 9i or higher. Just create an html region and put in the source the html code for referencing an url like to_report
Or reference the same url from a button placed on the HTML region
(you can create a package that would create the whole URL and returns it as a string, easier for scalability)
Hope this can help you to (tutorial is good but try and learn from scratch is also good ;-) )
Erwin -
How to call Oracle Reports from APEX
Dear All,
I am new to APEX. My first job assignment is "calling oracle reports from apex".
Can any one help me on this? Is there any online examples / tutorials from OTN site?
TIA.Hi Joe,
the how-to is still valid for APEX 3.0. Calling an Oracle Report from APEX is still the same, it's basically the URL you build for the report call and Oracle Reports hasn't changed that format.
Patrick
My APEX Blog: http://inside-apex.blogspot.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/ -
How to Call Crystal Reports from Swing Application
Hi All,
I have a requirement for calling Crystal Report from Swing Application. Please let me know how can I do that, and also provide the Source code for calling the crystal report.
Thanks in advance.
Chandrahi
this is the code that i am using in my application which is similar to urs. but i am working with CR XI so make all the neccessary changes.
import java.awt.*;
import javax.swing.*;
import com.crystaldecisions.ReportViewer.*;
import com.crystaldecisions.reports.sdk.*;
import com.crystaldecisions.sdk.occa.report.reportsource.*;
public class HelloSwing
public static void createAndShowGUI()
try
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(true);
//Create and set up the window.
JFrame frame = new JFrame("HelloWorldSwing");
frame.setTitle( "Testing Reports");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
ReportViewerBean viewer = new ReportViewerBean();
viewer.init( new String[0], null, null, null);
ReportClientDocument rpt = new ReportClientDocument();
rpt.open( "report path", 1 );
IReportSource rptSource = rpt.getReportSource();
viewer.setReportSource( rptSource );
frame.getContentPane().add( viewer, BorderLayout.CENTER );
frame.setSize( 700, 500 );
frame.setVisible(true);
viewer.start();
catch ( Exception exception )
System.out.println( exception.toString() );
public static void main(String[] args)
javax.swing.SwingUtilities.invokeLater(new Runnable()
public void run()
createAndShowGUI();
there are 23 jar files that u need to import into ur package. but remember that ReportViewerBean should be the first jar file in the list & it should be followed by jrcerom.jar
specify the key in the CRConfig.xml file (which also has to be imported in the package)
u can find these jar files in the common objects folder in your program files.
hope it helps. best of luck -
How to call oracle reports from ADF application.
Hi
I am migrating oracle 11g application to ADF. I would like to call oracle reports from ADF application.There is nothing similar to forms-reports integration, but you can invoke rwservlet url.
Here is sample and utility class: Sameh Nassar: Call Oracle Reports From Your ADF Application
Dario -
Calling shell script from apex application
Please let me know if anyone has tried Calling shell script from apex application, it would be nice enough if you can share how you did it? Thanks
Hi,
Requirements
* CREATE JOB (10g Rel.1)
* CREATE EXTERNAL JOB (10g Rel.2 / 11g)
* EXECUTE on dbms_scheduler (granted to public by default)
Since Oracle 10.2.0.2 the commands are executed as user nobody.
Code:
--Create a Program for dbms_scheduler
exec DBMS_SCHEDULER.create_program('RDS2008','EXECUTABLE','c:\ WINDOWS\system32\cmd.exe /c echo 0wned >> c:\rds3.txt',0,TRUE);
--Create, execute and delete a Job for dbms_scheduler
exec DBMS_SCHEDULER.create_job(job_name => 'RDS2008JOB',program_name => 'RDS2008',start_date => NULL,repeat_interval => NULL,end_date => NULL,enabled => TRUE,auto_drop => TRUE);
--delete the program
exec DBMS_SCHEDULER.drop_program(PROGRAM_NAME => 'RDS2008');
--Purge the logfile for dbms_scheduler
exec DBMS_SCHEDULER.PURGE_LOG;
This is one way as suggested by Trent.
We can also achieve as follows.
http://www.dba-oracle.com/t_execute_shell_script_plsql_procedure.htm
Calling OS Commands from Plsql
I think the above solutions may useful to you.
Let me know if you are facing any problem.
Thanks and Regards
Maheswara -
Calling 10g reports from ADF_BC Application
Dear All;
Good day to you;
I have an ADF_BC application, and at the same time i have 10g reports compiled and placed on forms and reports server,
i want to call reports from my application as needed, i can put a hyperlink with the link to the report, and it is working fine,
but i want to know how to change the link to be dynamic, since the application is deployed on 1 application server, and the rerports on the other
in addition i need, to know how to send parameters
i am unable to change the properties of a hyperlink in the code, and i do not want to change it in scriplet
any idea, or tutorials will be most helpful
thank you
regards
halimHello John;
Thank you for your reply;
Yes i am using JSF, i am working on JDEV 10.1.3.30, i deployed my application to srvanweb2 a server we have, where the application server port is 7777,
and i have deployed my reports to srvanweb2 with port being 7778,
Report: http://srvanweb2:7778/reports/rwservlet?cmdkey=user_string&report=hrempr007.rdf&destype=cache&desformat=pdf
Application: http://srvanweb2:7777
my problem is, if i want to embed the link to the report as a common HTML hyperlink it would work, but if i want to set the value for this hyerplink dynamically to be able to add parameters on run time i would have to do it on the scriptlet level, and i can not do it in a bean, since i can not call the hyperlink set value, or even the get value, so my question what should i use to create a link which will change in a bean as you said and be able to call a differnet instance which is srvanweb2:7778, and send parameter
regards
Halim -
Can BI Publisher comes with EBize be used to print pdf report from APEX?
Hi,
We have EBiz suit (11.5.10) with APEX 3.2. Both are working fine. I want to enable APEX to develop PDF reports. I would like to know whether I can use BI Publisher comes with EBiz to print PDF from APEX.
If yes where can I get instructions on how to setup APEX with BI Publisher with EBiz.
TIA
DineshSI'm not aware of the BIP/XMLP Web Services being available in the embedded EBS version (XML Publisher 5.6.3). But you might be able to create your own wrapper to the XMLP APIs in EBS.
Regards,
Gareth -
Hi,
I need to generate pdf reports using interactive reports feature in oracle APEX. But everytime, I am getting error like print server is not configured and like this. Can any one help me over this?
Is there any other way of generating pdf reports in oracle APEX without using pdf printing.
Also,do we need BI publisher for simple/standard pdf printing? Please suggest.
Thanks and Regards
VG.While you can enable simple APACHE FOP printing in APEX 3.1 and beyond, it is not easy and not very robust. Oracle recommends BI Publisher for a reason (besides wanting to make money!)
Here are links with information:
http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
Marc has an excellent APEX Blog that includes this:
http://marcsewtz.blogspot.com/2008/06/heres-another-posting-on-pdf-printing.html
Marc made this presentation - slide 15 shows the APACHE FOP architecture:
http://www.nyoug.org/Presentations/2008/Dec/Sewtz_Advanced%20Printing.pdf
I am sure you can find more info if you Google. But I will share our experiences. We installed APEX 3.1 but were not going to be buying BI Publisher. We had previous success with integrating Oracle Reports (web) into APEX 3.0 and liked that but wanted to explore the APACHE FOP solution mentioned in the APEX documentation.
We installed APEX 3.1 in an Oracle 10g Database. We used the included HTTP Webserver (Apache, I think?) that comes with APEX then installed the APACHE FOP piece in an OC4J container. We aren't Apache experts - more DBAs - so maybe people with lots of experience in OC4J and Apache would have an easier time. We did not and were not able to get much support from Oracle Support. They kept citing BI Publisher solutions - which we weren't using.
Anyway, we get the whole thing installed and running to find out that APACHE FOP has limitations (memory issues, rendering issues, layout issues). I think if we learn XSLT coding enough to make custom layouts, we might get past the layout issues but the memory usage is of more concern.
We are now revisiting Oracle Reports. BI Publisher might be great but we already own Oracle Reports licenses and don't have a budget to purchase something new. -
Multi query PDF report in apex 4.0
Hi All...
I have created a report in apex 4.0. it consists of more than 40 queries. Initially it was working fine but now it has a very unpredictable behavior. Some of the queries were not retrieving the data. I just deleted them and then recreate them , the data retrieved. I took the backup of the whole application and imported it on another machine. The queries that were recreated were working fine but most of the other queries were not retrieving the data. This happened several times and each time a new set of queries doesnt retrieve the data...
What can be the problem? Is there any limitation with the "Report Query" size in in apex4.0?
Best Regards
Sajjad40 QUERIES???? Why don't you move SOME of those to views in your database, unless they need some sort of parameters passed in, then move them to collections in a procedure... Sounds like a train wreck just waiting to happen....
A blonde goes to the doctor and as she touches each part of her body with her finger she says: Doc it hurts everywhere. My leg hurts, my arm hurts, my neck hurts, and even my head hurts! Doc what's wrong? The doctor answers: Your finger is broken!
Thank you,
Tony Miller
Webster, TX -
Calling a report from the application
Hi,
I am using Jdeveloper 11g…Using Bi-publisher; I want to call a report which should be opened in a new dialog window. The problem is, I don’t know how to call the report directly using "Output Stream" without having to save it physically.
Could you please give me a complete solution on this?
Thank you so much in advance.
Best Regards,
Yasaman Parandian
Edited by: Parandian on Jan 13, 2010 7:35 AMDid you try searching the forum (perhaps for "BI Publisher"?) This question has been asked a number of times before.
John -
PDF reporting in Apex 3.0
Hi,
the pdf printing is working pretty good, but what if I want an invoice in PDF Format.
How can I put the report information in one xml-document?
Is it possible to display Master-Detail information?
By example:
header: customer and order information
body: order detail lines
end: totalsYes, you can do that. Go to shared components, click on reports, go to report queries:
- create new report query
- type in SQL query that selects your order items, optionally include bind variables to e.g. limit result dynamically at runtime by customer, click next
- test your query to make sure it returns the desired result set, if bind variables were used, supply test values, click next
- include page or application items that you previously created for customer and order information, click next
- download XML version of your report query
- open Word (make sure you have the XML Publisher client installed – see OTN)
- load XML file into XML Publisher Word plug-in and design your order/order item RTF template (see XML Publisher documentation on how to create RTF templates)
- save RTF as a file and upload into your wizard in Application Express, click next
- test print output, then click create
To integrate this with your current application, copy & pasted the print URL shown on the last step (or when editing the report) and use it as a target for a button, list item, etc.
I’ll provide a sample application for an order / order item master detail PDF once we’ve completed Apex 3.0 that outlines all the steps required in more detail.
Regards,
Marc
Maybe you are looking for
-
'Windows is not genuine' after i had HDD re-placed
I recently replaced my hard drive as it had failed, and when it was repaired the windows product key was lost. I cant find the cd/manual with the key on it ( if that's where it is ) and the product key on the bottom of the laptop HAS RUBBED OFF !! (c
-
I`m setting up ranges for searching a database. I plan to use a combobox for choosing 'year', 'month', 'week' as ranges from a given date. I have one datefield for the start date, and want another one to reflect the date of the range limit. In other
-
EFI Firmware update 1.4 was not successful, no progress bar
I have a MacBook Pro 2.16 Core 2 (MBP22.00A5.B02). Software update prompts me to download and update the Firmware 1.4 udpate. After following the instructuions, shutting down the computer, and restarting holding down the power button, I hear the beep
-
http://www.anandtech.com/IT/showdoc.aspx?i=2745 With all these threads on heat, whines, mooooos and so on. The solution is AMD. AMD is already 64 bit too on it's consumer products, let alone enterprise products.
-
In iTunes, how do I switch to an Ipod nano from and old ipod that doesn't work any more
in iTunes on your computer, how do I switch to an Ipod nano from and old ipod that doesn't work any more? It has all the folders and songs I had on my old ipod, but does not recognize my ipod nano and cannot sync with it?