Oracle
Application Express 18: Creating an Application from a Spreadsheet
Before You Begin
This 15-minute tutorial shows you how to create an application
using data from a spreadsheet. When you run the Create
Application Wizard and select From a Spreadsheet,
the Create From a Spreadsheet Wizardappears.
You can then upload spreadsheet data in two ways :
From a File
Select this option to upload spreadsheet data from a file as
comma separated (*.csv) or tab delimited file and then create
an interactive report on that data.
Copy and Paste
Select this option to copy and paste tab delimited data and
then create report on that data.
In this tutorial, you use the second option (Copy and paste) to
create an application.
Background
The Create Application Wizard enables you to design and quickly
create basic Oracle Application Express applications. By using
the Create Application Wizard, you can create a complete
application containing multiple pages including reports,
interactive reports, forms, tabular forms, and master detail
forms. After you create an application using this wizard, you
can modify pages and add additional pages using the Create Page
Wizard.
Once you approve a page preview, the wizard loads the data into
the database, creates a report and form on the data, and then
displays the Create Application Wizard. A new interactive report
with form page named after the table you imported displays under
Pages. You then finish creating the application by naming the
application, specifying the application appearance, editing the
report, creating additional pages, selecting features, and
configuring settings.
What Do You Need?
Access to Oracle Application Express Release 18.1 or later.
How you sign in and access Oracle Application Express depends
upon where Oracle Application Express resides. Oracle
Application Express may reside in a local on-premises Oracle
Database or in a hosted environment, such as the Oracle Cloud.
The sign in credentials you use to sign in differ depending upon
the installation type.
Free Workspace: Give Oracle Application
Express a test run by signing up for a free workspace. To
request an evaluation workspace, go to apex.oracle.com,
and click Get Started for Free.
Oracle Cloud: Develop and deploy
applications without worrying about infrastructure, repair,
and downtime. Oracle Application Express is available in
Exadata Express Cloud Service and Database Cloud Service.
However, you need to manually customize your databases to
install and enable Oracle Application Express. To learn more,
see Oracle
Database Cloud Service.
Oracle Application Express On-premises:
Install Oracle Application Express directly within any Oracle
Database and then sign in to your workspace using your sign in
credentials. For details on your sign in credentials, contact
your administrator or see Oracle
Application Express Installation Guide.
Oracle Application Express Pre-Built VM:
Install a Pre-Built Virtual Machine (VM) which includes an
Oracle Database and Oracle Application Express 18.1. To learn
more, see Hands-On
Labs.
Once the VM is installed, start the VM:
Click the big red circle labeled Start.
Click the APEX shortcut, or enter the
following URL: http://localhost:8080/ords/f?p=4550:1
When prompted to sign in, enter the sign in credentials
(unless given other credentials to use):
Workspace: obe
Username: obe
Password: oracle
Upload
Data from a Spreadsheet
In this section, you select From a Spreadsheet
option in the Create Application Wizard to load spreadsheet data
and then create report on that data.
To load spreadsheet data by copying and pasting:
Sign in to Oracle Application Express by entering the
credentials (workspace, username, and password).
On the workspace home page, click the App Builder
icon.
On the application home page, click the Create
button. The Create Application Wizard appears.
Select From a Spreadsheet.
When prompted how to load the spreadsheet data, select Copy
and paste.
To use the sample data:
Expand the Sample Data Region at the
bottom of the page
Click Next. A preview page appears. This
shows how your table will look.
Description
of the illustration preview_page.png
You can modify the suggested table name, change the column
names or datatypes, or specify which columns to include.
In the Table Name field, enter World_Population_Report.
Once the data is loaded, the Create Application Wizard displays
with an interactive report and form already defined. It appears
in the Create Application Wizard under Pages, as Interactive
Report with Form (World_Population_Report).
In the Create an Application page, enter the Application
Name, World Population.
To choose the appearance of your application:
Click the Set Appearanceicon.
For Theme Style, select Vita Slate.
For Navigation, select Side Menu.
Click Choose New Icon, to select a new
icon.
Select the color of your icon and click Set
Application Icon.
Enter you workspace username and password and click Sign
In.
The Application Wizard displays the home page, Dashboard,
Report, and the Administration page for your application (World
Population).
Description
of the illustration application_home_page.png
Next, view your changes. Since Page 3,
Population Report, is a dialog page, you cannot run it
directly from Page Designer.
Run the application again to view your changes:
Click the ApplicationID
breadcrumb at the top of the page.
On the Application home page, click Run
Application.
From the left Navigation menu, select Population
Report.
Click edit icon adjacent to any row.
In the Population Report dialog, click Continent.
Notice that the Continent field now displays as a select
list. You now have the option to select from the list of
continents.