Академический Документы
Профессиональный Документы
Культура Документы
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has Express:
Oracle Application
)
om Web
ideApplications
Developing
c
u
cle ent G
a
r
oActivitytuGuide
d Volume II
@
i
e is S
b
a
b e th
a
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
D56782GC30
Edition 3.0
December 2011
D75249
Copyright December, 2011, Oracle and/or its affiliates. All rights reserved.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Disclaimer
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.
Except where your use constitutes "fair use" under copyright law, you may not use, share, 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.
The information contained in this document is subject to change without notice. If you find any problems in the document, please
report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not
warranted to be error-free.
Restricted Rights Notice
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 applicable:
U.S. GOVERNMENT RIGHTS
The U.S. Governments rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted
by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract.
Trademark Notice
n
a
r
t
n-
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective
owners.
no
a
Authors
has
)
Dimpi Sarmah, Salome Clement
om uide
c
cle ent G
Technical Contributors and Reviewers
a
r
o tudChristina Cho, Christopher Wensley,
Anthony Rayner, Bryan Roberts, Chaitanya
@Koratamaddi,
i
S
e
b
s
i
Drue Baker, Ganesh Pitchaiah, Hailing
Huang,
Hilary
Farrell, Iloon Ellen, Jason Straub, Jeana
h
t
b
a
e
Paul Fillon, Joel Kallman, Linda
s Greenberg, Madhavi Siddireddy, Maria Billings,
a Ross,uNancy
c
n
o
t Patrick Wolf, Sharon Kennedy, Terri Jennings, Yi Lu,
Matthew Gregory, Michael
ia Hichwa,
b
e
(
s
Wayne Abbottei
en
b
c
i
a
l
b
A
a
ncThis book was published using: Oracle Tutor
Bia
le
b
fera
Table of Contents
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
n
a
r
t
n-
no
a
Practices for Lesson 4: Building a Database Application........................................................................
4-1
s
a
h
Practice 4-1: Creating Applications ..........................................................................................................
4-2
) de
m
Practice Solution 4-1: Creating Applications .............................................................................................
4-3
o
c Gui
e
l
Practices for Lesson 5: Creating Reports ................................................................................................
5-1
c ent
a
r
Practices for Lesson 5.............................................................................................................................
5-2
o tud
@
i
Practice 5-1: Building and Manipulating an Interactive
Report
...................................................................
5-3
S
e .......................................................................................
b
s
i
a
Practice 5-2: Customizing an Interactive
Report
5-5
h
t
b.....................................................................................................
a
e
Bi
Practices for Lesson 7: Working with Pages and Regions ...................................................................... 7-1
Practices for Lesson 7............................................................................................................................. 7-2
Practice 7-1: Working with Pages and Regions ........................................................................................ 7-3
Practice Solution 7-1: Working with Pages and Regions ........................................................................... 7-5
Practices for Lesson 8: Understanding Session State and Debugging................................................... 8-1
Practices for Lesson 8............................................................................................................................. 8-2
Practice 8-1: Understanding Session State .............................................................................................. 8-3
Practice 8-2: Debugging Your Application ................................................................................................ 8-4
Practice Solution 8-1: Understanding Session State ................................................................................. 8-5
Practice Solution 8-2: Debugging Your Application ................................................................................... 8-20
Copyright 2011, Oracle and/or its affiliates. All rights reserved.
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Practices for Lesson 12: Adding Shared Components That Aid Navigation ........................................... 12-1
Practices for Lesson 12 ........................................................................................................................... 12-2
Practice 12-1: Creating Lists and List Regions ......................................................................................... 12-3
Practice 12-2: Creating and Editing Standard Tabs .................................................................................. 12-4
Practice 12-3: Managing Help Text in Your Application............................................................................. 12-5
Practice 12-4: Adding Navigation Bar Entries ........................................................................................... 12-6
Practice 12-5: Adding Breadcrumbs and Tabs to an Existing Page ........................................................... 12-7
Practice Solution 12-1: Creating Lists and List Regions ............................................................................ 12-8
Practice Solution 12-2: Creating and Editing Standard Tabs ..................................................................... 12-16
Practice Solution 12-3: Managing Help Text in Your Application ............................................................... 12-24
Practice Solution 12-4: Adding Navigation Bar Entries .............................................................................. 12-30
Practice Solution 12-5: Adding Breadcrumbs and Tabs to an Existing Page .............................................. 12-38
Bi
Practices for Lesson 14: Working with Themes, Templates, and Files ................................................... 14-1
Practices for Lesson 14 ........................................................................................................................... 14-2
Practice 14-1: Working with Themes, Templates, and Files ...................................................................... 14-3
Practice Solution 14-1: Working with Themes, Templates, and Files ......................................................... 14-5
Practices for Lesson 15: Administering Oracle Application Express Workspaces................................. 15-1
Practices for Lesson 15 ........................................................................................................................... 15-2
Copyright 2011, Oracle and/or its affiliates. All rights reserved.
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
n
a
r
t
n-
no
a
Practices for Lesson 19: Manipulating and Administrating a Websheet Application..............................
19-1
s
a
h
Practices for Lesson 19 ...........................................................................................................................
19-2
)
e
m
Practice 19-1: Adding and Manipulating Sections on a Page ....................................................................
19-3
co t Guid
e
Practice 19-2: Interacting with the Database ............................................................................................
19-4
l
c en
a
Practice 19-3: Sharing Websheets Between Users ...................................................................................
19-5
r
o
d
u
t
Practice Solution 19-1: Adding and Manipulatingi@
Sections on a Page ....................................................... 19-6
S
e
b
s
i
Practice Solution 19-2: Interacting with the
Database
...............................................................................
19-16
a
h
t
b
a
Practice Solution 19-3: Sharing Websheets
Between
Users
.....................................................................
19-26
e
s
a
u
c
n andtoMaintaining the Application Development Process ................. 20-1
Practices for Lesson 20: a
Managing
i
b
( 20...........................................................................................................................
Practices for Lesson
20-2
se
i
n
e
e
b
Practice a
20-1:
Adding lFeatures
and
Milestones
to
Your
Development
Project
...........................................
20-3
c
i
b20-2: Adding and
Practice
Monitoring Feedback in Your Application ......................................................... 20-5
A
a
c
an Practice Solution 20-1: Adding Milestones and Features to Your Development Project .............................. 20-6
Bi
Practice Solution 20-2: Adding and Monitoring Feedback in Your Application ............................................ 20-21
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Bi
le
a
c
n
a
A
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
n
a
r
t
nb
fera
Preface
Profile
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Before you begin this course, you should be able to <insert information specific to this course>
How This Course Is Organized
This is an instructor-led course featuring lectures and hands-on exercises. Online
demonstrations and written practice sessions reinforce the concepts and skills introduced.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Related Publications
Oracle Publications
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Title
Additional Publications
System release bulletins
Installation and users guides
Read-me files
International Oracle Users Group (IOUG) articles
Oracle Magazine
a
c
n
a
Part Number
le
Bi
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
as
hLesson
Practices for
10:
)
e
m
Including
uidProcessing
co Page
e
G
l
c ent
a
r
Chapter
o tu10d
@
i
e is S
b
a
b e th
a
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
There is one practice for this lesson. In this practice, you examine how computations,
processes, and validations work.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you make the following changes to the Customer Details page in the Order
Management application:
Create a computation that changes the email address to uppercase after the page is
submitted.
Add a Phone Number item and create a process that populates the items value when
the page is rendered.
Change the sequence of processes and add a process to insert a record into the
oehr_audits table every time a customer is added.
Create an Item String Comparison validation to make sure that there are no spaces in
the Email value.
Examine the implied validation for required items.
n
a
r
t
n-
no
a
You have performed the previous practices or imported both the LAB03_SOLN.SQL
and
s
a
h
LAB093_ORDER_MGMT_SOLN.SQL packaged applications.
) de
m
o
c t Gui
e
Tasks
l
c en
a
r
a. Create an After Submit PL/SQL Expression
computation
on the P<n>_CUST_EMAIL
d
u
t
@obe: upper(:P<n>_CUST_EMAIL).
i
item. The PL/SQL expression e
should
Test the
S
b
s
i
page to see that the email
tishstored as uppercase.
baaddress
a
e
ca to us
n
a
b. Add a Display
Only
item
called P<n>_PHONE_NUMBER. Create a Before Region
i
b
e
(
s
process
n phone number into the item that you just created. The code that
ei to load
ethe
b
c
you
want tolispecify
in the process is as follows (located in
a
b/home/oracle/labs/files/lab10-1.txt):
A
a
c
n
for c1 in (
a
Assumptions
Bi
d.
Add an After Submit PL/SQL process called audit insert with the sequence number 10
and that has the following PL/SQL code (located in
/home/oracle/labs/files/lab10-2.txt). Set the success message to You
Copyright 2011, Oracle and/or its affiliates. All rights reserved.
le
b
fera
have been audited. Make sure that the Get PK process is sequenced to run before
this new process.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
f.
Remove the First Name value from the page and click Apply Changes. Note the
implied validation. Why is the error message shown if there is no validation on the
page?
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you make the following changes to the Customer Details page in the Order
Management application:
Create a computation that changes the email address to uppercase after the page is
submitted.
Add a Phone Number item and create a process that populates the items value when
the page is rendered.
Change the sequence of processes and add a process to insert a record into the
oehr_audits table every time a customer is added.
Create an Item String Comparison validation to make sure that there are no spaces in
the Email value.
Examine the implied validation for required items.
n
a
r
t
n-
no
a
a. Create an After Submit PL/SQL Expression computation on the
s P<n>_CUST_EMAIL
a
h
item. The PL/SQL expression should be: upper(:P<n>_CUST_EMAIL).
Test the
) de
m
page to see that the email address is stored as uppercase.
o
i
u and select the Customer
echome
G
l
1) Navigate to the Order Management application
page
t
c
ra den
Details page.
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
aA
Tasks
n
Bia
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
Under Page Processing, expand After Submit, right-click Computations, and select
Create.
le
b
fera
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
icItem, select P<n>_CUST_EMAIL; for Computation Type, select PLSQL
a Compute
l
b
4)
For
a A Expression; and click Next >.
3)
n
Bia
n
a
r
t
n-
Ensure that the Item on This Page option is selected. Click Next >.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
6)
le
b
fera
n
a
r
t
n-
n
Bia
no
a
has
)
7) You need to edit a record. Click Cancel to return to
the Customer
om
ide Report.
c
u
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
9)
Notice that the email is currently in uppercase and lowercase letters. Click Apply
Changes to invoke the computation.
le
b
fera
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
A
a
c
an 10) The Customer Report is displayed. Scroll to the right to see the Email column. Notice
that the email for the record (highlighted in red as follows) that you just applied is now
in uppercase letters.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
b.
Add a Display Only item called P<n>_PHONE_NUMBER. Create a Before Region process to
load the phone number into the item that you just created. The code that you want to
specify in the process is as follows (located in /home/oracle/labs/scripts/lab101.txt):
for c1 in (
select phone_number from oehr_customers where customer_id =
:P<N>_CUSTOMER_ID
)
loop
:P<N>_PHONE_NUMBER := c1.phone_number;
end loop;
1)
You want to make some more modifications to the Customer Details page. Click the
Edit icon for one of the customer records.
n
a
r
t
n-
n
Bia
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i (Edit Page
2) Clickethe
nslink on the Developer toolbar.
e
b
c
li
ba
A
a
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
You want to create a page item for Phone Number. Right-click Items and select
Create Page Item.
le
b
fera
n
a
r
t
n-
n
Bia
n
a
as
h
)
4) Select Display Only for the item type and click Nextm
>.
e
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
aA
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
6)
le
b
fera
n
a
r
t
n-
n
Bia
n
a
has
)
om uide
c
cle ent G
a
r
7) Accept the defaults and click Next
@>.o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
Select Database Column for Source Type. Notice that PHONE_NUMBER appears
automatically in the Database Column Name field. Click Create Item.
le
b
fera
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
9)
n
a
r
t
n-
You want to create an On Load process that is executed Before Regions. This process
retrieves PHONE_NUMBER for display only. Under Page Rendering, expand Before
Regions, right-click Processes, and select Create.
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
10) Make sure that PL/SQL is selected and click Next >.
le
b
fera
n
a
r
t
n-
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
e and click Next >. Note that On Load Before
a phone
s
a
u
c
11) For Name, enter
display
to for Point.
ianbesselected
Regions(should
b
e
ei licen
b
a
b
aA
12) Enter the following code in the Enter PL/SQL Page Process text box (located in
/home/oracle/labs/files/lab10-1.txt) and click Create Process.
for c1 in (
select phone_number from oehr_customers where customer_id =
:P<N>_CUSTOMER_ID
)
loop
:P<N>_PHONE_NUMBER := c1.phone_number;
end loop;
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
n
Bia
no
a
s
hathat
)
14) Notice that the phone number is displayed for the customer
selected. Click the
eyou
m
d
o
i
Edit Page link on the Developer toolbar.
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
aA
c.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
You want to create an After Submit process on the Customer Details page. Whenever
a new customer is added to the OEHR_CUSTOMERS table by using the form, the details
of the user who created the new customer are stored in the Audit table. Under Page
Processing, in the Processes region, right-click Process Row of OEHR_CUSTOMERS
and select Edit.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
s that is displayed at the top of the page, click Source: Automatic
2) From the
i ( list ofetabs
n(DML).
e
b
Row
Processing
c
a
li
Ab
3)
Because you want to use the value of CUSTOMER_ID in another process, you want to
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
put the value into the P<n>_CUSTOMER_ID item on your page. Click the
right of the Return Key Into Item field.
icon to the
le
b
fera
n
a
r
t
n-
n
Bia
no
a
has
)
e
om to the
idP<n>_CUSTOMER_ID
4) In the list that is displayed, click the link corresponding
c
u
e nt G
item on your Customer Details page. acl
r
o tude
@
i
e is S
b
a
b e th
a
ca to us
n
a
bi nse
(
i
abe lice
b
aA
5)
To change the message that is displayed when a new customer is successfully added
to the table, click the Messages tab.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
Replace the process success message with Customer Added and click Apply
Changes.
le
7)
n
a
r
t
n-
You want the page reset to be performed before the Process Row process. Because
there is no condition on the processes, you must sequence them accordingly. Under
Page Processing, in the Processes region, right-click the reset page link and select
Edit.
a
c
n
a
b
fera
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
9)
In the Process Point region, for Sequence, enter 20 and click Apply Changes.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
d.
Add an After Submit PL/SQL process called audit insert with the sequence number 10 and
that has the following PL/SQL code (located in /home/oracle/labs/files/lab102.txt). Set the success message to You have been audited. Make sure that the Get PK
process is sequenced to run before this new process.
INSERT INTO oehr_audits VALUES(:P<n>_CUSTOMER_ID,
:APP_USER, sysdate);
1)
To create a new page process, under Page Processing, in the Processes region, rightclick Processes and select Create.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
le
b
fera
n
a
r
t
n-
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
e Change the value of Sequence to 10 and click Next.
a insert.
s
a
u
c
3) For Name, enter
audit
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
4)
In the Enter PL/SQL Page Process text area, enter the following code (located in
/home/oracle/labs/files/lab10-2.txt) and click Next >. Be sure to change
P<n> to your Customer Details page number.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
5)
n
a
r
t
n-
For Success Message, enter You have been audited. For Failure Message, enter
Error. Click Next >.
A
6)
For When Button Pressed, select CREATE from the drop-down list and click Create
Process.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
To verify that the processes are working, navigate to the Customers page by entering
2 for Page and clicking Go.
8)
le
9)
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Item
Value
First Name
Amit
Last Name
Paul
Amit.paul@oracle.com
Account Manager
John Russell
Country
City
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
11) Notice the success messages for the audit and processing of the new customer. You
want to review what is in the OEHR_AUDITS table. Click the Home link on the
Developer toolbar.
le
b
fera
n
a
r
t
n-
n
Bia
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b Commands.
is
a
h
12) Click SQL Workshop >bSQL
t
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
13) In the text area, enter the following and click Run.
SELECT * FROM oehr_audits;
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
14) Note that the details have been added to the OEHR_AUDITS table.
e.
You want to add a validation to the Customer Details page in your application. Click
Application Builder > Database Applications.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
2) You can navigate to your
Customer
Details page in the Order Management
a you scan
e
a
application. Alternatively,
enter
the <application id>:<page number> in the
u
nc tosearch
search fieldia
and click the
button.
(b nse
i
e
ice
ab
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
le
b
fera
n
a
r
t
n-
n
Bia
n
a
as
h
)
4) Make sure that Page Item is selected and click Next
>.
e
m
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
aA
5)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
7)
Select String Comparison for validation method and click Next >.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
Select Item / Column specified contains no spaces for type and click Next >.
le
b
fera
n
a
r
t
n-
n
Bia
no
a
has and click Next >.
9) Enter Email must not contain any spaces for Error
Message
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
10) You want this validation to fire only when the item is not null. Select Value of Item /
Column in Expression 1 is NOT NULL for Condition Type and enter
P<n>_CUST_EMAIL for Expression 1. Click Create Validation. Be sure to replace the
<n> in P<n>_CUST_EMAIL with the current page number.
le
b
fera
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
12) You want to edit a record.
eCancel to return to the Customer Report so that you
a Click
s
a
u
c
can edit a record.
This
step
is
not
required if the form is already filled.
n
o
t
a
i
(b nse
i
e
ice
ab
l
b
A
11) To see how the validation works, run the page. Click the Run icon.
a
c
n
Bia
n
a
r
t
n-
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
15) Notice that you receive an error message inline and also at the top of the page.
f.
Remove the First Name value from the page and click Apply Changes. Note the implied
validation. Why is the error message shown if there is no validation on the page?
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
Notice that items such as First Name and Last Name have an * next to their labels.
This means that the items must have a value. Remove the space in the email, delete
what is contained in the First Name field, and click Apply Changes.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
e mustntenter
G a value. This is an implied
2) Notice that you receive an error stating that
clyou
a
r
o to explicitly
validation, meaning that you do not have
de define a Not Null validation on
u
t
@
i
fields that are not-null columns.
Sto look at the definition for this item. Click the
e You want
b
s
i
a
Edit Page link on the Developer
toolbar.
h
ab se t
a
nc to u
a
i
(b nse
i
e
ice
ab
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
le
b
fera
n
a
r
t
n-
n
Bia
no
a
4) Click the Settings tab.
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
( the Value
5) Noticeithat
item is set to Yes. You can, alternatively, set this item
nasNotRequired
e
e
b
c
to
No
and
create
Null
validation
on this item. Doing it this way will allow you to
i
a
l
b
a A specify the error message to be displayed.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
as
hLesson
Practices for
11:
)
e
m
o
Using
uid and Page
cApplication
e
G
l
c ent
a
Utilities
r
tu11d
@oChapter
i
S
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
There are two practices for this lesson. In these practices, you will examine some of the
application utilities available in Oracle Application Express.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB101_ORDER_MGMT_SOLN.SQL packaged applications.
Tasks
n
Bia
a.
Run the Advisor and correct the warning on the Products page by specifying a sort
order.
b.
c.
Run the Advisor and correct the warning on the P<n>_CUST_EMAIL item by defining
help text.
le
b
fera
n
a
r
t
n-
no
a
hanyasmore errors or warnings.
d. Change the settings in the Advisor so that you do not get
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you update the attribute dictionary based on the items and report columns on
your page.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB111_ORDER_MGMT_SOLN.SQL packaged applications.
Tasks
a.
Change the widths of items on the Customer Details page of the Order Management
application to the following.
Item
Attribute
P<n>_CUST_FIRST_NAME
Width
18
P<n>_CUST_LAST_NAME
Width
18
P<n>_CUST_EMAIL
Width
18
n
a
r
t
n-
no
a
has
)
m uDictionary.
oAttribute
ide
b. Add the items on the Customer Details page tothe
c
cle ent G
a
r
o Change
c. Review the UI defaults in SQL Workshop.
ud the help text for
t
@
i
S
e
CUST_FIRST_NAME to Customer
b First
isName and add a Synonym called
a
h
t
b
FIRST_NAME.
a use
a
c
n
o
t
a
i
b
e
d. Make sure
that
OEHR_CUSTOMERS
is not in the Table Dictionary.
(
s
i
n
e
e
ic
ab
l
b
A Update the Attribute Dictionary for the items on the Customer Detail page.
e.
a
c
n
Bia
f.
g.
Update the Customers page to use the Attribute Dictionary defaults. Verify by showing
the help text for the First Name column in the report.
Create a new forms page based on the OEHR_CUSTOMERS table. Make sure that UI
Defaults is enabled. Run the page to see that the attribute dictionary is used.
le
b
fera
Value
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you run the advisor and correct some of the warnings that appear.
Tasks
a.
Run the Advisor and correct the warning on the Products page by specifying a sort
order.
1)
Navigate to the Order Management application home page and select Utilities.
le
b
fera
n
a
r
t
n-
n
Bia
n
a
as
h
)
2) Click Advisor.
e
m
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
aA
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
4) The list of violations
In the Filter Result area, you see the number of
n appears.
o
t
a
i
violations
(bbythecategory.
se You want to fix the warning on the Products page. Scroll down
i
n
e
and
locate
warning.
e
ic
ab
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
le
b
fera
n
a
r
t
n-
n
Bia
n
a
has
)
om uide
6) Click the Report Attributes tab.
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
7)
You want to sort by Product Name. Select 1 for Sort Sequence for PRODUCT_NAME
and click Apply Changes.
b.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
You can run the Advisor again just for the current page. Click Utilities and select
Check.
le
b
fera
n
a
r
t
n-
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
2) Notice that you do not
any
violations for this page. To run the Advisor
eclickmore
areceive
s
a
u
c
again for the entire
application,
the
Application
Utilities icon in the upper-right
n
o
t
a
i
corner of b
the
window.
(
se
i
n
e
e
ic
ab
l
b
aA
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3) Click Advisor.
le
4)
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
c.
Run the Advisor and correct the warning on the P<n>_CUST_EMAIL item by defining help
text.
1)
Scroll to the result that pertains to P<n>_CUST_EMAIL. Select the View link to go
directly to the page item definition.
2)
le
b
fera
n
a
r
t
n-
n
Bia
n
a
has
)
om uide
c
G
le ApplyntChanges.
cclick
3) Enter Customer Email for Help Text and
a
r
o tude
@
i
e is S
b
a
b e th
a
ca to us
n
a
bi nse
(
i
abe lice
b
aA
d.
Change the settings in the Advisor so that you do not get any more errors or warnings.
1)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
Click Advisor.
3)
You can change the checks that the Advisor performs. Deselect References with
Substitution Syntax, Report has Default Order, and Page Item has Help Text, and
click Perform Check.
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
4)
Notice that you do not receive any errors or warnings on any of the checks that were
still selected.
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Tasks
a.
Change the widths of items on the Customer Details page of the Order Management
application to the following.
Item
Attribute
Value
P<n>_CUST_FIRST_NAME
Width
24
P<n>_CUST_LAST_NAME
Width
24
P<n>_CUST_EMAIL
Width
24
le
1)
n
a
r
t
n-
Navigate to the Order Management application home page and select the Customer
Details page.
a
c
n
a
b
fera
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
le
b
fera
n
a
r
t
n-
a
c
n
Bia
n
a
3) Change the following attributes and click Apply Changes. as
) h de
Item
Attribute
m
o
i
c
u
e
G
l
P<n>_CUST_FIRST_NAME
Width c
18
t
n
a
r
e
o tud
P<n>_CUST_LAST_NAME @
Width
18
i
S
e
is
P<n>_CUST_EMAIL ab
Width
18
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
A
Value
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
You want to make additional changes to the P<n>_ACCOUNT_MGR_ID item. Click the
Edit icon for the row.
5)
Select the Help Text tab if it is not already selected. Enter Person assigned to
account in the Help Text area and click Apply Changes.
le
b
fera
n
a
r
t
n-
n
Bia
no
a
has
)
om uide
c
le nt G
c
a
r
6) Run the page to see the changes that
oyou made.
deClick the Run Page icon.
u
t
@
i
e is S
b
a
b e th
a
ca to us
n
a
bi nse
(
i
abe lice
b
aA
7) Select the Account Manager label to see the help text. Note that the values may be
blank.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
The help text is displayed. Now you can add the items to the Attribute Dictionary. Click
the Application <n> link in the Developer toolbar.
le
b
fera
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
o tud
@page
i
b. Add the items on the Customer Details
toSthe Attribute Dictionary.
e
b
s
i
ba e th
a
1) Click Utilities. ca
us
n
o
t
a
bi nse
(
i
abe lice
b
A
a
c
an
Bi
2)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
le
b
fera
n
a
r
t
n-
n
Bia
no
a
4) You need to review the items that you want to add to the attribute
s dictionary. Select the
a
Review <n> items for insert into the Attribute Dictionary
link.
h
) de
m
o
c t Gui
e
l
c en
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
Notice the items that you have on the page and the changes that you made previously.
Select the check box in the header to the left of the Region header to select all the
entries in the list, and click Update Attribute Dictionary.
le
b
fera
n
a
r
t
n-
c.
a
c
n
Bia
no
a
has
)
om uide
c
G for CUST_FIRST_NAME to
t text
cletheehelp
Review the UI defaults in SQL Workshop. Change
n
a
r
Customer First Name and add a synonymocalled tFIRST_NAME.
@ S ud
i
e
b this
a
b
1) To view and make changes
e items in the Attribute Dictionary, select SQL
a utosthe
a
c
Workshop > User
Interface
Defaults.
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
3)
You see the attributes that you added to the dictionary. You can modify them here.
Click the Edit icon for the CUST_FIRST_NAME column.
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
b4)a Changelicthe help text to Customer First Name and click Apply Changes.
Bi
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
le
b
fera
n
a
r
t
n-
n
Bia
n
a
has
)
om uide
c
G
le TablentDictionary.
d. Make sure that OEHR_CUSTOMERS is not incthe
a
r
o tude
@
i
etab. is S
1) Click the Table Dictionary
b
a
b e th
a
ca to us
n
a
bi nse
(
i
abe lice
b
aA
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
3)
The Table Dictionary will override the Attribute Dictionary. Because you have
changed the attributes for some columns in the Attribute Dictionary, you want to
remove the table from the Table Dictionary. Under Tasks, click the Remove from
Table Dictionary link.
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
4) Click Remove Defaults.
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
s Select Application Builder > Database Application.
i (table isenremoved.
5) The
e
b
c
li
ba
Bi
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
e.
Update the Attribute Dictionary for the items on the Customer Detail page.
1)
Click Utilities.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
2) Click Attribute Dictionary.
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
b3)a Click theliclink for the Customer Details page.
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
Notice that you have one item to review for update to the Attribute Dictionary. Click
the Review 1 Items for update of the Attribute Dictionary link.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
o tud is the one that you want, rather
5) Notice that the column in the attribute
i@YouswillSdictionary
than the help text for thebitem.
leave it as is.
e
i
a
h
ab se t
a
nc to u
a
i
(b nse
i
e
lice
bab
Bi
6)
You also want to apply the attributes from the dictionary to your report page. In the
search area, enter <your Order Management application id>:2 (for the
Customers page) and click the magnifying glasses.
f.
Update the Customers page to use the Attribute Dictionary defaults. Verify by showing
the help text for the First Name column in the report.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
Notice that page 2 in your application is displayed. Click Utilities and select
Attribute Dictionary.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
le nt G
racyoudwant
2) Because you want to update theo
page,
e to review the columns for update.
u
t
Click the Review <n> Report
Columns
for
update
link.
i@ s S
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
Review the list. Select the check box in front of the CUST_FIRST_NAME item and
click Update Report Columns.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
mRunuPage
4) You can run the page to see the results. Click
othe
ideicon.
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
( the help
stext, select the First Name header in the report and click the
5) Toi see
nicon.
e
e
b
c
Information
li
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
g.
6)
7)
You can also create a new page and use the UI defaults from the Attribute
Dictionary. Click the Application link in the Developer toolbar.
Create a new forms page based on the OEHR_CUSTOMERS table. Make sure that UI
Defaults is enabled. Run the page to see that the Attribute Dictionary is used.
1)
le
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
2) Select Form and click Next
b >. this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
s
haNext
4) Select OEHR_CUSTOMERS for the Table Name and )click
e>.
m
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
i
bMaintain
e
(
sCustomers
i
5) Enter
for Page Name and Region Title. Notice that Use User
n
e
e
b
c
i
Interface
Defaults is set to Yes. Click Next >.
a
l
b
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
7)
Select Select Primary Key Column(s) for Primary Key Type and click Next >.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
9)
le
b
fera
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
11) Enter your new page number for both branches and click Next >.
n
a
r
t
n-
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
13) Click Run Page.
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
14) Notice that the labels are the same as from the Attribute Dictionary. Select the
Account Manager label to see the help text.
le
b
fera
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
15) The help text from the Attribute Dictionary is displayed.
Bi
n
a
r
t
n-
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
as
hLesson
Practices for
12:
)
e
m
Adding
uidComponents
coShared
e
G
l
t
c AidenNavigation
a
That
r
tu12d
@oChapter
i
S
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 1
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
There are five practices for this lesson. You create a list and list region, create and edit tabs,
manage help text, add a navigation bar entry, and add a breadcrumb.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 2
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Create a list of links that aid navigation. Using these links, a user will be able to navigate to the
Customers, Products, and Orders pages.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB112_ORDER_MGMT_SOLN.SQL packaged applications.
Tasks
a.
In the Order Management application, create a list called Home Page List with the
following list entries:
View Customers (linked to the Customers page)
View Products (linked to the Products page)
View Orders (linked to the Orders page)
n
a
r
t
n-
n
Bia
no
a
b. Create a list region called Tasks in the Home region.
has page.
c. Create a Dynamic List showing all the Products on the )
Products
e Create the List
m
d
Region on the Products page using the same Create
List
wizard.
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
aA
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 3
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create tabs for the application and assign pages to the tabs. You also
create a Help page and a Help tab to add to the existing tab set.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB121_ORDER_MGMT_SOLN.SQL packaged applications.
Tasks
a.
b.
n
Bia
Create a tab called Customers for the Order Management Application. It should be the
current tab for the Customers page. Sequence the Customers tab before the Products
tab.
n
a
r
t
n-
Assign the Customer Details page to the Customers tab. Run the application and
confirm that the tab is created successfully.
no
a
c. Create a page called Help, and then add a new tab calledhHelp,
as to the existing tab set.
)
The new Help tab will link to the new Help page.
e
m
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
aA
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 4
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you create a help text region on the Help page. Add help text to a page, seed
the help text for all items (and set default item help text) within your application, and show how
the item-level help text works.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB122_ORDER_MGMT_SOLN.SQL packaged applications.
Tasks
a.
b.
n
a
r
t
n-
no
a
as default help text if
hfollowing
c. Seed all the item help text currently defined and enter the
)
e
m
d
no item help text is available (located in /home/oracle/labs/files/lab12o
i
ec nt Gu
2.txt):
l
c
ra Management
de
You are currently using theoOrder
application. Enter
u
t
@
i
S
a value for this item e
b this
a
b
a use
a
c
d. Run the page and
select
some of the labels on the Customer Details page to see the
n
o
t
help text.(bia
se
i
n
e
e
ic
ab
l
b
aA
This page provides information about customers.
n
Bia
le
b
fera
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 5
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you add a navigation bar entry that, when clicked, will show the page-level help.
You also modify the name of an existing navigation bar entry and add another navigation bar
entry that is displayed on all pages except the page that it navigates to.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB123_ORDER_MGMT_SOLN.SQL packaged applications.
Tasks
a.
b.
Create a navigation bar entry called Help that navigates to the Help page. Run the
page and click the Help navigation bar entry.
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
c.
a
c
n
a
n
a
r
t
n-
Change the name of the navigation bar entry for Logout to Sign Off.
Add a navigation bar entry called Home. Display the navigation bar entry on all pages
except the Home page.
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 6
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create a breadcrumb and add a tab set to an existing page.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB124_ORDER_MGMT_SOLN.SQL packaged applications and performed Practice 2-1.
Tasks
a.
a
c
n
a
Edit the existing breadcrumb for the Order Management application and create a
breadcrumb entry for the Customers page. Run the customers page. Is the
breadcrumb displayed on the page?
le
b
fera
b.
Create a breadcrumb region in the Customers page and run the page.
c.
On the Customer Details page, create a breadcrumb called Customer Details whose
parent entry is Customers (page 2).
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 7
n
a
r
t
n-
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Create a list of links that aid navigation. Using these links, a user will be able to navigate to the
Customers, Products, and Orders pages.
Tasks
a.
In the Order Management application, create a list called Home Page List with the
following list entries:
1)
n
Bia
3)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 8
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
2) Under the Navigation section, click Lists.
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
5)
For Name, enter Home Page List and click Next >.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
6) Enter View Customers in the first List Entry Label Field. Then,
the corresponding
has click
up button and select the Customers page for Target ID.) Similarly,
enter
View
e Then,
m
d
o
i
Products and View Orders in the second andthird
List
Entry
Label.
select the
c
u
e
G
l
Products and List of Orders pages respectively
t the up button. Click Next >.
c byeclicking
n
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
A
7)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 9
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
b.
le
b
fera
n
a
r
t
n-
n
Bia
n
a
has
)
om uide
c
le nt G
c
a
r
2) Select the List option, and click Nexto>.
de
u
t
@
i
e is S
b
a
b e th
a
ca to us
n
a
bi nse
(
i
abe lice
b
aA
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 10
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
le
4)
n
a
r
t
n-
From the List drop-down list, select Home Page List and click Create List Region.
n
Bia
n
a
has
)
om uide
c
cle ent G
a
r
o tud
@Run.
i
S
5) To view the list, run the page.
Click
e
b
s
i
a
h
ab se t
a
nc to u
a
i
(b nse
i
e
ice
ab
l
b
aA
6)
b
fera
The list is displayed. Click the Edit Page link in the Developer toolbar.
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 11
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
c.
Create a Dynamic List showing all the Products on the Products page. Create the List
Region on the Products page using the same Create List wizard.
1)
Navigate to the Products page and click the Shared Components icon.
2)
le
b
fera
n
a
r
t
n-
n
Bia
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
3) Click Create >.
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
4)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 12
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
Enter List of Products for Name, select Dynamic for Type, and click Next >.
6)
le
b
fera
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
o tud
i@or View
Sand click Next >.
7) Select OEHR_PRODUCTS forbTable
e
s
i
a
h
ab se t
a
nc to u
a
i
(b nse
i
e
ice
ab
l
b
A
a
c
n
8)
Bia
Select PRODUCT_NAME for Label Column and CATALOG_URL for Target Column.
Click Next >.
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 13
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
9)
Click Finish.
le
n
a
r
t
n-
a
c
n
a
b
fera
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 14
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
11) Select Create list region on current page for Create List Regions, and select Page
Template Region Position 3 for Region Position. Click Create.
le
b
fera
n
a
r
t
n-
n
Bia
no
a
12) Run the page by clicking the run page icon.
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
e the Application <n> link in the Developer toolbar.
a uClick
13) The Dynamic list isacreated.
s
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 15
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create tabs for the application and assign pages to the tabs. You also
create a Help page and a Help tab to add to the existing tab set.
Tasks
a.
Create a tab called Customers for the Order Management Application. It should be the
current tab for the Customers page. Sequence the Customers tab before the Products
tab.
1)
le
b
fera
n
a
r
t
n-
n
Bia
n
a
has
)
om uide
c
4)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 16
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
6)
For Tab Current for Page, click the up button and select the Customers page link. Click
Next >.
le
b
fera
n
Bia
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic and click Next >.
a theldefaults
b
8)
Accept
aA
7)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 17
n
a
r
t
n-
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
9)
le
b
fera
n
a
r
t
n-
b.
a
c
n
Bia
no
a
htheasapplication
Assign the Customer Details page to the Customers tab. Run
and confirm
)
e
m
that the tab is created successfully.
co t Guid
e
1) Click the Edit Standard Tabs tab.
l
c en
a
r
@o Stud
i
e
b this
a
b
a use
a
c
tonext to the Customers tab.
ianeditsicon
2) Click the(pencil
b
e
ei licen
b
a
Ab
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 18
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
Enter 7 (or the number for the Customer Details page) in the Tab Also Current for
Pages field under Current for Pages. Click Apply Changes.
le
b
fera
n
a
r
t
n-
n
Bia
n
a
has
)
om uide
c
cle ent G
a
r
4) Run the page. Click the Run Page icon.
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
5)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 19
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
The Customers page is displayed. Click the Application <n> link in the Developer
toolbar.
le
b
fera
n
a
r
t
n-
c.
a
c
n
Bia
no
a
has
)
omHelp,utoidthee existing tab set. The
c
Create a page called Help, and then add a new tabcalled
e nt G
new Help tab will link to the new Help page. acl
r
o tude
@
i
S the help information. Click Create
e that williscontain
1) You want to create a new page
b
a
h
Page >.
ab se t
a
nc to u
a
i
(b nse
i
e
ice
ab
l
b
A
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 20
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
A
3)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 21
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
5)
Select the Use an existing tab set and create a new tab within the existing tab set
option. Enter Help for New Tab Label and then click Next >.
le
b
fera
n
a
r
t
n-
n
Bia
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
6) Click Finish.
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 22
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
Run the page to see the new tab. Click Run Page.
8)
The tab is displayed. In the next practice, you add a region to the Help Page and add it
as a navigation bar entry. Click the Edit Page link in the Developer toolbar.
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 23
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you create a help text region on the Help page. Add help text to a page, seed
the help text for all items (and set the default item help text) within your application, and show
how the item-level help text works.
Tasks
a.
1)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 24
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
A
3)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 25
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
b.
4)
5)
Navigate to the page definition for the Customers page. Enter 2 for Page and click Go.
n
Bia
le
Change the help text for the Customers page to the following (located in
/home/oracle/labs/scripts/lab12-1.txt):
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 26
n
a
r
t
n-
n
a
1) Under Page Rendering, right-click Customers and selecthEdit.
as
)
e
m
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
aA
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
3)
Replace the Help Text text with This page provides information about customers.
and click Apply Changes.
n
a
r
t
n-
no
a
has
)
om uide
c
cle ent G
a
r
tud the following default help text if no
@o andSenter
i
c. Seed all the item help text currentlyedefined
b in /home/oracle/labs/scripts/lab12-2.txt):
is
a
item help text is available (located
h
t
b
eOrder Management application. Enter a
a the
s
a
You are currently
using u
c
nitem. to
a
value for this
i
b
(
se
i
n
e
e
c
abTo editlimultiple
b
1)
item help topics at the item level, click the Application Utilities
A icon in the upper-right
a
of the window.
c
an
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 27
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
le
3)
Bi
a
c
n
a
b
fera
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
4)
You want the help text listed to be the item help for the item. Click Seed Item Help
Text.
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 28
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
d.
If no Help Text is defined for an item, you want to define a default help text. In the
Default Help Text field, enter You are currently using the Order Management
application. Enter a value for this item. Click Apply Changes.
Run the page and select some of the labels on the Customer Details page to see the
help text.
1)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 29
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
le
b
fera
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
4)
n
a
r
t
n-
The help text is displayed. Click Close. Note: The default help text appears only if
the help text is not already specified for a particular item. Click the Application <n>
link in the Developer toolbar.
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 30
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you add a navigation bar entry that, when clicked, will show the page-level help.
You also modify the name of an existing navigation bar entry and add another navigation bar
entry that is displayed on all pages except the page that it navigates to.
Tasks
a.
Create a Navigation bar entry called Help that navigates to the help page. Run the
page and click the Help navigation bar entry.
1)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
2) Under Navigation, click Navigation
ud
tEntries.
@o Bar
i
S
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
3)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 31
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
Make sure that From Scratch is selected and click Next >.
5)
le
b
fera
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
eof the Page field and select the Help page link. In
ato the uright
s
7) Click the
icon
a
c
n &APP_PAGE_ID.
o
Request,
enter
(including the period) and click Next.
t
a
i
b
e
(
s
Note:
By
specifying
the
&APP_PAGE_ID.
bind variable as the request, you are
i
n
e
e
b
c
i the Oracle Application Express engine to display the help text for the
a instructing
Ab currentlpage when the user clicks the navigation bar entry link. Click Next >.
6)
a
c
n
Bia
n
a
r
t
n-
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 32
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
Click Create.
9)
le
b
fera
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic for the Customers page, click the Help link on the navigation bar.
a To seelhelp
b11)
10) Click Cancel to return to the Customers page.
a
c
n
a
n
a
r
t
n-
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 33
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
12) The page help text is displayed. You want to change the Logout navigation bar
entry. Click the Edit Page link in the Developer toolbar.
le
b
fera
n
a
r
t
n-
n
Bia
n
a
as
h
)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 34
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
In the Image Attributes region, change the Entry Label and Icon Image Alt text to
Sign Off and click Apply Changes.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
4) Click the Run icon. Note that the Logout link is now renamed
has Sign Off.
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
5) Notice
thesnavigation item name has changed. You now want to create
i ( that
n bar entry labeled Home that is not displayed on the Home
e
e
another
navigation
b
c
i
a
l
b page. Click the Edit Page link in the Developer toolbar.
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 35
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
c.
Add a navigation bar entry called Home. Display the navigation bar entry on all pages
except the Home page.
1)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
2) Click Create >.
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
e option is selected. Click Next >.
a Scratch
s
a
3) Ensure that
the
From
u
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
4)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 36
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
Enter 05 for the Sequence, and For Entry Label and Image ALT enter Home. Then
click Next >.
6)
Click the
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
7)
From the list of links below the Condition Type drop-down list, click [page not in].
In Expression 1, enter 1 and click Create.
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 37
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
9)
Note that the Home link is displayed at the top of the page. Click the Home tab.
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
no
a
has
)
om uide
c
le nt G
c
a
r
10) You see that the Home link is noolonger displayed
de in the Navigation bar list. Select
u
t
@
the Customers tab.
i
e is S
b
a
b e th
a
ca to us
n
a
bi nse
(
i
e lice
bab
11) Notice that the Home navigation bar entry is displayed again.
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 38
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create a breadcrumb and add a tab set to an existing page.
Tasks
a.
Edit the existing breadcrumb for the Order Management application and create a
breadcrumb entry for the Customers page. Run the customers page. Is the
breadcrumb displayed on the page?
1)
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
as
h
)
2) Click the Breadcrumbs link.
e
m
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
3)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 39
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
5)
Select the [2] quick link for Page under Breadcrumb tab. Select Home (Page 1) for
Parent Entry and enter Customers for Short Name under Entry. Enter 2 for Page
under Target and click Create.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
6)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 40
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
b.
Note that the breadcrumb you created is not reflected. This is because there is no
breadcrumb region in this page. Click the Edit Page link in the Developer toolbar.
Create a breadcrumb region in the Customers page and run the page.
1) Right-click Regions and select Create.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 41
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
3)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 42
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
5)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
as
h
)
6) Click Finish.
e
m
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
Bi
7)
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 43
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
Note that now the breadcrumb is seen. Click the edit icon next to any row in the
report.
le
b
fera
n
Bia
s
n
a
r
c. On the Customer Details page, create a breadcrumb called Customer Details
-t whose
n
o
parent entry is Customers (page 2).
n
a
has You want to add one
)
1) The Customer Details page does not have any breadcrumbs.
e the Edit Page link
om
i2.dClick
that has a parent entry to the Customers report
on page
c
u
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 44
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
3) Select Breadcrumb for type and click Next >.
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 45
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
5)
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
le nt G
6) Ensure that Customer Details isoentered
Entry Label, select
rac fordeBreadcrumb
u
Customers (2) for Parent Entry,
and
click
Next
>.
t
i@ s S
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
A
7)
Click Finish.
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 46
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
9)
Notice that the breadcrumb is now displayed. Click the Application <n> link in the
Developer toolbar.
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 47
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 12: Adding Shared Components That Aid Navigation
Chapter 12 - Page 48
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
as
hLesson
Practices for
13:
)
e
m
Displaying
Content
uid
co t Dynamic
e
G
l
c
ra 13den
Chapter
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
There are five practices for this lesson. In these practices, you examine how dynamic actions,
plug-ins, charts, calendars, and trees work.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Standard dynamic action that shows the Commission Pct item if the value for Job Id is
equal to SA_REP.
Advanced dynamic action that sets the value of Location when the Department
changes.
Dynamic action on a button to disable a page when a button is clicked.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB125_ORDER_MGMT_SOLN.SQL packaged applications.
Tasks
a.
a
c
n
Bia
le
b
fera
n
a
r
t
n-
Create a new form page with a report page on the OEHR_EMPLOYEES table. Name the
report Employee List. The report should contain FIRST_NAME, LAST_NAME, EMAIL,
and JOB_ID. Create a new tab called Employees in the current tab set. The form name
is Employee Details, and it contains all the columns; allows insert, update, and delete;
and uses the default primary key and trigger. Test your pages.
no
a
has
)
om uide
c
le nt G
cP<n>_JOB_ID
a
r
b. On the Employee Details page, change
the
item to a select list based
e
o
d
u
t
on the following query (located ini@
/home/oracle/labs/files/lab13-1.txt):
S
e
b
s
i
a
h
select distinct JOB_ID
display_value,
JOB_ID return_value
b et
a
from OEHR_EMPLOYEES
ca to us
n
a
order by
bi1 nse
(
i
be lice
a
b
c.
A Create a standard show/hide dynamic action, called JOB EQUALS SALES REP, on
the P<n>_JOB_ID item, where, if the value of the item is SA_REP, the
P<n>_COMMISSION_PCT item is displayed. Test the page.
d.
e.
Change the P<n>_DEPARTMENT_ID item to a select list based on the following query
(located in /home/oracle/labs/files/lab13-2.txt):
select distinct DEPARTMENT_NAME display_value, DEPARTMENT_ID
return_value
from OEHR_DEPARTMENTS
order by 1
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
f.
Create an advanced dynamic action, called P<n>_LOCATION, that will set the value of
the new item that you created when the value of P<n>_DEPARTMENT_ID changes.
The value of P<n>_LOCATION should be set by using the following SQL statement
(located in /home/oracle/labs/files/lab13-3.txt) with
P<n>_DEPARTMENT_ID being the page item to submit. Test your page.
select l.city from oehr_locations l, oehr_departments d
where l.location_id = d.location_id and
d.department_id=:P<n>_DEPARTMENT_ID
g.
Create a dynamic action on the SAVE button. When the button is clicked, the page
should be grayed out and a progress bar should appear.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you import the Star Rating plug-in into your application and add it as an item on
your page.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB131_ORDER_MGMT_SOLN.SQL packaged applications.
Tasks
a.
Add a new column to the OEHR_EMPLOYEES table by using the following SQL
command (located in /home/oracle/labs/files/lab13-4.txt):
alter table "OEHR_EMPLOYEES" add
("RATING" NUMBER(2,0))
/
n
Bia
le
b
fera
n
a
r
t
n-
no
a
b. Import the Star Rating plug-in by using the
asfrom the
hfile
item_type_plugin_com_oracle_star_rating.sql
)
e
m
d
o
i
/home/oracle/labs/files directory.
ec nt Gu
l
c
ra thatduses
e the Star Rating plug-in. Accept
o
c. Create a plug-in item called P<n>_RATING
u
t
@
i
Sitem in the RATING column. Test your page.
evalue ofithe
the default settings. Store the
b
s
a
h
ab se t
a
nc to u
a
i
(b nse
i
e
ice
ab
l
b
aA
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you create a new chart page with a Horizontal Bar 3D Bar Chart. You then
modify the chart and change it to a 3D Column Chart and change some of the settings to see
how they work.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB132_ORDER_MGMT_SOLN.SQL packaged applications and also run the LAB132_A.sql file.
Tasks
a.
Create a new Flash chart page that includes a Horizontal Bar 3D Bar Chart. Use
Employees by Department for the Title, Number of Employees for the X-Axis, and
Departments for the Y-Axis. Use the following query (located in
/home/oracle/labs/files/lab13-5.txt). Test your page.
a
c
n
Bia
n
a
r
t
n-
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
achangeusit eto a 3D Column Chart with look 7. Add X-Axis
a
b. Modify your chartcand
n45 for the
o X-Axis label rotation, reverse the X and Y axes titles, and
t
a
scrollbars,benter
i
e
( Y Axisnsto 20. Test your page. Create a help text region called Help on the
iMax
set the
e
b
a page. lice
Help
b
A
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create a calendar on the List of Orders page that displays the order total per
day. You also link to the Master Detail page for the Order selected.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB133_ORDER_MGMT_SOLN.SQL packaged applications and also run the LAB132_A.sql file.
Tasks
a.
On the List of Orders page, create a new Easy Calendar calendar region called Order
Calendar. Change the sequence number to 5 so that it appears at the top of the page.
Base the calendar on the OEHR_ORDERS table and set the Date Column to
ORDER_DATE and Display Column to ORDER_TOTAL. Include features to specify
custom date ranges and drag and drop order total to different dates. Add a link to edit
all columns of the OEHR_ORDERS table in a popup window. Test your pages.
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create a new page with a tree region and link to the Employee Details page.
Add a button on the Employee Details back to the tree page.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB134_ORDER_MGMT_SOLN.SQL packaged applications and also run the LAB132_A.sql and
LAB134_A.sql files.
Tasks
a.
Create a Tree Page called Employees by Manager that uses the default tree
template. Select the appropriate options in the wizard so that the current query (located
in /home/oracle/labs/files/lab13-6.txt) looks as follows: <n> is the page
number for the Employee Details page.
a
c
n
Bia
n
a
r
t
n-
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
'f?p=&APP_ID.:<n>:'||:APP_SESSION||'::::P<n>_EMPLOYEE_ID:'||"EMP
e
b
icas link
LOYEE_ID"
a
l
b
A
from "#OWNER#"."OEHR_EMPLOYEES"
start with "MANAGER_ID" is null
connect by prior "EMPLOYEE_ID" = "MANAGER_ID"
order siblings by "LAST_NAME"
b.
Add a button to the Employee Details page called Employee Hierarchy that navigates
to the Employees by Manager tree page.
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Standard dynamic action that shows the Commission Pct item if the value for Job Id is
equal to SA_REP.
Advanced dynamic action that sets the value of Location when the Department
changes.
Tasks
a.
Create a new form page with a report page on the OEHR_EMPLOYEES table. Name the
report Employee List. The report contains FIRST_NAME, LAST_NAME, EMAIL, and
JOB_ID. Create a new tab called Employees in the current tab set. The form name is
Employee Details, and it contains all the columns; allows insert, update, and delete;
and uses the default primary key and trigger. Test your pages.
1)
a
c
n
a
n
a
r
t
n-
Navigate to your Order Management application home page and click Create
Page >.
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
o tud
@
i
S
e
4) Select OEHR_EMPLOYEES
(table)
for Table / View Name and click Next >.
b
s
i
a
h
t
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
Enter Employee List for Page Name and Region Title. Select Reports Region for
Region Template and click Next >.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
s the existing tab set
6) Select Use an existing tab set and create a new tab a
within
h
)
for Tab Options. Enter Employees for New Tab Label and click
e Next >.
m
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
Move all columns except FIRST_NAME, LAST_NAME, EMAIL, and JOB_ID from
the right to the left and click Next >.
le
b
fera
a
c
n
a
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
8)
Accept the default edit link image and click Next >.
9)
Enter Employee Details for Page Name and Region Title and click Next >.
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
10) Select Select Primary Key Column(s) for Primary Key Type and click Next >.
11) Accept the default source for the primary key column and click Next >.
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
12) Move all the columns from the left to the right by clicking the move all icon and
click Next >.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
16) The Employee List report is displayed. Click the Edit icon for one of the rows.
le
b
fera
n
a
r
t
n-
17) The Employee Details page is displayed. Click the Edit Page link in the Developer
toolbar.
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
b.
On the Employee Details page, change the P<n>_JOB_ID item to a select list based
on the following query (located in /home/oracle/labs/scripts/lab13-1.txt):
select distinct JOB_ID display_value, JOB_ID return_value
from OEHR_EMPLOYEES
order by 1
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
You first want to make the Job Id field a select list. Right-click P<n>_JOB_ID and
select Edit.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
o tud
@
i
S List quick pick link and click the List of
e
2) For the Display As field,bclick the Select
s
i
a
h
Values tab.
ab se t
a
nc to u
a
i
(b nse
i
e
lice
bab
Bi
3)
Enter the following SQL (located in /home/oracle/labs/files/lab131.txt) in the List of values definition field and click Apply Changes.
select distinct JOB_ID display_value, JOB_ID return_value
from OEHR_EMPLOYEES
order by 1
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
a
c
n
Bia
ab
r
e
f
c. Create a standard show/hide dynamic action, called JOB EQUALS SALES REP, on
s
n
a
the P<n>_JOB_ID item, where, if the value of the item is SA_REP, the
r
-t
n
P<n>_COMMISSION_PCT item is displayed. Test the page.
o
n
a
has item.
1) Now you can create a dynamic action on the P<n>_JOB_ID
Right-click
)
e
m
P<n>_JOB_ID and select Create DynamiccAction.
o t Guid
e
l
c en
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
3)
Enter Job Equals Sales Rep for Name and click Next >.
le
n
a
r
t
n-
a
c
n
a
b
fera
no
a
has
)
om uide
c
cle ent G
a
r
tudEnter SA_REP for the Value and click
@o forSyou.
i
4) Notice that the Item is prepopulated
e
b this
a
Next >.
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
Because you want the Commission Pct column to show when Job is equal to
SA_REP, select Show for Specify the True Action, make sure that the check box
for Create Opposite False Action is checked, and click Next >.
le
6)
Select Item(s) for Selection Type, select P<n>_COMMISSION_PCT from the list of
items, and click the Move icon.
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
7)
b
fera
Click Create.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
You can run the page to see the results. Click the Run Page icon.
9)
Notice that the Commission Pct item is currently not displayed, because the Job Id
is not SA_REP.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
10) Change the value of Job Id to SA_REP.
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
11) Notice that the Commission Pct item is now displayed. You also want to show the
location of a particular department by using the Set Value advanced dynamic
action. Click the Edit Page link in the Developer toolbar.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
tud
@oP<n>_LOCATION
i
S
d. Create a new display-only itemecalled
whose value is saved to
b
s
i
a
h
session state.
ab se t
a
nc createtoanuitem to display the location on this page. Right-click Items
a
i
1) You must
first
b Create
(select
se Page Item.
i
n
and
e
e
ic
ab
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
Select the Display Only item type and click Next >.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
bfor thetitem
3) Enter P<n>_LOCATION
isname and click Next >.
a
h
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
4)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
6)
le
b
fera
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
A
a
c
e.
an
Change the P<n>_DEPARTMENT_ID item to a select list based on the following query
(located in /home/oracle/labs/files/lab13-2.txt):
select distinct DEPARTMENT_NAME display_value, DEPARTMENT_ID
return_value
from OEHR_DEPARTMENTS
order by 1
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
You can change the Department Id item so that it is a select list. Right-click
P<n>_DEPARTMENT_ID and select Edit.
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
no
a
as
h
)
2) Click the Select List quick pick link and click them
List of Values
e tab.
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
b3)abEnter the
following query (located in /home/oracle/labs/files/lab132.txt) in the List of values definition field, and click Apply Changes.
select distinct DEPARTMENT_NAME display_value, DEPARTMENT_ID
return_value
from OEHR_DEPARTMENTS
order by 1
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
a
c
n
Bia
s
n
a
r
t value of
-the
f. Create an advanced dynamic action, called P<n>_LOCATION, that will set
n
o
n changes.
the new item that you created when the value of P<n>_DEPARTMENT_ID
a
s SQL statement
The value of P<n>_LOCATION should be set by using the following
hawith
(located in /home/oracle/labs/files/lab13-3.txt)
)
depage.
om Testuiyour
P<n>_DEPARTMENT_ID being the page item toc
submit.
cle ent G
a
r
select l.city from oehr_locations
@o Stul,d oehr_departments d
i
e
where l.location_ida=bd.location_id
and
is
h
t
b
a
e
d.department_id=:P<n>_DEPARTMENT_ID
a
us
c
n
o
t
a
bi arenready
(
se to create the dynamic action. Right-click
i
1) Now
you
e
e
ic
abP<n>_DEPARTMENT_ID
and select Create Dynamic Action.
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
3)
Enter GET DEPARTMENT LOCATION for Name and click Next >.
le
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
o tud
@
i
S when the item is changed. Accept the
4) You want the dynamic action
to
execute
e
b
s
i
a
h
defaults and click Next
>.
ab se t
a
nc to u
a
i
(b nse
i
e
lice
bab
Bi
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
e Statement for Set
om Select
idSQL
6) You want to run a SQL statement to set thec
value.
u
le(located
Type. Enter the following SQL statement
inG
t
c
n
a
r
/home/oracle/labs/files/lab13-3.txt)
o tude in the SQL Statement field. Enter
@
P<n>_DEPARTMENT_ID in
the
Page
i
SItems to Submit field and click Next >.
e
b
s
i
ba e th
a
select l.city
usoehr_locations l, oehr_departments d
ca from
n
o
t
a
where
= d.location_id and
bil.location_id
e
(
s
i
n
e lid.department_id=:P<n>_DEPARTMENT_ID
ce
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
7) Select Item(s) for Selection Type. Select P<n>_LOCATION
om uidefrom the list of items,
c
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
9)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
10) Select a different department from the list. Notice that the Location changes. Click
the Edit Page link in the Developer toolbar.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
o tud
@
i
S When the button is clicked, the page
e
g. Create a dynamic action on b
the SAVE ibutton.
s
a
h
t bar should appear.
b a progress
should be grayed out a
and
e
s
a
1) Right-clickn
the
u and select Create Dynamic Action.
c SAVEtobutton
a
i
(b nse
i
e
ice
ab
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
3)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
G>.
le click nNext
t
cand
5) Enter Save for Request/Button Name
a
r
o tude
@
i
e is S
b
a
b e th
a
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
6)
Click Create.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
8)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
9)
If your connection is not too fast and if the processing takes more than a few
seconds, you will see the screen black out and a progress bar appears. Click the
Application <n> link in the Developer toolbar.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practice Solution 13-2: Importing and Using the Star Rating Plug-In
Overview
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you import the Star Rating plug-in into your application and add it as an item on
your page
Tasks
a.
Add a new column to the OEHR_EMPLOYEES table by using the following SQL
command (located in /home/oracle/labs/files/lab13-4.txt):
alter table "OEHR_EMPLOYEES" add
("RATING" NUMBER(2,0))
/
le
Bi
a
c
n
a
rab
1) Because you want to save the value of the rating in the database, you must create
e
f
s
a new column in the OEHR_EMPLOYEES table. Select SQL Workshop > SQL
n
a
r
Commands.
-t
n
o
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
2)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
b.
You can import the plug-in now. Select Application Builder > Database
Applications.
Bi
a
c
n
a
2)
3)
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
le
5)
n
a
r
t
n-
Click Import.
a
c
n
a
b
fera
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
6) Click Browse.
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( Nexte>.ns
8) bClick
e
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
9)
The file was imported successfully. You want to install it now. Click Next >.
10) Install it into your Order Management application. Click Install Plug-in.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
e item to the form
11) The plug-in was installed successfully. You c
want
omto adduaidplug-in
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
c.
Create a plug-in item called P<n>_RATING that uses the Star Rating plug-in. Accept
the default settings. Store the value of the item in the RATING column. Test your page.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
Under the Employee Details region, right-click Items and select Create Page
Item.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
2) Select
the
Plug-ins
item
type and click Next >.
(
s
i
n
e
e
lic
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
4)
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
5) Accept the defaults and click Next >.
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
6)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
You want the value in the database to be used. Select Database Column for
Source Type. Notice that the RATING column that you created is automatically
detected. Click Create Item.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
8) Click the Run Page icon.
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
s rating stars.
9) Select
i ( oneeofnthe
e
b
c
li
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
e row that you
m forutheidsame
11) To see that the value was saved, click the Edit
oicon
c
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
12) The rating is displayed. In the next practice, you examine how charts work. Click
the Application <n> link in the Developer toolbar.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you create a new chart page with a Horizontal Bar 3D Bar Chart. You then
modify the chart and change it to a 3D Column Chart and change some of the settings to see
how they work.
Tasks
a.
Create a new Flash chart page that includes a Horizontal Bar 3D Bar Chart. Use
Employees by Department for the Title, Number of Employees for the X-Axis and
Departments for the Y Axis. Use the following query (located in
/home/oracle/labs/files/lab13-5.txt). Test your page.
n
a
r
t
n-
a
c
n
a
o
n
a
1) On the Order Management application home page, click Create
s Page >.
a
h
) de
m
o
c t Gui
e
l
c en
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n and click
o Next >.
t
a
i
2) Select
Chart
b
e
i ( ens
e
b
lic
ba
Bi
3)
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
e Next >.
a andusclick
5) Select 3D Bara
Chart
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
6)
Enter Employees by Department for Page Name and Region Name and click
Next >.
Copyright 2011, Oracle and/or its affiliates. All rights reserved.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
8) Enter Employees by Department for chart Title, Number
ha>.sof Employees for X
Axis Title, and Departments for Y Axis Title. Click )Next
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
9)
Enter the following SQL query (located in /home/oracle/labs/files/lab135.txt) and click Next >.
select null link,
department_name chart_label,
count(*) chart_value
from oehr_employees e,
oehr_departments d
where e.department_id = d.department_id
group by department_name
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
12) Place your cursor over one of the bars to see the Department and its value.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
13) You want to change the 3D Bar Chart to a 3D Column Chart and alter the way it
looks. Click the Edit Page link in the Developer toolbar.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b it to ath3DisColumn Chart with look 7. Add X-Axis
a
b. Modify your chart and change
b
e rotation, reverse the X and Y axes titles, and set
aX-Axisuslabel
scrollbars, enter 45afor
c
nto 20. Test
the Max Y Axis
o your page. Create a help text region called Help on the Help
t
a
i
b
e
page. i (
nsEmployees by Department region and select Edit Chart.
e
e
b
c
1)
Right-click
the
a
li
Ab
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
Select 3D Column for Chart Type and select Look 7 for Color Scheme, and then
click the Display Settings tab.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
s
haLabel
3) Select X-Axis for Show Scrollbars, enter 45 for X-Axis
and select
)
eRotation,
m
d
o
i
the Axes Settings tab.
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
Because you changed the chart type, you must reverse the titles for the X and Y
axes. Enter Departments for X Axis Title and Number of Employees for Y Axis
Title. Click Apply Changes.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
5) Run the page. Click the Run Page icon.
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b thColumn
is chart, the look is different, the Number
a
6) Notice that the chartbis
now a 3D
a valueusiseset to 20 and there is a horizontal scrollbar. Place your
of Employees
max
a
c
none of the
o bars to see the department and value.
cursor over
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
ca to us
n
a
bi nse
(
i
abe lice
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create a calendar on the List of Orders page that displays the order total per
day. You also link to the Master Detail page for the Order selected.
Tasks
a.
On the List of Orders page, create a new Easy Calendar calendar region called Order
Calendar. Change the sequence number to 5 so that it appears at the top of the page.
Base the calendar on the OEHR_ORDERS table and set the Date Column to
ORDER_DATE and Display Column to ORDER_TOTAL. Add a column link that links to
the Master Detail page. Test your pages.
1)
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
2)
Select the OEHR_ORDERS table and then click the Data tab.
Bi
le
b
fera
In order to see data on your calendar, you may need to modify the dates. Select
SQL Workshop > Object Browser.
3)
Run the following update statement from SQL Workshop > SQL Commands. This
statement modifies the order dates in the OEHR_ORDERS table so they contain
more recent dates that will appear in the calendar created in the next set of steps.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
UPDATE oehr_orders
SET order_date = order_date + 2390
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
G
leSelectnApplication
4) Now you will create your calendar region.
Builder > Database
t
c
a
r
e
Application.
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
A
5)
Select the Order Management application and then select the List of Orders
page.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
8)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
9)
For Title, enter Order Calendar, enter 5 for Sequence, and click Next >.
le
b
fera
a
c
n
a
s
n
a
r
-t>.
10) For Table/View name, select OEHR_ORDERS (table) and click Next
n
o
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
e
a select
s
a
11) For display column,
ORDER_TOTAL. Select Yes for Custom Date Range and
u
c
n and Drop.
o Click Next >.
t
a
i
Enable
Drag
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
12) Select all the columns for Select Column(s) and select Popup Window for Open
Link in. Accept all other defaults and click Next >.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
13) Accept thendefaults and
o click Next >.
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
ncalendar,
orun the page. Click Run.
t
a
i
16) To view
the
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
17) Find a month where there is an order total listed for a particular day. Click the link.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
18) The edit page opens in a new window.
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
19) Close the popup window. You can drag the total order from one date to another.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om
ida etree. Click the
c
u
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you create a new page with a tree region and link to the Employee Details page.
Add a button on the Employee Details back to the tree page.
Tasks
a.
Create a Tree Page called Employees by Manager that uses the default tree
template. Select the appropriate options in the wizard so that the current query (located
in /home/oracle/labs/files/lab13-6.txt) looks as follows: <n> is the page
number for the Employee Details page.
select case when connect_by_isleaf = 1 then 0
when level = 1
then 1
else
-1
end as status,
level,
"LAST_NAME" as title,
null as icon,
"EMPLOYEE_ID" as value,
"EMPLOYEE_ID" as tooltip,
Bi
a
c
n
a
le
b
fera
n
a
r
t
n-
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
'f?p=&APP_ID.:<n>:'||:APP_SESSION||'::::P<n>_EMPLOYEE_ID:'||"EMP
b this
LOYEE_ID" as link ba
a use
a
from "#OWNER#"."OEHR_EMPLOYEES"
c
n"MANAGER_ID"
o is null
t
a
i
start with
b
e
i ( by eprior
ns "EMPLOYEE_ID" = "MANAGER_ID"
e
connect
b
c
li
ba
order siblings by "LAST_NAME"
1)
From the Order Management application home page, click Create Page >.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
3)
Enter Employees By Manager for Page Name and Region Name and click Next
>.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
Ensure that the Do not use tabs option is selected. Click Next >.
5)
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
o tud
@
i
6) Select OEHR_EMPLOYEESefor
Table / View
S Name and click Next >.
b
s
i
ba e th
a
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
7)
Value
ID
EMPLOYEE_ID
Parent ID
MANAGER_ID
Node Text
LAST_NAME
Start With
MANAGER_ID
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
9)
You want to link to a particular item so that you can go to another page when an
entry in the tree selected. Select Existing Application Item for Link Option. You
can also show a tooltip. In this case, you want to show the EMPLOYEE_ID of the
Employee when you put the cursor over the name. Select Database Column for
Tooltip and select EMPLOYEE_ID for Tooltip Column. Select the Employee
Details page for Link Page, select the P<n>_EMPLOYEE_ID item from the Link
Existing item list, and click Next.
le
b
fera
You can see the query that is generated by expanding Current Query. Click Next
>.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
n
a
r
t
n-
a
c
n
a
b
fera
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( Run ePage.
ns
e
11)bClick
c
li
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
12) Expand one of the manager nodes. Notice that when you place your cursor over
one of the names, you see the EMPLOYEE_ID of the person as a tooltip. Click one
of the names.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
e the Employee
13) The Employee Details page opens with the information
about
om
idlinking
c
u
b.
Add a button to the Employee Details page called Employee Hierarchy that navigates
to the Employees by Manager tree page.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
Right-click the Employee Details region and select Create Region Button.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
se Hierarchy and click Next >.
aaenteruEmployee
c
2) For ButtonnName,
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
For Position, select the [Top] quick pick, and click Next >.
4)
Select Redirect to Page in this Application for Action, select the Employees by
Manager page (where your tree is located), and click Create Button.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n Clickto
5) Run the a
page.
Run.
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
9)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
as
hLesson
Practices for
14:
)
e
m
id
Working
uThemes,
cowith
e
G
l
c ent and Files
a
Templates,
r
tu14d
@oChapter
i
S
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 1
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
There is one practice for this lesson. In this practice, you examine how to work with various
themes, templates, and files.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 2
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you switch to a different theme for the Order Management application and
upload an image and add it as an application logo. You change an existing region to use a
different template. You copy an existing region template, make a change to the custom template
and associate it with a region on your page. Finally, you upload a cascading style sheet, and
change the custom template to use the class from the style sheet and also add the class to what
is displayed for help text.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB135_ORDER_MGMT_SOLN.SQL packaged applications and also run the LAB132_A.sql and
LAB134_A.sql files.
s
n
a
r
a. Create a new theme (Theme 1) for your application. After creating the theme,
-t switch
n
the theme of your application to that theme.
o
n
a
has
b. Upload the oralogo.gif image from your /home/oracle/labs/files
directory
)
e
m
d
and add it as a logo for your application.
o
i
ec nt Gu
l
c
a template
rthe
o
de for the Tasks to use the Navigation
c. On your Home page (Page 1), change
u
t
@
i
S to use the Vertical Sidebar List.
Region template and override e
the List Template
b
s
i
a
h
ab se t
a
u and Titles template to the Region without Buttons
d. Copy the Region
Buttons
ncwithout
o
t
a
and Titlesb
iCustom
template.
(
se
i
n
e
e
ic line (located in /home/oracle/labs/files/lab14-1.txt) right
ab the following
l
b
e.
Add
A
Tasks
a
c
n
Bia
Change the template used for the Employee List Region on the Employee List page so
that it uses the custom template that you just modified.
g.
h.
Add the cascading style sheet to the Page template on the Employee List page. The
line of code is as follows (located in /home/oracle/labs/files/lab14-2.txt):
<link rel=stylesheet href=#WORKSPACE_IMAGES#apexstyle.css
type=text/css />
i.
le
b
fera
Change the custom region template to use the new style, bigblue, for the text you
added at the bottom of the template so that it looks like the following (located in
/home/oracle/labs/files/lab14-3.txt):
Copyright 2011, Oracle and/or its affiliates. All rights reserved.
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 3
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
j.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 4
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you switch to a different theme for the Order Management application and
upload an image and add it as an application logo. You change an existing region to use a
different template. You copy an existing region template, make a change to the custom
template, and associate it with a region on your page. Finally, you upload a cascading style
sheet, and change the custom template to use the class from the style sheet, and also add the
class to what is displayed for help text.
Tasks
a.
a
c
n
a
Create a new theme (Theme 1) for your application. After creating the theme, switch
the theme of your application to that theme.
le
b
1) Navigate to the Order Management application home page and click Shared fera
s
Components.
n
a
r
-t
n
o
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
eclick Themes.
2) In the User Interface
a region,
s
a
u
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
3)
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 5
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
Ensure that From the Repository is selected and click Next >.
5)
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
6)
Click Create.
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 6
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
To use the theme that you just created in your application, you must switch to that
theme. Click Switch Theme.
8)
le
b
fera
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
9)
n
a
r
t
n-
Note that the page shows the compatibility between the old and new templates.
Click Next >.
Bi
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 7
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
12) Notice that the new theme is used. You want to add a logo to the application. Click
the Application <n> link in the Developer toolbar.
le
b
fera
n
a
r
t
n-
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b from
isyour /home/oracle/labs/files directory
b. Upload the oralogo.gif
image
a
h
t
b
e
ayouruapplication.
and add it as a logo
for
s
a
c
n
o
t
a
i
b
e
i (must upload
1) You
ns the image to the image repository. Click Shared Components.
e
e
b
c
li
ba
A
a
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 8
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
3)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
4) Click Browse.
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 9
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
6) Click Upload.
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
7)
You can add the logo to your application. Select the Shared Components
breadcrumb.
8)
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 10
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
9)
In the list of links displayed at the top of the page, click the Logo link.
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 11
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
12) Note that all your pages display the logo. You want to change the templates used
on this page. Click the Edit Page link in the Developer toolbar.
le
c.
a
c
n
a
b
fera
n
a
r
t
n-
On your Home page (Page 1), change the template for the Tasks to use the Navigation
Region template and override the List Template to use the Vertical Sidebar List.
no
a
has Right-click
1) You want to modify the templates used in the Tasks
Region.
Tasks and
)
e
m
select Edit.
co t Guid
e
l
c en
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 12
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
Under User Interface, select Navigation Region for Template and under Source,
select Vertical Sidebar List for List Template Override. Then click Apply
Changes.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
3) Click the Run
Page icon.
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
4)
The new template is set for the list. If you place your cursor over one of the
options, notice that the vertical bar next to the option turns red, indicating the
active region.
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 13
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
d.
You want to make a change to one of the templates. Click the Edit Page link in the
Developer toolbar.
Copy the Region without Buttons and Titles template to the Region without Buttons
and Titles Custom template.
1)
le
b
fera
Bi
a
c
n
a
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
2)
3)
Select 1. Simple Red for Theme and Region for Type and click Go.
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 14
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
You want to make a copy of the Region without Buttons and Titles template.
Click the Copy icon for this template.
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
no
a
has
)
e Template Name,
m uforidNew
5) Enter Region without Buttons and Titles o
Custom
c
Leave the Theme and Type selection as is and enter Custom for Template Name
and click Go.
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 15
e.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
a
c
n
a
1)
2)
n
a
r
t
<div class=rc-bottom>Oracle Confidential Internal
onOnly</div>
n
a
s
a
) h de
m
co t Gui
e
l
c en
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 16
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
f.
Change the template used for the Employee List Region on the Employee List page so
that it uses the custom template that you just modified.
1)
You must change the template used for a region to the template that you just
modified. Navigate to the Order Management Application and click the Employee
List page.
2)
Under regions, right-click the Employee List region and select Edit.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
3)
Under User Interface, select Region without Buttons and Titles Custom from
the list of templates and click Apply Changes.
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 17
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
5)
Notice that your report contains the Oracle Confidential message at the bottom of
the page. You want to change the style of this text to use a class in a custom
stylesheet. Select the Edit Page link in the Developer toolbar.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 18
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
g.
2)
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
3) Click Create >.
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
4)
Click Browse.
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 19
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( Upload.
ns
6) bClick
e
e
c
li
ba
Bi
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 20
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
8)
Notice that the name of the style is bigblue. Click the Edit Page icon for the
Employee List page.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
o template
tud on the Employee List page. The
h. Add the cascading style sheet toi@
the PageS
e
b inth/home/oracle/labs/files/lab14-2.txt):
is
line of code is as follows (located
a
b
e
a ushref=#WORKSPACE_IMAGES#apexstyle.css
<link rel=stylesheet
a
c
n />to
type=text/css
a
i
b
(
se
i
n
e
e
abYou firstlicneed to add the style sheet to the Page template. Under Shared
1)
b
A
Components, expand Templates. Right-click One Level Tabs Right Sidebar
under Page and select Edit.
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 21
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
3)
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
i.
Change the custom region template to use the new style, bigblue, for the text you
added at the bottom of the template so that it looks like the following (located in
/home/oracle/labs/files/lab14-3.txt):
<div class=rc-bottom bigblue>Oracle Confidential Internal
Only</div>
1)
Under Templates > Region, right-click Region without Buttons and Titles
Custom and select Edit.
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 22
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
hasin
2) Add bigblue to the line that you added previously (located
)
e as follows
/home/oracle/labs/files/lab14-3.txt)
omso thatuiitdreads
c
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 23
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
4)
Notice that the bigblue style was applied. You can also add the style to a section
on your page. Select the Edit Page link in the Developer toolbar.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 24
j.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Right-click the Employee List Page Rendering node and select Edit.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
2) Select the Help
tab.
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
3)
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 25
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
e
5) Click the Help navigation bar entry to show the
page-level
om
idhelp.
c
u
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
6)
Notice that the bigblue class has been applied to the text.
Practices for Lesson 14: Working with Themes, Templates, and Files
Chapter 14 - Page 26
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
as
hLesson
Practices for
15:
)
e
m
d
Administering
co t GuiOracle
e
l
c en Express
a
Application
r
tud
@oWorkspaces
i
S
e
b this
a
b
a use Chapter 15
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
There is one practice for this lesson. In this practice, you examine how to administer your
workspace.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you create three users: a developer, a workspace administrator, and an end
user. You perform workspace administrative tasks, such as monitoring a users activity and
purging the activity logs and session state of a developer. Additionally, you also request to add
an existing schema for your workspace and view the workspace utilization summary report.
Assumptions
N/A
Tasks
a.
a
c
n
Bia
le
b
fera
User Type
Brad.Knight
Developer
Susie.Parker
Workspace Administrator
John.Bell
End User
no
a
has
)
om
idinethe Order
b. Monitor the activity of your ora<n> user for the c
last
two weeks
u
Gthe most?
le accessed
Management application. Which page hasc
been
t
n
a
r
o tude
@
i
c. Purge the session state thatb
iseolder than
3Sdays.
s
i
a
h
ab se t
a
u schema be added to this workspace.
d. Request that the
ncexistingtoTEACH
a
i
(b nse
i
e
e. Review
Summary Report.
ice
ab thelWorkspace
b
A
n
a
r
t
n-
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you create three users: a developer, a workspace administrator, and an end
user. You perform workspace administrative tasks, such as monitoring a users activity and
purging the activity logs and session state of a developer. Additionally, you also request to add
an existing schema for your workspace and view the workspace utilization summary report.
Tasks
a.
Log in to Oracle Application Express as the admin user (ora<n>_admin). Create the
following users:
Name
Brad.Knight
Developer
Susie.Parker
Workspace Administrator
le
b
fera
n
a
r
t
n-
no
a
hasto change
1) Login as a workspace administrator. You might be prompted
)
e the password
m
d
o
i
and login again.
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
aA
John.Bell
n
Bia
User Type
2)
End User
Click the arrow next to Administration and select Manage Users and Groups.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
4)
Enter the following information and click Create and Create Another.
a
c
n
a
le
n
a
r
t
n-
n
a
has
Confirm Password: welcome1
)
omon First
ideUse.
Select No for Require Change of Password
c
u
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
5)
Enter the following information and click Create and Create Another.
Password: welcome1
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
6)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
7)
The new users are now in the list. Click the View icons button.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
b.
Monitor the activity of your ora<n> user for the last two weeks in the Order
Management application. Which page has been accessed the most?
1)
a
c
n
a
Notice that the color of the icons indicates the type of user. Green is for end users,
yellow is for developers, and red is for workspace administrators.
Bi
n
a
r
t
n-
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a ofutheseuser you are logged in as, and other information,
2) You see an overview
a
c
n
ousers and their statuses. Click the Activity tab.
including
workspace
t
a
i
b
e
i ( ens
e
b
lic
ba
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
4)
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
5) Click the link that represents your username to
see the page
deviews by developer
om
i
c
u
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
6)
Select the Order Management Application from the list of Applications. Change
the time period from the Since list and click Set, if required.
c.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
Review the list of pages that have been viewed recently. To look at the session
state information, select Administration > Manage Service.
le
2)
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( the Purge
nsSessions by Age link.
e
e
3) bClick
c
li
ba
Bi
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
d.
Bi
a
c
n
a
4)
Ensure that 3 days is selected in the Session older than drop-down list and click
Purge Sessions.
5)
n
a
r
t
n-
o
n
a
1) To organize the data in your workspace logically, you must
the ORA02
s add
a
database schema to this workspace. Select Administration
> Service Request.
h
) de
m
o
c t Gui
e
l
c en
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
2)
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
Select Use an existing schema, enter TEACH in the Schema Name field, and
click Next >.
4)
Click Finish.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
n
a
has
)
om uide
e. Review the Workspace Summary Report.
c
cle ent G
a
r
1) Select Administration > Workspace
tud
@o SUtilization.
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
The Workspace Summary Report is displayed. This report shows all the
information about the workspace including the users, request, and schemas. This
information can be emailed to any interested parties.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
as
hLesson
Practices for
16:
)
e
m
id
Implementing
co t GuSecurity
e
l
c en
a
r
Chapter
o tu16d
@
i
e is S
b
a
b e th
a
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
There are two practices for this lesson. In these practices, you examine how to implement
security within your application.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create an authentication scheme, and then make it the current default.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB141_ORDER_MGMT_SOLN.SQL packaged applications and also run the LAB132_A.sql and
LAB134_A.sql files. You should have also uploaded the oralogo.gif and apexstyle.css
files and performed Practice 15-1.
Tasks
a.
b.
a
c
n
a
Bi
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create an access control page, set the application mode to restrict access,
create the access control list, and assign application components to an authorization scheme.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB161_ORDER_MGMT_SOLN.SQL packaged applications and also run the LAB132_A.sql and
LAB134_A.sql files. You should have also uploaded the oralogo.gif and apexstyle.css
files and performed Practice 15-1.
Tasks
n
Bia
le
a.
b.
Set the application mode to Restricted access. Only users defined in the access control
list are allowed.
b
fera
n
a
r
t
n-
no
a
c. Add users to the access control list.
has
)
john.bell can only view the information in the
omapplication;
idehe cannot make any
c
u
anything in addition
to
changing
s the user privileges.
a
u
c
n
o
ia se t
b
(
nthe authorization schemes to each application component. This will
d. Define
eiand lapply
e
b
c
i
a
brestrict access to application pages and components.
a A Users with the View privilege can review customer information, but cannot change
e.
or create information.
Users with the Edit privilege can make changes to customer information but
cannot make changes to the application mode and the access control list.
Users with the Administrator privilege can make any changes, including
administering the Order Management application.
Run the application and log in as each different user. What do you observe?
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create an authentication scheme, and then make it the current default.
Tasks
a.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
2) Because you will be changing the authentication scheme
application, you
hasfor the
want to sign off from the application. Click Sign Off.
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
Now you will create your authentication scheme. Click the Application <n> link in
the Developer toolbar.
le
b
fera
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
5) In
ithe( Security
nsregion, click the Authentication Schemes link.
e
e
b
c
li
ba
4)
Bi
n
a
r
t
n-
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
7)
Leave the default value of Based on a pre-configured scheme from the gallery
and click Next >.
n
a
r
t
n-
Bi
a
c
n
a
no
a
has
)
om uide
c
e nt G
clthe
a
8) For Name, enter OpenDoor and select
Open
r
e Door Credentials option from
o
d
u
the Scheme Type list. Click iCreate.
t
@ S
e
b
is
a
h
t
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
9)
The scheme is created and made the current authentication scheme for the Order
Management application.
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
10) Search for the Home page of the Order Management application.
12) To log in to the system, enter your name in the Username field and then click
Login.
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
e Notice that the name that you entered appears in the
13) The Home page
isadisplayed.
s
a
u
c
Welcome area.
practice, you will use access control to set up
n In the
onext
t
a
i
b
e
authorization
to
certain
pages
and buttons. Click the Application <n> link in the
(
s
i
n
e
Developer
toolbar.
e
lic
bab
Bi
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
b.
2)
le
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
3) Click Make Current
Scheme.
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
4)
Click OK.
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
6)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create an access control page, set the application mode to restrict access,
create the access control list, and assign application components to an authorization scheme.
Tasks
a.
Navigate to your Order Management application home page and click Create
Page >.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
m uide
2) Select Access Control and click Next >. co
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
3)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
For Tab Options, select Use an existing tab set and create a new tab within the
existing tab set, ensure TS1 is selected for the Tab Set, and enter Admin for the
New Tab Label. Then click Next >.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
5) Click Finish.
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
b.
a
c
n
a
Set the application mode to Restricted access. Only users defined in the access control
list are allowed.
s
n
a
r
1) The access control page is displayed. Here is where you set the application
t mode
and add users to the access control list. For Application Mode, n
select
on-Restricted
access, Only users defined in the access control list areaallowed, and click
Set Application Mode.
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
c.
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
The application mode has been set. Now users whose credentials are defined in
the access control list can access your Order Management application. To add
your privileged users, click Add User.
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
no
a
2) You want John Bell to only be able to view the information
application. He
hasin your
)
3)
You want Brad Knight to be able to edit the information in your application but not
be able to change any of the administration options. Enter brad.knight as the
username and select Edit from the list of privileges. Click Add User.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
d.
a
c
n
a
You want Susie Parker to be able to edit the information in your application as well
as update the administration access control list. Enter susie.parker as the
username and select Administrator for the privilege. Click Apply Changes.
n
a
r
t
n-
no
a
s information but
Users with the Edit privilege can make changes to customer
haaccess
cannot make changes to the application mode and)the
e control list.
m
d
o
i
Users with the Administrator privilege can make
including
u
ec nany
Gchanges,
l
t
administering the Order Management
application.
c
ra de
o
tu
iof@the sapplication
S
e
1) You can define which areas
are restricted. Click the Application
b
i
a
h
t
b
<n> link on the Developer
toolbar.
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
le
b
fera
Define and apply the authorization schemes to each application component. This will
restrict access to application pages and components.
Users with the View privilege can review customer information, but cannot change
or create information.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
You can restrict access for users with the View privilege to customer information.
On the Order Management application home page, click the Customers Page.
3)
Right-click the Customer Report region and select Edit Report Attributes.
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
4)
Click the Link Column tab. Note: If the report were a classic report, you would
modify the CUSTOMER_ID attribute and set the authorization in the column
attribute definition instead of at the report level (as in an interactive report).
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
Select access control - edit for Authorization Scheme and click Apply Changes.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n want the
o Create Button to appear only if the user has Edit or
t
a
i
6) Because
you
b
e
s
i ( enprivilege,
Administrator
you must set the authorization scheme accordingly. Under
e
b
c
ba RegionliButtons for the Customer Report region, right-click CREATE and select
Edit.
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
8)
Select the access control - edit authorization scheme and click Apply Changes.
le
b
fera
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
a Right-click
lic the Customer Details page and select Edit.
b10)
9)
n
a
r
t
n-
You also want to protect against direct access to a page. Even though you
restricted a user who did not have the Edit privilege to edit or create users on the
Customers page, he or she can still access Customer Details if the correct URL is
entered. To prevent this from happening, you must restrict Customer Details to
only users with the Edit privilege. Enter the page number of the Customer Details
page (in this case 7) and click Go.
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
12) For Authorization Scheme, select access control - edit. Click Apply Changes.
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b breadcrumb
is to return to the Order Management
a
13) Click the Application<n>
h
t
b
apage.use
application home
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
14) Because users with the Administrator privilege are only allowed to make changes
to the access control list, you must set the authorization scheme for the Access
Control Administration page. Click Access Control Administration Page. Note
that you may have to advance to the second page of icons to see this page.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
o for
16) Select access control - administrator
udthe Authorization Scheme and click
t
@
i
S
e
Apply Changes.
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
e.
Run the application and log in as each different user. What do you observe?
1)
Now you are ready to run the application. Enter 1 for Page and click Go.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
3)
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
ud
@o S
i
4) Enter brad.knight and e
welcome1
fortthe username and password,
bLogin.this
a
respectively. Then, b
click
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
A
5)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
Notice that Brad can edit customer information, and he has the Create button.
Click the Admin tab.
le
7)
b
fera
n
a
r
t
n-
You receive an error because you need Administration privilege to access this
page. Click OK.
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
8) Click Sign Off.
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
9)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
11) John has the View privilege only and, therefore, cannot edit customer information.
Also, the Create button is not displayed for him.
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
o tud
@
i
Sto try to access the Customer Details page.
e
12) Change the page number
in your iURL
b
s
a
h
b et
Example url a
/f?p=104:2:2101953412249296357::NO
a
us
c /f?p=104:<customer
Change to
details page
n
o
t
a
i
number>:2101953412249296357::NO
(b nse
i
e
lice
bab
13) Press the Enter key. Notice that you receive a message denying access to the
page, because access to the Customer Details page is restricted to the Edit
privilege users. Click the OK link.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
as
hLesson
Practices for
17:
)
e
m
Deploying
uidApplication
co tYour
e
G
l
c en
a
r
Chapter
o tu17d
@
i
e is S
b
a
b e th
a
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
There is one practice for this lesson. In this practice, you examine how to deploy your
application.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you identify what supporting database objects you want to export into a single
file, export the application, and import the file into another workspace.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB162_ORDER_MGMT_SOLN.SQL packaged applications and also run the LAB132_A.sql,
LAB134_A.sql and Access_Control_Tables.sql files. You should have also uploaded the
oralogo.gif and apexstyle.css files and performed Practice 15-1.
Tasks
a.
a
c
n
Bia
Change the welcome messages that will appear during the installation process of your
application.
le
b
fera
s
n
a
r
-t
b. Add the APEX_ACCESS_CONTROL (table) database object to the Prerequisite
n
o
n
section of your Supporting Objects definition.
a
has
)
c. Add the classobjects.sql installation script fromm
o the directory
ide of your Supporting
c
u
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you identify which supporting database objects you want to export into a single
file, export the application, and import the file into another workspace.
Tasks
a.
Change the welcome messages that will appear during the installation process of your
application.
1) Navigate to the Order Management application home page and click Supporting
Objects. (Note: You can be logged in as ora<n> or ora<n>_admin.)
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
Change the Welcome Message to include the name of your application (Order
Management). Click the Prerequisites tab.
le
4)
n
a
r
t
n-
The Prerequisites tab is where you define what checks are required before
installation, including required free disk space, required system privileges, and
schema object restrictions.
a) Enter 4096 (which is approximately 4 MB) for the required free space. This is
the approximate size that the application would require in your target
workspace schema.
b) Make sure that the CREATE SEQUENCE system privilege is checked, in
addition to CREATE TRIGGER, CREATE PROCEDURE, CREATE TABLE,
and CREATE VIEW.
a
c
n
a
b
fera
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
b.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
Click the up arrow to select a table in the Object Names field and select the
APEX_ACCESS_CONTROL (table) link.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
2) Click Add.
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
3)
Because these objects are added to the prerequisites area, the installer makes
sure that the database objects do not exist before the installation scripts are
executed. Click the Substitutions tab.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
You do not have any static substitution strings defined for this application. You can
define static substitution strings for phrases or labels that occur in many places
within an application. Click the Build Options tab.
5)
You do not have any build options defined for this application. This allows you to
conditionally display specific functionality within an application. Click the
Validations tab.
n
a
r
t
n-
a
c
n
a
no
a
has
)
e
om uidapplication.
6) You do not have any validations defined e
forc
this packaged
Gpage validations, These
l
t
c
validations, which are similar to normal
application
or
prevent a
n
raif the user-defined
e
o
d
user from installing database objects
conditions
are
not
i@ s Stu
e
satisfied.
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
Bi
c.
Add the classobjects.sql installation script from the directory of your Supporting
Objects definition in /home/oracle/labs/oehr.
1)
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
In order for the database objects to be created, you must create or upload the
scripts to create and load the data for each supporting object that does not exist in
the target instance. Click the Create > button.
3)
For the purpose of this class, the scripts to create the required database objects
have already been created in the /home/oracle/labs/oehr/*.sql folder.
Select the Create from file option to upload and associate the installation scripts
with the Order Management application. Click Next >.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
s field and click Next >.
iName
4) Enter class_objects a
in b
the script
h
t
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
5)
Click Browse.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
7)
The script has been added to the list of scripts that are to be installed. Click the
Deinstall tab.
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
e
aascriptutosdeinstall
a
8) You can specify
the support objects in case you need to
c
n
o
t
reinstall.ia
However,
you
will not define one during this class. Click the Export tab.
(b nse
i
e
ice
ab
l
b
A
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
d.
Ensure that Yes is selected for the Include Supporting Object Definitions in Export
drop-down list. Selecting Yes ensures that the deployment attributes are exported
with your application by default. Click Apply Changes.
2)
Review the Supporting Objects definition. Notice that the number of installation
scripts has changed to 1. Now you are ready to export the application. Under
Tasks, click the Export Application link.
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
Select No for Export Supporting Object Definitions and click Export Application.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
as
hLesson
Practices for
18:
)
e
m
Building
uid
coatWebsheet
e
G
l
c en
a
Application
r
tu18d
@oChapter
i
S
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
There are two practices for this lesson. In these practices, you build and manipulate a websheet
application.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Assumptions
You have performed the previous practices or imported the LAB03_SOLN.SQL packaged
application.
Tasks
a
c
n
Bia
a.
b.
c.
Create a section called Welcome on the Home page and display the dog image you
uploaded in the previous step.
le
b
fera
n
a
r
t
n-
no
a
hasbefore
d. Edit the Welcome section and add the following text (in)italics)
the dogs image:
e
m
We grow by caring and nurturing each other! co
t Guid
e
l
c en
a
r
e. View the help available for Markup Syntaxes.
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you add a data grid and report and manipulate the results.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB0181_WEBSHEET_SOLN.SQL packaged applications.
Tasks
a.
Create a data grid called Tasks based on the tasks.txt tab-delimited file (located in
the /home/oracle/labs/files directory).
b.
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
View the change history.
@o Stud
i
e
b to your
is grid
a
h
t
c. Add the following annotations
data
b
a use
atext
c
A note withnany
o
t
a
i
b
e
A link
to
www.oracle.com
i ( ens
e
b
ic
a
l
b
A Create a saved report for the changes that you made. Save the saved report as an
d.
alternative report named Tasks with Annotations.
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Tasks
a.
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
ab this
2) Click Create >. ab
e
s
a
u
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
3)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
le
5)
Click Create.
n
a
r
t
n-
a
c
n
a
b
fera
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( websheet
nswas created successfully. Click Run.
6) Your
e
e
b
c
li
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
s
8) When your websheet is created, a default Home page
hisacreated.
)
e
m
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
b.
2)
Click Browse.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
o tudirectory
d
3) Select the dog.gif file in thei@
labs/files
and click Open.
S
e
b
s
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
5)
a
c
n
Bia
Enter Dog Photo for alias and enter something in the description field. Then, click
Add File.
le
b
fera
n
a
r
t
n-
no
a
has
)
omand display
idethe dog image you
c. Create a section called Welcome on the Home page
c
u
uploaded in the previous step.
cle ent G
a
r
1) Click the New Section link from o
tudPanel.
@ the Control
i
S
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
3) Enter Welcome for Title. To display the image, enter [[IMAGE:
dog.gif]] in
s
a
h
the Content area and click Create Section.
) de
m
o
c t Gui
e
l
c en
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
The Welcome section is created in the Home page and the image is displayed in
the Welcome section.
le
b
fera
n
a
r
t
n-
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
d. Edit
ic section and add the following text (in italics) before the dogs image:
a the Welcome
l
b
a A We grow by caring and nurturing each other!
1)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
Enter We grow by caring and nurturing each other! before the image markup
syntax and click Apply Changes.
le
b
fera
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
3)
n
a
r
t
n-
The text message is added to the Welcome section before the image.
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
e.
2)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
3) The Markup Syntaxes are displayed.
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create and manipulate a data grid and report.
Tasks
a.
Create a data grid called Tasks based on the tasks.txt tab-delimited file (located in
/home/oracle/labs/files directory).
1)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
m uide
o
c
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
4)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
b.
Change the STATUS column to display a list based on only the current values.
Add a Priority column with a range of priorities of 1 to 5, with 3 being the default.
Create a validation to ensure that the COST column contains only numeric values.
1)
You can perform a number of different tasks in a data grid. To hide a column, click
the ASSIGNED_TO column header and click the Hide Column button.
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
2)
To filter based on a particular value, click the STATUS column header and select
closed.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
To perform an inline edit, click a value in the STATUS column. The value is placed
into inline edit mode. Change the value to Closed. To accept the change, click
somewhere else in the data grid.
4)
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
no
a
s value is no longer
5) Click the STATUS column header again to see that the
haclosed
)
e
listed.
m
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
6)
You can change a set of values. Click Manage and select Rows > Replace.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
You want to change all the On-Hold statuses to Pending statuses. Select STATUS
in the Columns list, enter On-Hold for Find What, and enter Pending for Replace
With. Then, click Apply.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
tG
cleto seeenthat
8) Click the STATUS column header again
the On-Hold status is no
a
r
o
d
longer listed because all of the values
were
changed
to Pending.
@ Stu
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
9)
At this point, you no longer want users to change the status by using inline edit.
Instead, you want them to select a status from a list. Click Manage and select
Columns > Column Properties.
le
b
fera
n
a
r
t
n-
10) Select STATUS for Column Name, select Select List for Display As, and select
- New List of Values Based on Current Values for List of Values. Then, click
Apply.
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
11) Select a STATUS value and notice that it now appears as a drop-down list, rather
than as a text field where an inline edit can be performed.
le
12) To add a new column, click Manage and select Columns > Add.
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
13) Enter Priority for Column Name, select Number for Type, select Select List for
Display As, select New List of Values for List of Values, enter Priorities
for List of Values Name, enter 1,2,3,4,5 for List of Values Definition, and enter
3 for Default Text. Then, click Apply.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
14) The new column is displayed
b inththeisdata grid. Select one of the values to see that
a
b
the select list is displayed.
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
15) To create a validation, click Manage and select Columns > Validation.
16) Enter Is Numeric for Name, select Column specified is numeric for Type, select
COST for Column Name and enter Only numeric characters are allowed for
Error Message. Click Apply.
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
17) Click in any COST column field and enter character values. Then click elsewhere to
save the change. Note that the validation is fired and the error message displayed.
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
18) You can view the history of changes that were made. Click Manage and select
History.
le
b
fera
n
a
r
t
n-
19) A report of the changes that have been made to the data grid is displayed. Select
the Tasks breadcrumb to return to the data grid.
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
c.
A link to www.oracle.com
1)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
You can edit the record from this page. In this case, you want to add some
annotations. In the Actions area, click the Add Note link.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
d
tuApply.
@oand click
i
3) Enter something in the text
area
S
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
Your note was added. Under Actions, click the Add Link link.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
5) Enter Oracle
n Website
o for Link Name, enter www.oracle.com for the URL
t
a
i
b
e
Target,
and
click
Apply.
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
7)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
You can view the annotations in the report by including the columns. Click Actions
and select Select Columns.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
10) The columns now appear in the Display in Report area. Click Apply.
le
b
fera
n
a
r
t
n-
11) Notice that the columns now appear in the report. You can place your cursor over
an annotation to view details.
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
c.
Create a saved report for the changes that you made. Save the saved report as an
alternative report named Tasks with Annotations.
1) You can save this view of the report. Click Actions and select Save Report.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
2) You want to make this report available
d users. Select As Default Report
@o list.Stotuother
i
Settings from the Save drop-down
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
3)
Select Alternative for Default Report Type. This means that it is available to other
authenticated users but not to the primary user. Enter Tasks with Annotations for
Name and click Apply.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
as
hLesson
Practices for
19:
)
e
m
id
Manipulating
co t Guand
e
l
c en
a
Administering
a Websheet
r
o
d
u
t
i@ Application
S
e
b
s
i
a
h
ab se t Chapter 19
a
nc to u
a
i
(b nse
i
e
lice
bab
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Practices Overview
There are three practices for this lesson. In these practices, you will enable PL/SQL for a
websheet and create various sections. You will also share your websheet by using an Access
Control List.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you add and manipulate various sections on your pages.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB0182_WEBSHEET_SOLN.SQL packaged applications.
Tasks
In this practice, perform the following tasks:
a. On a new Customers page, create a chart section based on the Tasks data grid.
Specify the following:
Chart Label and Axis Title for Label: Project
Chart Value and Axis Title for Value: Budget
a
c
n
Bia
Function: Sum
Sort: Label Ascending
le
b
fera
n
a
r
t
n-
no
a
as
h
)
s
cacreate
c. On the Homeapage,
autext section, titled Useful Links, to display links for the
n
o
t
bi page,
APEX Product
(
seyour data grid, and your report as follows (located in
i
n
e
/home/oracle/labs/files/lab19-1.txt).
e
b
ic
a
l
b
A Product Home Page: [[URL:http://www.oracle.com/apex]]
Maintain Data: [[data grid: tasks | Tasks]]
d.
Move the Useful Links section to a new page called Additional Information.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you enable PL/SQL for a websheet and create SQL and PL/SQL sections.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB0191_WEBSHEET_SOLN.SQL packaged applications.
Tasks
a.
b.
Create a section on the Customers page called Customer List that contains the
following query (located in /home/oracle/labs/files/lab19-2.txt). Hint: Use
markup syntax with the following query.
n
a
r
t
n-
no
a
has
)
om uide
c
n
Bia
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create an access control list to allow users to share websheets.
Assumptions
You have performed the previous practices or imported both LAB03_SOLN.SQL and
LAB0192_WEBSHEET_SOLN.SQL packaged applications.
Tasks
a
c
n
Bia
a.
b.
le
b
fera
n
a
r
t
n-
no
a
c. Add the users with their respective privileges to your websheet
control list.
hasaccess
)
omhaveuthe
idecorrect authorization.
d. Test the websheet to make sure that the correctc
users
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Tasks
a.
On a new Customers page, create a chart section based on the Tasks data grid.
Specify the following:
Chart Label and Axis Title for Label: Project
Chart Value and Axis Title for Value: Budget
Function: Sum
1)
le
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
eand click Create Page.
afor Name
s
a
2) Enter Customers
u
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
You want to create a new section on this page. From the Control Panel, click the
New Section link.
le
b
fera
Bi
a
c
n
a
4)
5)
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
n
a
r
t
n-
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
Select the Tasks data grid and Primary Report for settings and click Next >.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
7) Specify the following and click Next >.
as
h
)
Field Name
Value m
e
d
o
i
c Gu
Chart Label
PROJECT le
t
c
n
a
r
e
Axis Title for Label
Project
@o Stud
i
e
Chart Value
b BUDGET
is
a
h
t
b
a useBudget
Axis Title foraValue
c
n
o Sum
t
a
i
Function
b
e
(
iSort
ns
e
e
Label - Ascending
b
c
li
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
o tud
@
i
9) The chart is displayed in the
Customers
S page.
e
b
s
i
ba e th
a
ca to us
n
a
bi nse
(
i
e lice
bab
Bi
b.
On the Customers page, create a section navigation section that appears at the top of
the page.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
2) Select Navigation and click Next >.
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
3)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
Enter 05 for Sequence (because you want this section to appear at the top of the
page) and enter List of Sections on this Page for Title. Then click
Create Section.
le
5)
n
Bia
b
fera
The navigation section is displayed. You may also have many pages in a
websheet application. You can create a page navigation section to manage all the
pages. Click the Home breadcrumb.
n
a
r
t
n-
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
( page,
iHome
nscreate a page navigation section that appears at the top of the
b. On the
e
e
b
c
a
li
bpage.
A
a 1) On the Home page, click Create and select the New Section link.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
3)
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
e
omtop ofutheidpage),
c
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
c.
On the Home page, create a text section, titled Useful Links, to display links for the
APEX Product page, your data grid, and your report as follows (located in
/home/oracle/labs/files/lab19-1.txt).
a
c
n
a
n
a
as
h
)
1) From the Control Panel, click the New Section link.
e
m
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
Bi
2)
n
a
r
t
n-
le
b
fera
3)
Enter Useful Links for Title and enter the following (located in
/home/oracle/labs/files/lab18-1.txt) in the content area. Then click
Create Section.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
4)
The Useful Links section is displayed. You realize that you would like this section
to be included on its own page, so you want to move it. Select the Edit link for this
section.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
d.
Under Sections, click the settings icon and select Move Section To New Page.
6)
Enter Additional Information for both New Page Name and New Page
Alias. Select Home for Parent Page and click Move Section.
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
7)
Notice that the section is moved and a link in the Page Navigation section is
automatically added to link to the next page. Click Additional Information in the
Page Navigation section.
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
8)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice solution, the steps to enable PL/SQL for a websheet and create SQL and
PL/SQL sections are provided.
Tasks
a. Edit the Customers Interaction websheet to enable SQL and PL/SQL.
1) Log in to the websheet as the admin user.
le
b
fera
n
a
r
t
n-
n
Bia
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
2) Click Administrationa
and selecteApplication Properties.
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
aA
3)
Expand the SQL and PL/SQL region and click Edit SQL and PL/SQL Access and
Suggested Objects. (If you are prompted to log in, the Application Express home
page will be displayed. You will have to navigate to the Customer Interaction websheet
application and edit the application.)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
5)
Select Yes for Allow SQL and PL/SQL and click Apply Changes.
le
b
fera
n
a
r
t
n-
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
icicon. You might have to enter the login credentials again.
a the Run
l
b
6)
Click
aA
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
b.
Create a section on the Customers page called Customer List that contains the following
query (located in /home/oracle/labs/files/lab19-2.txt). Hint: Use markup
syntax with the following query.
select cust_first_name||' '||cust_last_name Name, city,
state_province, cust_email from oehr_customers where
country_id='US'
1)
le
b
fera
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
2)
Bi
n
a
r
t
n-
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
le
4)
a
c
n
Bia
b
fera
n
a
r
t
n-
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
5) Enter
ic query using the [[SQL: ]] markup syntax and click Create Section.
a the SQL
l
b
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
le
b
fera
n
a
r
t
n-
o
n
a
c. Create a report on the OEHR_DEPARTMENTS table. Change some s
of the header names and
a
exclude the link column.
h
) de
m
1) Click Create and select New Report.
o
c t Gui
e
l
c en
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
A
a
c
an
Bi
2)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
le
b
fera
n
Bia
s
n
a
r
-t Edit
4) The report is created. To change the column heading, click Manage and
select
n
o
n
Attributes.
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
5) Change the column headings
a usbyeremoving the Id from the column names.
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
Expand the Link region and select Exclude Link Column for Link Column.
7)
le
b
fera
n
a
r
t
n-
d.
a
c
n
Bia
no
a
On the Customers page, create a data section based on the OEHR_DEPARTMENTS
report.
as
h
)
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a the Customers
l
b
2)
Click
page.
A
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
le
b
fera
4)
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
n
a
r
t
n-
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
Select Report for Data Section Source. Select OEHR_DEPARTMENTS for Report,
Primary Report for settings, and select a style of your choice. Click Next >.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
6)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
8)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice solution, the steps to create an access control list to allow users to share
websheets are provided.
Tasks
a.
1)
le
b
fera
n
a
r
t
n-
no
a
has
)
om uide
2) Expand Authentication. The current scheme is shown.
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
A three developer users in Application Express: ws_admin, ws_contributor, and
Create
b.a
c
an ws_reader.
Bi
1)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
3)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
Enter ws_admin for Username and ws_admin@oracle.com for Email, select Yes for
User is a workspace Administrator, and enter ws_admin for Password. Select No for
Require Change of Password on First Use and click Create and Create Another.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
Enter ws_reader for Username and ws_reader@oracle.com for Email. Select No for
User is a Developer and enter ws_reader for Password. Select No for Require
Change of Password on First Use and click Create User.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
7)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
c.
Add the users with their respective privileges to your websheet access control list.
1) Click Application Builder and select Websheet Applications.
le
b
fera
n
Bia
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
3) Click Run.
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
2)
n
a
r
t
n-
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
le
b
fera
n
a
r
t
n-
n
Bia
n
a
5) Click Administration and click Access Control.
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
6)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
Enter ws_reader for Username and click Create and Create Another.
8)
Enter ws_contributor for Username, select Contributor for Privilege and click Create
and Create Another.
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
9) Enter
ws_admin
ic for Username, select Administrator for Privilege and click Create.
a
l
b
A
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
d.
Test the websheet to make sure that the correct users have the correct authorization.
1) Click the Logout link from the top-right corner.
le
b
fera
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
2)
Bi
n
a
r
t
n-
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
Note that the Create and Edit buttons are disabled. Also, the Control Panel is not
displayed for this user. Click Logout.
le
b
fera
n
a
r
t
n-
n
Bia
n
a
has
)
m uide
o
c
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
This user has all the options to edit the websheet but the Administration privileges are
missing. Click Logout.
le
6)
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
A
7)
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
as
hLesson
Practices for
20:
)
e
m
d
Managing
uiMaintaining
co tand
e
G
l
cApplication
n
a
the
Development
r
e
o
d
u
t
i@ Process
S
e
b
s
i
a
h
ab se t Chapter 20
a
nc to u
a
i
(b nse
i
e
lice
bab
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 1
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
There are two practices for this lesson. In these practices, you manage and maintain the
application development process by using Team Development.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 2
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you add features and milestones to your Order Management Release 6.0
project.
Assumptions
You have performed the previous practices or imported the LAB03_SOLN.SQL.
Tasks
a.
Create the following features (both tables are needed to create each feature):
Feature
Owner
a
c
n
Bia
karen
Contributor
Focus Area
Reporting
tom
le
Release
rab
fe6.0
s
n
a
r
-t
tom
karen
6.0
Allow more than one Sales rep to Get
Order
n
o
n
Credit for Order
Processing
a
s
a
tom
karen
Capture Customer Preferences for
) h de CRM
Product
m
o
i
c
u
e
G
l
b. Below is the continuation of the previous table:
c ent
a
r
Status
Desirability @o
Priority
tud Milestone Start Date Due Date
i
S
e
is
2.hPrioritized
Beta 6.0
Approved
2. Highly ab
<tomorrows
<one month
t
b
a
20%
Desirable
date>
from today>
e
s
a
u
c
n3. Desirable
o
t
a
<week from
<one month
Under
3. Normal
Early
i
b
e
(
s
today>
from start
Consideration
Priority
Adopter
ei licen
b
date>
a
10%
6.0
b
A
Under
Consideration
10%
c.
3. Desirable
3. Normal
Priority
<one month
from today>
Change the status of the first feature (Create FY Management Reports for Orders by
Sales Rep) to Functionally complete 80%. Review the dashboard. What do you
observe?
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 3
d.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Milestone
e.
a
c
n
Bia
Date
Owner
Release
Description
Beta 6.0
6.0
Early Adopter
6.0
6.0
Production
6.0
6.0
s
n
a
r
f. Specify the Early Adopter 6.0 milestone for the Allow more than one Sales
-trep to Get
n
credit for Order feature.
o
n
a
has reports
g. Specify the Beta 6.0 milestone for the Create FY Management
)
e for Orders by
m
d
Sales Rep feature.
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
A
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 4
le
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
In this practice, you create a feedback page, submit feedback, and review and categorize
feedback as feature, bug, or to do.
Assumptions
You have performed the previous practice.
Tasks
a.
b.
Feedback Type
le
b
fera
s
General
n
a
r
n-t Comment
no Bug
a
3
Add label help text on Orders page
General
has
)
Comment
om uide
c
cle ent G
a
r
c. Review your feedback in Team Development.
@o Stud
i
e
abneedsthtoisbe changed on Master detail Page to
b
d. Log feedback 1 (Dateaformat
ea status of Functionally complete - 80%.
s
a
MM/DD/YYYY) as
a featureuwith
c
n
o
t
a
i
b
e
i ( 3e(Add
ns label help text on Orders page) as a To Do, assign it to tom, and
e
e. Log
feedback
b
c
i
a
Abchange thelstatus to Assigned - 30%. Delete the feedback entry after logging it as a
2
a
c
n
Bia
Feedback Text
To Do.
f.
g.
Edit the To Do, changing the status to Work Progressing - 80% and specifying
Documentation for the category.
Log feedback 2 (Error when deleting a line item on an order) as a bug. Set the
severity to 4. Moderate Impact and assign it to tom.
h.
Edit the bug and change the status to 80. Fixed in development, set the priority to 1.
As soon as possible, and set the estimated fix date to a week before Beta.
i.
Review the Team Development dashboard. Note: You must set the Release to 6.0 to
see all the components.
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 5
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you add features and milestones to your Order Management Release 6.0
project.
Tasks
a.
Create the following features (both tables are needed to create each feature):
Feature
a
c
n
Bia
Owner
Contributor
Focus Area
karen
tom
Reporting
tom
karen
Order
Processing
tom
karen
CRM
10%
1)
On the Application Express home page, click the Team Development icon.
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 6
6.0
le
b
fera
6.0
n
a
r
t
n-
no
a
has
b. Below is the continuation of the previous table:
)
om uide Start Date
Status
Desirability
Priorityec Milestone
G
l
t
c
n
a
r
2.
Prioritized
Beta
e 6.0 <tomorrows
Approved
2. Highly
o
d
u
t
20%
Desirable
date>
i@ s S
e
b
i
3. Desirable
<week from
Under
ba e 3.thNormal Early
a
s
today>
Consideration
Priority
Adopter
a
c to u
n
10%
6.0
a
bi nse
(
i
3. Desirable
Under
3. Normal
<one month
abe lice
Consideration
Priority
from today>
b
A
Release
Due Date
<one month
from today>
<one month
from start
date>
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
Click Features.
3)
le
b
fera
4)
no
a
hasfor Orders by Sales Rep
Create FY Management Reports
Feature
)
om uide
c
karen
New Owner
le nt G
c
a
Tom
r
New Contributor
o tude
@
i
e is S
Reporting
New Focus Area
b
a
b 6.0 e th
New Release a
us
ca to Approved
n
20%
Feature
Status
a
i
b
e
(
s
2. Highly desirable
eiDesirability
en
b
c
i
a
l
b
Name
Bi
a
c
n
a
n
a
r
t
n-
Value
Priority
2. Prioritized
Start Date
Due Date
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 7
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n was created.
o You want to create another feature. Click Create
5) Your feature
t
a
i
b
e
Feature
i ( >.ens
e
b
lic
ba
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 8
6)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Name
a
c
n
a
Value
Feature
Allow more than one Sales rep to Get Credit for Order
Feature Owner
Tom
Contributor
Karen
Order Processing
Release
6.0
Feature Status
Desirability
3. Desirable
Priority
3. Normal Priority
Start Date
Due Date
le
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 9
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
b
fera
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
7)
Your feature was created. You want to create another feature. Click Create
Feature >.
le
b
fera
no
a
Name
Value
as
h
)
Bi
a
c
n
a
n
a
r
t
n-
Priority
3. Normal Priority
Milestone
Start Date
Due Date
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 10
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
b9)a To viewlicall the features that you created, click the Features tab.
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 11
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
c.
Change the status of the first feature (Create FY Management Reports for Orders by
Sales Rep) to Functionally complete 80%. Review the Dashboard. What do you
observe?
1)
You can edit one of the features. Click the Edit icon for the first feature that you
created.
2)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
3)
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 12
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
Notice that the Percent Complete indicator has changed. This indicator averages
completeness based upon the feature being at least 80% complete. If, for
example, you had 10 features and one is 100% complete and the other 9 are 60%
complete, the Percent Complete indicator on the Dashboard page would be 10%
because 1 of the 10 is 80% or higher. You are ready to create milestones. Click
the Team Development breadcrumb.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
om uide
c
d. Create the following milestones:
tG
cle eRelease
n
a
r
Milestone
Date
Owner
Description
o
d
u
t
i@<yours name>
S
Beta 6.0
6.0
<one month b
from
Beta Release for Order
e
i
h
today> ba
Management System 6.0
t
a
e
s
u
ca month
Early Adopter n
<one
from <your name> 6.0
Early Adopter Release for Order
o
t
a
i
6.0
today
+
3
Management System 6.0
b nse
(
i
be liceweeks>
a
b
Production Release for Order
A Production <one month from <some other 6.0
6.0
today + 6
weeks>
name>
1)
2)
You currently do not have any milestones. Click Create Milestone >.
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 13
3)
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Name
Value
Milestone
Beta 6.0
Date
New Owner
<your name>
Release
6.0
Description
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 14
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
Your milestone was created. Notice that the Dashboard information is updated
based on the information entered. You want to create another milestone. Click
Create Milestone >.
le
b
fera
no
a
Name
Value
as
h
)
Early Adopter 6.0
Milestone
e
m
d
o
i
u
c +t 3Gweeks>
<one month from
Date
etoday
l
c
nthe list
raname from
e
Select your
Owner
o
d
i@ s Stu
e
6.0
Release
b
i
a
h
t
b
a
e
Early
Description a
s Adopter Release for Order Management System 6.0
u
c
n
o
ia se t
b
(
ei licen
b
a
b
5)
a
c
n
a
n
a
r
t
n-
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 15
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
Your milestone was created successfully. You want to create one more for
production. Click Create Milestone >.
le
b
fera
no
a
Name
Value
as
h
)
Production 6.0
Milestone
e
m
d
o
i
u
c +t 6Gweeks>
etoday
<one month from
Date
l
c
n
ra elses
e
o
d
Enter someone
name
in New Owner
Owner
@ Stu
i
e
b this
6.0
Release
a
b
e
a Production
Release for Order Management System 6.0
s
Description
a
u
c
n
o
ia se t
b
(
ei licen
b
a
b
7)
a
c
n
a
n
a
r
t
n-
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 16
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
n
Bia
no
a
has
)
om uide
c
cle ent G
e. View the milestones in the calendar.
a
r
@o Stud
i
e
1) Your milestone was created
b successfully.
is You can view your milestones in the
a
h
t
b
calendar. Click the
etab.
aCalendar
s
a
u
c
n
o
t
a
i
b
e
i ( ens
e
b
ic
a
l
b
aA
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 17
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
Because your first milestone is a month ahead, click the right arrow to go to the
next month.
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
has
)
m uide
o
c
ca to us
n
a
bi nse
(
i
abe lice
b
A
f.
Specify the Early Adopter 6.0 milestone for the Allow more than one Sales rep to Get
credit for Order feature.
1)
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 18
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
Because you only have milestones for Release 6.0, you can narrow the list of
features by selecting 6.0 from the Release list. Click Set.
3)
Notice that only two features (for Release 6.0) are now in the list of features.
Select the Allow more than one Sales rep to Get Credit for Order link.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
o list oftumilestones.
d
4) Select Early Adopter 6.0 from
@the
i
S
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
5)
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 19
g.
Specify the Beta 6.0 milestone for the Create FY Management reports for Orders by
Sales Rep feature.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
Click the Create FY Management reports for Orders by Sales Rep link from the
list of Features.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
s
2) Select Beta 6.0 from the Milestone list and click Apply
haChanges.
)
e
m
d
o
i
ec nt Gu
l
c
ra de
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 20
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
The features have been updated and the percent of features completed has been
updated. 50% is displayed, because there are two features, one of which is 80%
complete and the other of which is less than 80% complete.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 21
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Overview
In this practice, you create a feedback form in your application, submit feedback, and review
and categorize the feedback.
Tasks
a.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
se application.
aaManagement
u
2) Select the n
Order
c
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
3)
You want to create a new feedback page. Click Create Page >.
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 22
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 23
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
5)
Enter Feedback for Page Name, select No Tabs Right Sidebar (fixed-width /
DIV based) for Popup Page Template, and click Create. Notice that a navigation
bar entry will be created and feedback will be enabled.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
6) Click Run Application.
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
7)
If you receive the login window, enter your username and password and click
Login. If you do not receive the login window, click Logout and log in again.
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 24
b.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
Feedback
Number
Feedback Text
Feedback Type
General
Comment
Bug
General
Comment
1)
le
b
fera
a
c
n
a
n
a
r
t
n-
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
2)
3)
You want to create another feedback item. Click Feedback in the navigation bar.
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 25
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
4)
Enter Error when deleting a line item on an order in the feedback text area and
select Bug for Feedback Type.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
5) Click Submit Feedback.
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 26
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
6)
You want to create another feedback item. Click Feedback in the navigation bar.
7)
Enter Add label help text on Orders page in the feedback text area and click
Submit Feedback.
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
8) You have entered all your
b feedback.
is Now you want to go view it in Team
a
h
t
b
Development. Click
in
ethe Developer toolbar.
a Home
s
a
u
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 27
c.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
le
b
fera
n
a
r
t
n-
a
c
n
a
no
a
has
)
om uide
c
e nt G
clNotice
a
r
2) The Feedback dashboard is displayed.
that feedback items have been filed.
o 3 link
dtoesee
u
t
Under Top Feedback Filers,i@
click the S
the feedback. You will have to
e
b
s
delete the existing filter
ifeedback items.
a to see tthe
h
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
e lice
bab
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 28
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
d.
2)
b
fera
s
n
a
r
Feature Name
Date format needs to be changed on Master
-tdetail Page to
n
o
MM/DD/YYYY
n
a
6.0
Release
has
)
karen
Assigned To
om uide
c
G
Select tomorrows
Start Date
t
cle date
n
a
r
o onetmonth
de from now
Select
date
Due Date
u
@
i
S
eDesirable
b
s
i
3.
Desirability
a
h
e t Priority
ab 3.usNormal
Priority ca
n
o
t
a
i
b
e
Functionally complete - 80%
Feature
Status
(
s
i
n
e
e
lic
bab
Name
a
c
n
a
le
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 29
e.
Log feedback 3 (Add label help text on Orders page) as a To Do, assign it to tom,
and change the status to Assigned - 30%. Delete the feedback entry after logging as
a To Do.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
You want to make feedback 3 a To Do. Click the Log as Todo button for
Feedback 3.
le
b
fera
n
a
r
t
n-
Bi
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
oand click Create To do.
t
a
i
2) Specify
the
following
b
e
i ( ens
e
b
Value
lic Name
ba
Release
6.0
Assigned To
tom
To do status
Assigned - 30%
<checked>
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 30
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
le
b
fera
n
a
r
t
n-
a
c
n
Bia
no
a
as and specifying
h- 80%
f. Edit the To Do, changing the status to Work Progressing
)
e
m
d
Documentation for the category.
o
i
ec nt Gu
l
c
ra de
1) Click Edit To Do.
o
i@ s Stu
e
b
i
a
h
t
b
a
e
a
us
c
n
o
t
a
bi nse
(
i
abe lice
b
A
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 31
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
2)
Change the Status to Work Progressing 80%, enter Documentation for New
Category, and click Apply Changes.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 32
g.
Log feedback 2 (Error when deleting a line item on an order) as a bug. Set the
severity to 4. Moderate Impact, and assign it to tom.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
2) Specify the following and click Create Bug.
has
)
Name
om Value
ide
c
u
cle ent G
4. Moderatea
Impact
Severity
r
o tud
6.0 i@
Release
S
e
b
s
i
a
tom
h
Assign To
ab se t
a
nc to u
a
i
(b nse
i
e
lice
bab
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 33
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
3)
4)
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
as
h
)
5) From the Dashboard, select 6.0 for Release andm
click Set. e
o
c t Guid
e
l
c en
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o in the Percent Closed region.
a
6) Click b
the
numbereoftbugs
i
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 34
h.
Edit the bug and change the status to 80. Fixed in development, set the priority to 1.
As soon as possible, and set the estimated fix date to a week before Beta.
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
1)
le
b
fera
2)
a
c
n
a
n
a
r
t
n-
Select 80. Fixed in development for Status, As soon as possible for Priority,
Beta 6.0 for Target Milestone, and select a date for the Estimated Fix Date to a
day that is a week before the target milestone. Then, click Apply Changes.
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 35
Unauthorized reproduction or distribution prohibited Copyright 2011, Oracle and/or its affiliates
i.
2)
An overview of all your features, milestones, to dos, and bugs are displayed.
le
b
fera
n
a
r
t
n-
a
c
n
a
n
a
has
)
om uide
c
cle ent G
a
r
@o Stud
i
e
b this
a
b
a use
a
c
n
o
t
a
i
b
e
i ( ens
e
b
lic
ba
Bi
Practices for Lesson 20: Managing and Maintaining the Application Development Process
Chapter 20 - Page 36