Showing posts with label APEX. Show all posts
Showing posts with label APEX. Show all posts

Tuesday, May 5, 2015

Upgrade Oracle APEX (4.0.2.00.09 to 5.0.0.00.31) In Oracle 11g Express Edition

Hi Friends,

It's been a while with a blogpost, and this time its APEX, One of my favorite product from Oracle.

Oracle 11g XE is quick to download from OTN and install in the laptop for trial & learning purposes and many of us already have this installed in laptop and use it for creating small applications for our own use. 


Scenario:- Today, I had to install a packaged application provided by Oracle into my express edition. By default the APEX version in express edition is 4.0.2.00.09, When I was trying to import the packaged application into my 11g XE database, It was failing with an INCOMPATIBLE error.

I did careful reading through the details of packaged application which clearly mentioned Oracle developed the application in APEX version 4.2 and thus my XE APEX version of 4.0 was incompatible. I did not want to install a 12c R1 database which by default comes with APEX 4.2, Instead decided to upgrade the APEX version in XE to newly released 5.0 version directly. 

This post shows step by step method to upgrade our APEX from version 4.0.2.00.09 to 5.0.0.00.31.


1. Download the latest Oracle APEX (5.0) version from OTN

download

























2. Unzip the downloaded zip file:
  • Linux: Unzip .zip
  • Windows: Double click .zip in Windows Explorer







3. Start CMD prompt and Change your working directory to apex.



4. Start SQL*Plus and connect to the Oracle XE database:

 

5. Install Application Express:



5. Log back into SQL*Plus (as above) and load images:

Confirm is the APEX was upgraded to version 5.0



7. In a Web browser, navigate to the Oracle Application Express Administration Services application:


 











After the APEX 5.0 upgrade my packaged application import was smooth without any issues.

HAPPY LEARNING!

Friday, November 9, 2012

My First APEX Application For A Swedish Logistics Company Is In Production Now !!

After a long time went back writing SQL's and PL/SQL blocks, triggers, procedures & functions again.....140 Hrs of learning apex and working after my regular work has paid, Memories of my initial developer days, My first Oracle APEX 4.1 application is out in production for a Swedish logistics company.

Anybody interested in developing quick applications for yourself, Please start learning APEX, Its quick and smart and easy...

Below are the few screen shots of the application.

Oracle APEX 4.1
Oracle 11g R1 database
Oracle BI Publisher For Reports






Happy Learning!

Friday, August 3, 2012

Creating Reports Using Oracle BI Publisher & APEX integration

I had recently explored the way to use BI publisher for creating reports and intgrating it with any APEX application regions.

(a) APEX - BI Publisher Integration Requirements
================================
1) Download & Install Oracle BI publisher(trial version of course) from OTN, It needs a license.




2) Download & Install Oracle BI publisher desktop again from OTN. (After this install you can see an additional BI pulisher plugin in MS word).



3) You need to start the BI pulisher using the start icon that is created on ur desktop after step-2.
(BI Publisher will be hosted by weblogic server..You will notice this when you start it)



Now you are ready to create reports in various formats, like PDF, Excel, HTML, RTF etc....

(b) Creating Reports and Integrating it with APEX Applications
===========================================
1) Login to your APEX workspace, and then click on the application to which reports are to be added.



2) Click on the page with your reporting regions.

3) Now select the region for which you intend to have a report download in PDF format.



4) The region source query needs to be copied to a notepad

5) Now again go back to the applications and select shared components.



6) Under shared components, click on report queries and create a report query with the query you saved in step-4

7)While creating the report query, download the XML output of the report query and save it, Further, it asks for the report layout and the source for it. Pause here the activity. (We are continuing to create a RTF template for our report using MS word)

8) Now open MS Word, Under BI Publisher tab. Click on Sample XML, and select your sample XML you saved on step-7, The XML data will be loaded into the word.





9) Now using table wizard, design your report layout as you require.


10) After creating the report table, you can preview the report(of course with actual data), in various formats.

11) Save the word report layout created as turnover.rtf.

12) Again go back to step-7, Under shared components page of the application, select the turnover.rtf file created in step-11 as the report layout and click finish for creating the report queries. (Save the report URL soemthing like below)



13) Now, goto the page definition of with the reports region and create a button and a branch as shown below.(Branch should be to the Print URL as shown above)
14) Now, you are all set to test your report, run your reports page in your application, and just click your button to view your repor tin PDF format.

HAPPY LEARNING!