Database Reference
In-Depth Information
Because you've modified the home page to be a publicly viewable page, you need
to add a navigation bar entry that allows a user to log in. At the same time, you need to
make both the Login and Logout links context sensitive so they're only displayed when
it makes sense. (For instance, the Logout link should only be displayed when a user is
actually logged in.)
Navigation bars are part of an application's shared components, so they're created
and maintained from the Shared Components section of the Application Builder. Create
one in the example application as follows:
1.
Navigate to the Application Builder home page for the Help Desk applica-
tion. This is the page that shows a list of all the pages in the application.
2.
Navigate to the
Shared Components
section of the Application Builder,
either by clicking the large
Shared Components
icon at the top of the page
or by clicking the gear icon in the builder utility bar in the upper-right sec-
tion of the page.
3.
Under
Navigation
, click
Navigation Bar Entries,
as shown in
Figure 5-28
.
You see that APEX has already created a Logout entry for you, but you need
to create your own Login link.
Figure 5-28.
Navigation items in the Shared Components screen
4.
Click
Create
.
5.
Select the
From Scratch
option shown in
Figure 5-29
, and click
Next
.