Building an Application using Oracle Application Express: Part 1
Overview
- Use Data Workshop to load data into a table
- Create a database application using the application wizard
- Modify an interactive report
- Create and manipulate data in a calendar
- Add a data upload wizard
- Create and apply a list of values
- Create a validation
- Create and run a Websheet application.
- Install and run a Packaged Application.
- Have access to an Oracle Database 11g or later database that has the sample schema installed.
- Have installed Oracle Application Express Release 4.2 into your Oracle Database.
- Have access to the HR tables. If necessary, download and install HR Sample Objects available from OTN here.
- Performed the Testing and Debugging Procedures using SQL Developer tutorial.
- Downloaded and unzipped the files.zip into your working directory.
Purpose
In this tutorial, you use Oracle Application Express to perform the following tasks:
Time to Complete
Approximately 60 minutes
Introduction
Oracle Application Express (Oracle APEX) is a rapid web application development tool for the Oracle database. Using only a web browser and limited programming experience, you can develop and deploy professional applications that are both fast and secure. Oracle Application Express is a fully supported, no cost option of the Oracle database.
In this tutorial, you use Oracle Application Express Release 4.2 to build an application that contains a variety of pages.
Prerequisites
Before starting this tutorial, you should:
Using Data Workshop to Load Data into a Table
In this topic, you load data into the projects table.
Creating a Database Application Using the Application Wizard
In this topic, you create a database application using the application wizard. You will create a series of pages, these include, a Form on the EMPLOYEES table with an Interactive Report, a Master Detail Form on the PROJECTS and TASKS table.
Modifying an Interactive Report
In this topic, you modify the Employee Report by and changing query to show the name of the manager instead of the Manager ID, and changing the format of the SALARY column.
Creating and Manipulating Data in a Calendar
In this topic, you create a calendar with an edit calendar popup that shows the PROJECT_END_DATE for each Project. You change the end date to see how it moves the project link in the calendar.
Adding a Data Upload Wizard
In this topic, you create a series of wizard pages to upload data into the TASKS table.
Creating and Applying List of Values (LOVs)
In this topic, you customize some of the page items to show a list of values (LOVs). You create an LOV on the MANAGER_ID page item and then convert it to a Shared LOV.
In addition, you create a Shared LOV to show a list of jobs and then associate the LOV with the JOB_ID page item.
Creating Validations
In this topic, you create two validations on the Employees page. The first validation checks to make sure the Manager doesn't report to him/her self. The second validation checks to make sure the hire date is less than todays date.
Creating and Running a Websheet Application
- Create and share content over the web using your browser.
- Organize web pages in a hierarchy and cross-link pages (using [[ pagename ]] syntax)
- Create and manage tabular data using an embedded feature called Data Grids.
- Create interactive reports using SQL on existing data structures in your database.
- Expose Data Grid and Report data within pages as a chart or a report
- Annotate pages with files, tags and notes. Associated images can be shown inline within page content (using [[image: filename]] syntax)
- Search page content (using search box in upper right hand)
- Manage who can login and once logged in, who can read, write or administer the application (authentication and authorization
Websheet applications are collections of pages that support
wiki syntax. Each page can be organized into sections. Pages can
also be organized into a hierarchy. Sections can be edited using
a friendly editor.
Websheets provide the following functionality:
To create a Websheet Application log in to your Oracle Application Express workspace and perform the following steps:
Installing and Utilizing Packaged Application
- Sample applications
- Productivity applications
Oracle Application Express includes two types of packaged
applications:
Both sample and productivity applications are fully functional
applications that have been designed to address a specific
business need. The main difference between a sample and
productivity application is the level of support. By default,
sample applications are fully editable. In contrast, you must
unlock productivity applications before you can edit them.
Unlocking a productivity application makes it ineligible for
future upgrades or support by Oracle Support.
To install a Packaged Application log in to your Oracle
Application Express workspace and perform the following steps:
Installing a Packaged Application
Unlocking an Installed
Productivity Application
After a productivity application is installed, you can run the application directly and you must unlock it before you can edit it. To run an installed productivity application log in to your Oracle Application Express workspace and perform the following steps:
Installing and Running a Sample Application
By default, Sample Applications are fully editable. You do not need to specifically unlock them. Perform the following steps to install and run a Sample Application:
Summary
- Use Data Workshop to load data into a table
- Create a database application using the application wizard
- Modify an interactive report
- Create and manipulate data in a calendar
- Add a data upload wizard
- Create and apply a list of values
- Create a validation
- Create and run a Websheet application.
- Install and run a Packaged Application.
- APEX OTN Home Page
- Oracle Application Express: Developing Web Applications.
- Oracle Learning Library
- Oracle University
- Lead Curriculum Developer: Dimpi Sarmah
- Other Contributors: David Peake, Chaitanya Koratamaddi
In this tutorial, you have learned how to:
Resources
Credits
To help navigate this Oracle by Example, note the following:
- Hiding Header Buttons:
- Click the Title to hide the buttons in the header. To show the buttons again, simply click the Title again.
- Topic List Button:
- A list of all the topics. Click one of the topics to navigate to that section.
- Expand/Collapse All Topics:
- To show/hide all the detail for all the sections. By default, all topics are collapsed
- Show/Hide All Images:
- To show/hide all the screenshots. By default, all images are displayed.
- Print:
- To print the content. The content currently displayed or hidden will be printed.
To navigate to a particular section in this tutorial, select the topic from the list.