Utilizing Advanced Interactive Report Region Techniques in Oracle Application Express 4.2
Overview
Purpose
This tutorial shows you how to use some advanced techniques with Interactive Report Regions in Oracle Application Express 4.2.
Note: Some screenshots in this tutorial may be slightly different depending on what browser and operating system you use.
Time to Complete
Approximately 50 minutes
Introduction
In this tutorial, you explore some of the more advanced tasks related to Interactive Report Regions in Oracle Application Express such as resetting your interactive report manually, created a declarative filter and a derived column.
Please keep in mind the following while running this tutorial:
- Logging into your Oracle Application Express workspace
- Your Oracle Application Express workspace may reside in an
on-premise Oracle Database or in Oracle Database Cloud Service
(Database Schema).
The login credentials differ depending on where your workspace is located:
Logging into Oracle Application Express workspace in Oracle Database Cloud (Schema):
From your browser, go to the Service URL found in your Welcome email or the Service URL provided by your Service Administrator.Logging in to Oracle Application Express on-premise:
From your browser, go to the location of your on-premise installation of your Oracle Application Express workspace provided by your Workspace Administrator. - Application ID - Screenshots in this tutorial show an Application ID of 111. Your Application ID may be different.
- Schema - If you are accessing an Oracle Application Express workspace in Oracle Database Cloud Service (Schema) you have one schema assigned to you with a schema name that you cannot change. If you are accessing the workspace in an on-premise Oracle database, you may have more than one schema assigned to your workspace by the Oracle Application Express Instance Administrator.
Prerequisites
Before starting this tutorial, you should have:
- Access to an Oracle Database 11g or later database, either on-premise or in the Oracle Database Cloud Service (Database Schema).
- Installed Oracle Application Express Release 4.2 into your Oracle Database (for on-premise only).
- At least one Oracle Application Express user provisioned. See
Creating
New User Accounts in Oracle Application Express
Administration Guide.
- Performed Building and Customizing an Interactive Report in Oracle Application Express 4.2 tutorial.
Linking a Saved Report from Another Page in Your Application
In the Building
and Customizing an Interactive Report
tutorial, you created an application with an Interactive Report.
In this section of this tutorial, you add a link to a
saved report on your Home page.
To add a link to a saved report on your Home page, login to your Oracle Application Express workspace, either on-premise or in Oracle Database Cloud Service (Schema), and perform the following steps:
Resetting your Interactive Report Manually
As a developer, you have the ability to include or exclude the Reset function, Actions Menu, or Search Bar all together. Without the Reset function on the Actions Menu, your end-users will not have the ability to reset their report after they have customized it using the Column Heading menu. To allow for resetting, you can programmatically create Interactive Report, then exclude the Search bar, and lastly, create a reset button. Perform the following steps:
Creating a Declarative Filter
You can define declarative filters on Interactive Reports by passing filter criteria using the URL item values. This allows you to define complex query criteria that can be translated into filters or drill downs from a report to an interactive report. To create a drill down from one interactive report to another, perform the following steps:
Creating Derived Columns
In this section, you add a derived column to your query. Specifically, you use a case statement to determine whether a product has been undersold based on how many customers have ordered a product. You then use the value of this derived column to create a highlight rule to highlight all undersold products. Perform the following steps:
Summary
- Link your saved report from another page
- Reset your Interactive Report Manually
- Create a declarative filter
- Create a derived columns
- Oracle Application Express homepage on OTN.
- Oracle Learning Library
- Oracle University
- Lead Curriculum Developers: Veerabhadra Rao Putrevu, Drue Swadner
- Original Curriculum Developer: Dimpi Sarmah
- Other Contributors: David Peake, Chaitanya Koratamaddi
In this tutorial, you have learned how to:
Resources
Credits
To navigate this Oracle by Example tutorial, note the following:
- Topic List:
- Click a topic to navigate to that section.
- Expand All Topics:
- Click the button to show or hide the details for the sections. By default, all topics are collapsed.
- Hide All Images:
- Click the button to show or hide the screenshots. By default, all images are displayed.
- Print:
- Click the button to print the content. The content that is currently displayed or hidden is printed.
To navigate to a particular section in this tutorial, select the topic from the list.