Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Adding Advanced Functionality to

your Application Express


Application

Student Guide
M105028GC10
Learn more from Oracle University at education.oracle.com
Authors Copyright © 2020, Oracle and/or its affiliates.

Sayantani Ghosh Disclaimer

Moitreyee Hazarika This document contains proprietary information and is protected by copyright and other
intellectual property laws. You may copy and print this document solely for your own use in
an Oracle training course. The document may not be modified or altered in any way.
Technical Contributors Except where your use constitutes "fair use" under copyright law, you may not use, share,
and Reviewers download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit,
or distribute this document in whole or in part without the express authorization of Oracle.
Suresh Rajan
David Peake The information contained in this document is subject to change without notice and is not
warranted to be error-free. If you find any errors, please report them to us in writing.

Editors Restricted Rights Notice

Adrita Biswas If this documentation is delivered to the United States Government or anyone using the
documentation on behalf of the United States Government, the following notice is
Raj Kumar applicable:

U.S. GOVERNMENT END USERS: Oracle programs (including any operating system,
Graphic Designers integrated software, any programs embedded, installed or activated on delivered hardware,
Pushparaj Kundar and modifications of such programs) and Oracle computer documentation or other Oracle
data delivered to or accessed by U.S. Government end users are "commercial computer
Toufik Bagwan software" or "commercial computer software documentation" pursuant to the applicable
Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the
use, reproduction, duplication, release, display, disclosure, modification, preparation of
Publishers derivative works, and/or adaptation of i) Oracle programs (including any operating system,
integrated software, any programs embedded, installed or activated on delivered hardware,
Sujatha Nagendra
and modifications of such programs), ii) Oracle computer documentation and/or iii) other
Pavithran Adka Oracle data, is subject to the rights and limitations specified in the license contained in the
applicable contract. The terms governing the U.S. Government's use of Oracle cloud
Sumesh Koshy services are defined by the applicable contract for such services. No other rights are
granted to the U.S. Government.

1009292020 Trademark Notice

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may
be trademarks of their respective owners.

Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All
SPARC trademarks are used under license and are trademarks or registered trademarks of
SPARC International, Inc. AMD, Epyc, and the AMD logo are trademarks or registered
trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open
Group.

Third-Party Content, Products, and Services Disclaimer

This documentation may provide access to or information about content, products, and
services from third parties. Oracle Corporation and its affiliates are not responsible for and
expressly disclaim all warranties of any kind with respect to third-party content, products,
and services unless otherwise set forth in an applicable agreement between you and
Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or
damages incurred due to your access to or use of third-party content, products, or services,
except as set forth in an applicable agreement between you and Oracle.
Contents

1 Course Overview
Road Map 1-2
Topics 1-3
Course Environment 1-4
Workspace Details 1-5
Accessing the labs Directory 1-6
Introducing Course Persona: Steve 1-7
Introducing Course Persona: Stella 1-8
Introducing Course Persona: Richard 1-9
Demo Application: Project Tracking System 1-10
Practice Application: GlobalMart Management Tool 1-11

2 Introduction and Review


Road Map 2-2
Learning Objectives 2-3
Steve Reviews Oracle Application Express Concepts and PTS Features 2-4
What Is Oracle Application Express? 2-5
Workspace Home Page 2-6
What Is App Builder? The First Component of Oracle Application Express 2-7
What Is SQL Workshop? The Second Component of Oracle Application Express 2-8
Accessing SQL Workshop 2-9
Running SQL Commands 2-10
What Is Team Development? The Third Component of Oracle
Application Express 2-11
What Is App Gallery? The Fourth Component of Oracle Application Express 2-12
Accessing the App Gallery 2-13
What Is a Workspace? 2-14
Defining Roles 2-15
Building Your Database Application 2-17
Components of an Application Page 2-19
Page Designer: The Advanced Web-Based IDE 2-20
Page Designer: Drag and Drop from Gallery 2-21
Page Definition: Overview 2-22
Different Views of a Page 2-23
Oracle Application Express: Other Features 2-24

iii
Securing Database Applications 2-25
Additional Resources: Application Express OTN Page 2-26
Oracle Learning Library 2-27
Additional Resources: Documentation and Tutorials 2-28
Oracle Application Express Developer Certified Expert 2-29
Practice 2: Overview 2-30
Summary 2-31

3 Generating and Using Table APIs


Road Map 3-2
Learning Objectives 3-3
Topics 3-4
Methods on Tables 3-5
About Methods on Table 3-6
Advantage of Using Table API 3-7
Topics 3-8
Use Methods on Table 3-9
Create PL/SQL Package Using Methods on Table 3-10
Review the PL/SQL Package 3-11
Topics 3-12
Add Business Rules to the Table API 3-13
Agenda 3-15
Use API on a Form 3-16
Create Report with Form 3-17
Use API on Form: Deactivate DML Process 3-18
Use API on Form: Deactivate Form Initialization Process 3-19
Use API on Form: Change Items Source to NULL 3-20
Use API on Form: Create an After Header Process 3-21
Use API on Form: Create Two After Submit Processes 3-23
Raising Errors from the API 3-26
Another Scenario: Using Table API 3-27
Quiz 3-28
Practice 3: Overview 3-29
Summary 3-30

4 Working with RESTful Services and Web Source Modules


Road Map 4-2
Learning Objectives 4-3
Topics 4-4
About RESTful Services and Web Source Modules 4-5
RESTful Services 4-6

iv
Web Source Module 4-7
Consuming RESTful Services 4-8
Topics 4-9
Working with Remote Data 4-10
Topics 4-12
Working with RESTful Services and Web Source Modules 4-13
Topics 4-14
Installing EMP/DEPT Sample Datasets 4-15
Creating RESTful Service Modules and REST Enabling Tables 4-16
Viewing the RESTful Service Modules 4-17
Testing the RESTful Service 4-18
Create Web Source Module for DEPT in GMT App 4-19
Create Web Source Module in GMT 4-20
Adding a Function to Call DEPT 4-21
Create a List of Values 4-22
Add the LOV to the Employees Report 4-23
Add the LOV to the Maintain Employees Form 4-24
Viewing the Employees Report 4-25
Viewing the Employees Report and Maintain Employees Form 4-26
Quiz 4-27
Practice 4: Overview 4-29
Summary 4-30

5 Using Templates and Themes


Road Map 5-2
Learning Objectives 5-3
Topics 5-4
Using Templates and Themes 5-5
Understanding Template 5-6
Types of Templates 5-8
Using Button Template 5-9
Customizing a Button Template 5-10
Step 1: Copying a Template 5-11
Step 2: Modifying a Template 5-12
Associating Template with Button 5-13
Step 3: Associating Template with Button 5-14
Quiz 5-15
Agenda 5-16
Understanding Theme 5-17
Step 1: Exporting Your Theme 5-19
Step 2: Copying Your Theme 5-20

v
Step 3: Editing Your Theme 5-22
Step 4: Managing Workspace Themes 5-23
Switching Current Theme 5-25
Example: Switching Current Theme 5-26
Deleting the Default Theme 5-27
Example: Deleting the Default Theme 5-28
Practice 5: Overview 5-29
Summary 5-30

6 Using Faceted Search


Road Map 6-2
Learning Objectives 6-3
Topics 6-4
Introducing Faceted Search 6-5
Understanding Faceted Search 6-6
Understanding Faceted Search Types 6-7
Understanding Faceted Search Types: Search 6-8
Understanding Faceted Search Types: Radio Group 6-9
Understanding Faceted Search Types: Checkbox 6-10
Understanding Faceted Search Types: Range 6-11
Understanding Faceted Search Types: Select List 6-12
Agenda 6-13
Creating a Faceted Search Page 6-14
Creating a Faceted Search Page Using Create Application Wizard 6-15
Creating a Faceted Search Page Using Create Page Wizard 6-17
Topics 6-19
Editing Faceted Search Page 6-20
Editing Faceted Search Page – Reorder Facets 6-21
Editing Faceted Search Page – Change Facet Type 6-22
Editing Faceted Search Page – Collapsing Facets 6-24
Quiz 6-25
Practice 6: Overview 6-26
Summary 6-27

vi

You might also like