Course Overview. Copyright 2010, Oracle and/or its affiliates. All rights reserved.

Similar documents
Manipulating Data. Copyright 2004, Oracle. All rights reserved.

Database Foundations. 6-4 Data Manipulation Language (DML) Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Bsc (Hons) Software Engineering. Examinations for / Semester 1. Resit Examinations for BSE/15A/FT & BSE/16A/FT

Retrieving Data Using the SQL SELECT Statement. Copyright 2004, Oracle. All rights reserved.

Oracle Application Express Workshop I Ed 2

Retrieving Data Using the SQL SELECT Statement. Copyright 2004, Oracle. All rights reserved.

Restricting and Sorting Data. Copyright 2004, Oracle. All rights reserved.

Retrieving Data Using the SQL SELECT Statement. Copyright 2009, Oracle. All rights reserved.

Data Manipulation Language

RETRIEVING DATA USING THE SQL SELECT STATEMENT

Including Dynamic Images in Your Report

Using DbVisualizer Variables

Creating a PDF Report with Multiple Queries

Táblák tartalmának módosítása. Copyright 2004, Oracle. All rights reserved.

DUE: 9. Create a query that will return the average order total for all Global Fast Foods orders from January 1, 2002, to December 21, 2002.

Building and Customizing an Interactive Report

Restricting and Sorting Data. Copyright 2004, Oracle. All rights reserved.

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved.

Using the Set Operators. Copyright 2004, Oracle. All rights reserved.

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved.

School of Computing and Information Technology Session: Spring CSCI835 Database Systems (Bridging Subject) Sample class test 23 July 2018

MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9)

EXISTS NOT EXISTS WITH

Manipulating Database Objects

Limit Rows Selected. Copyright 2008, Oracle. All rights reserved.

Building Database-Centric Web Applications Using. Oracle HTML DB

Database Programming with SQL

Database Programming with PL/SQL

Database Programming with PL/SQL

Introduction to Oracle9i: SQL

Imagination To Realization

Oracle Application Express

Hyperion Interactive Reporting Reports & Dashboards Essentials

Additional Practice Solutions

Database Foundations. 6-3 Data Definition Language (DDL) Copyright 2015, Oracle and/or its affiliates. All rights reserved.

School of Computing and Information Technology. Examination Paper Autumn Session 2017

Database Programming with PL/SQL

Using the Set Operators. Copyright 2006, Oracle. All rights reserved.

Oracle Application Express 5 New Features

Alkérdések II. Copyright 2004, Oracle. All rights reserved.

Monitoring and Resolving Lock Conflicts. Copyright 2004, Oracle. All rights reserved.

Real Application Security Administration

Google Sites Training

Intermediate SQL: Aggregated Data, Joins and Set Operators

What Are Group Functions? Reporting Aggregated Data Using the Group Functions. Objectives. Types of Group Functions

HR Database. Sample Output from TechWriter 2007 for Databases

Assignment Grading Rubric

Using DDL Statements to Create and Manage Tables. Copyright 2006, Oracle. All rights reserved.

Oracle Database 10g: SQL Fundamentals I

DbSchema Forms and Reports Tutorial

Sun Certified MySQL Associate

Oracle MOOC: SQL Fundamentals

ÇALIŞMA TEST SORULARI

RESTRICTING AND SORTING DATA

Standard Professional Premium

Oracle Database 10g: SQL Fundamentals I

Database Programming with PL/SQL

Appendix A Practices and Solutions

Oracle 1z z0-146 Oracle Database 11g: Advanced PL/SQL. Practice Test. Version QQ:

USER GUIDE Azure Factory

DATA CONSTRAINT. Prepared By: Dr. Vipul Vekariya

Retrieving Data from Multiple Tables

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://

ITCertMaster. Safe, simple and fast. 100% Pass guarantee! IT Certification Guaranteed, The Easy Way!

DbSchema Forms and Reports Tutorial

CS 275 Winter 2011 Problem Set 3

Testing Masters Technologies

Database Programming with SQL

Database Programming with PL/SQL

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Building Rich Enterprise JSF Applications with Oracle JHeadstart for ADF (11.1.1)

Oracle Database SQL Basics

Creating Other Schema Objects

DUE: CD_NUMBER TITLE PRODUCER YEAR 97 Celebrate the Day R & B Inc Holiday Tunes for All Tunes are US 2004

Série n 6 Bis : Ateliers SQL Data Modeler (Oracle)

Contents. Introduction 15. How to use this course 18. Session One: Basic Skills 21. Session Two: Doing Useful Work with Excel 65

Kaltura Video Package for Moodle 2.x Quick Start Guide. Version: 3.1 for Moodle

Database Programming with PL/SQL

1Z0-007 ineroduction to oracle9l:sql

Institute of Aga. Network Database LECTURER NIYAZ M. SALIH

1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Oracle Database. Installation and Configuration of Real Application Security Administration (RASADM) Prerequisites

Database Programming with SQL

2. What privilege should a user be given to create tables? The CREATE TABLE privilege

Database Foundations. 6-1 Introduction to Oracle Application Express. Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Voluntary Product Accessibility Template

A Closer Look at XPages in IBM Lotus Domino Designer 8.5 Ray Chan Advisory I/T Specialist Lotus, IBM Software Group

Independence Community College Independence, Kansas

APEX_ITEM and Beyond. Greg Jarmiolowski. SQLPrompt LLC

OrgPublisher Cross Browser Planning User Guide

Oracle Database: SQL Fundamentals I. Oracle Internal & Oracle Academy Use Only. Volume II Student Guide. D64258GC10 Edition 1.0 January 2010 D65028

Database Developers Forum APEX

Database Programming with PL/SQL

Database Programming with SQL

Join, Sub queries and set operators

<Insert Picture Here>

GIFT Department of Computing Science. CS-217/224: Database Systems. Lab-5 Manual. Displaying Data from Multiple Tables - SQL Joins

Oracle Database 11g: SQL Fundamentals I

Oracle Database 10g Express

PL/SQL Developer 7.0 New Features. December 2005

Transcription:

Course Overview

Course Objectives After completing this course, you should be able to do the following: Manage application navigation by using hierarchical lists with images, database-driven navigation, site maps, and dashboards Build custom tabular forms that use collections and validations Define client-side behaviors Create and customize Plug-ins Extend your application to add binary large object (BLOB) data, send email notifications, use RESTful Web services, and integrate with SQL Developer 1-2

Course Objectives Manipulate application content through templates, themes, and style sheets Create reports declaratively and use the print APIs Use advanced charting techniques Secure your application by using Lightweight Directory Access Protocol (LDAP) and prevent SQL injection attacks and cross-site scripting and usage of Session State Protection Monitor and manage your application by using custom reports 1-3

Managing Application Navigation Preview

Objectives After completing this lesson, you should be able to: Differentiate between various navigation objects (tabs, breadcrumbs, lists, navigation bar entries, and trees) Build a hierarchical list with images Build a database-driven navigation report Build a site map Add a dashboard Incorporate security into navigation Link interactive reports Manage feedback 3-2

3-3 Navigation Choices 3 1 4 2

3-4 Building a Hierarchical List with Images

Building a Hierarchical List with Images Steps 1. Update the list with the desired sublist items. 2. Identify and upload the images to include. 3. Change the template of the list region. 4. Change navigation region settings. 5. Associate an image with a list item. 3-5

Building a Database-Driven Navigation Report This report is used to navigate between pages by using links defined against values in the database. 1. Create a report based on a column. 2. Create a link to page and pass ID value. 3-6

Building a Site Map A site map is used to navigate between pages by page title. 1. Create a page group with the pages you want to appear in the site map. 2. From Activity, create SQL from the APEX_APPLICATION_PAGES view. 3. Create a report that shows the page name. 4. Create a link from the item to #PAGE_ID#. 5. Modify the report to use the desired templates. 3-7

Adding a Navigation Bar Entry To access the site map, create a navigation bar entry: 1. From Shared Components, select Navigation Bar Entry. 2. Click Create. 3. Select From Scratch and click Next. 4. Select Navigation to URL and click Next. 5. Enter Site Map for Entry Label click Next. 6. Select the site map page from the Page drop-down list and click Next. 7. Click Create. 3-8

Enforcing Authorization on Your Site Map Showing an entry on the site map based on authorization requires the following: 1. Create a function that checks for authorization. 2. Update the SQL query on the report to check whether the function is true. Administrator Developer 3-9

3-10 Adding a Dashboard Page A dashboard page provides a dynamic overview of your application.

3-11 Linking Interactive Report Regions Provide a declarative filter where value is Passed from one interactive report region to another.

3-12 Managing Feedback

3-13 Synchronizing Beta and Development Feedback Test (beta) System Development System Export/Import Feedback Export/Import Feedback Response ora01 ora02

Building Custom Tabular Forms

Objectives After completing this lesson, you should be able to: Build a custom tabular form Add validations to your tabular form Manage changes to the tabular form by using collections 4-2

4-3 What Is a Tabular Form? A tabular form allows users to update multiple rows in a table concurrently from a single page. Declarative Manual

Building a Tabular Form Manually Build a SQL report. Create an Update button. Add a process to perform the update. 4-4

4-5 SQL Report Query Uses the APEX_ITEM API to create a query. SELECT apex_item.hidden(1,employee_id) apex_item.display_and_save(2,last_name) last_name, apex_item.text(3,email,8) email, apex_item.date_popup(4,null,hire_date,'dd-mon-yyyy',10,null,null, lpad(to_char(rownum),4,'0')) hiredate, apex_item.select_list_from_query(5,job_id,'select distinct job_id, job_id from oehr_employees',10) job, apex_item.text(6,salary,6) salary, apex_item.text(7,commission_pct,6) commission, apex_item.popupkey_from_query(8,manager_id,'select last_name, employee_id from oehr_employees',10) manager, apex_item.select_list_from_query(10,department_id,'select department_name, department_id from oehr_departments',10) dname FROM oehr_employees

4-7 PL/SQL Process: Using the APEX_APPLICATION API Create a PL/SQL process with the following code: for i in 1..apex_application.g_f01.count loop update oehr_employees set email = apex_application.g_f03(i), hire_date = apex_application.g_f04(i), job_id = apex_application.g_f05(i), salary = apex_application.g_f06(i), commission_pct = apex_application.g_f07(i), manager_id = replace(apex_application.g_f08(i),'%' 'null%',null), department_id = replace(apex_application.g_f10(i),'%' 'null%',null) where employee_id = apex_application.g_f01(i); end loop;

4-8 Not Null PL/SQL Validation Ensures that valid values are entered before the data is updated in the database After the error message is displayed, click Back in your browser to return to the tabular form.

4-9 Adding a Not Null PL/SQL Validation Page-level PL/SQL validation with Function Returning Error Text on the Error page FOR i IN 1..apex_application.g_f01.count LOOP IF apex_application.g_f01(i) IS NOT NULL THEN IF apex_application.g_f03(i) IS NULL THEN RETURN 'Email must have some value.'; END IF; IF apex_application.g_f04(i) IS NULL THEN RETURN 'Hire Date must have some value.'; END IF; IF apex_application.g_f06(i) IS NULL THEN RETURN 'Salary must have some value.'; END IF; END IF; END LOOP;

Creating and Using a Collection on a Tabular Form 1. Create a process to load the collection. 2. Create a query against the collection. 3. Modify the report attributes. 4. Create a button and process to add a row to the collection. 5. Create a process to update the collection. 6. Create a button and process to delete a row from the collection. 7. Update the database from the collection. 8. Change the validation to use the collection. 4-10

Defining Client-Side Behaviors

Objectives After completing this lesson, you should be able to: Describe dynamic actions Explain the two types of dynamic actions: standard and advanced Create advanced dynamic actions to define complex clientside behavior such as the following: Changing the class when an item is null Disabling a button when an item is null Highlighting an item when the value of another item changes Setting the value of an item when another item changes Deleting and re-creating a row in a report 5-2

Dynamic Actions Use dynamic actions to define complex client-side behavior declaratively. Two types of dynamic actions: Standard Advanced Example of using a standard dynamic action Example of using an advanced dynamic action 5-3

Creating and Using Advanced Dynamic Actions: Examples This lesson covers the following examples of creating and using advanced dynamic actions in Application Express. Changing the class when an item is null Disabling a button when an item is null Highlighting an item when the value of another item changes Setting the value of an item when another item changes Deleting and re-creating a row in a report 5-4

5-5 Changing the Class When an Item Is Null A red border is applied when a user leaves the Last Name field empty.

5-6 Disabling a Button When an Item Is Null Last Name and Salary are not null and Apply Changes button is enabled. Last Name is null and Apply Changes button is disabled. Salary is null and Apply Changes button is disabled.

5-7 Highlighting an Item When the Value of Another Item Changes Austin Selecting a department id refreshes the manager id select list. The Manager Id field is highlighted when refreshed.

5-8 Setting the Value of an Item When Another Item Changes Job Id changes the commission percentage. Salary changes the commission percentage.

5-9 Deleting and Re-Creating a Row in a Report The first row is deleted. To re-create, click Recreate Employees.

5-10 Refreshing the Data in a Report Using Custom Filters Filtering the report based on department Filtering the report based on department and job