Oracle Portal Tutorial Release 3.0 Part Number A86188-02 |
Library | Service | Contents | Index

# 2
Designing a Portal

Estimated completion time: 30 minutes

As defined in Chapter 1, "Learning the Basics", a portal is a Web-based application that enables your users to access content areas, external Web sites, other applications, newsfeeds, and other useful information.

To familiarize you with Oracle Portal's page creation capabilities, this chapter leads you through the steps of creating the employee page of a portal for a fictitious company named Healthy Living Wholesalers. You should complete the following exercises if you are responsible for creating portals (that is, you are a portal administrator).

This chapter includes the following sections:

Section |
--- | ---
Section 2.1, "Before You Begin" |
Section 2.2, "Creating a Page" |
Section 2.3, "Adding a Portlet to a Page" |
Section 2.4, "Providing Access to a Page" |
Section 2.5, "Lesson Summary" |

## 2.1 Before You Begin

You must start and log on to Oracle Portal. For instructions on how to do this, see Section 1.2, "Starting and Logging on to Oracle Portal".

## 2.2 Creating a Page

A page is the face of a portal; it is what users see and use to interact with the information provided by the portal.

Suppose you are a portal administrator, working in the IT department of Healthy Living Wholesalers. You have been asked to create a portal to provide Healthy Living employees with unified access to corporate information and applications, as well as frequently used external information. The first thing you need to do is create the page that will act as the entry point to this information.

1. In the shortcut bar, click .

2. If you are not already on the Pages tab of the Navigator, click Pages.

3. If you are not already at the root level, click Pages in the Path.

4. In the My Pages row, click Create.

5. In the Name field, enter `<YourName>healthyliving`, where YourName is your own user name.

   Note: Throughout this tutorial you add your user name to the beginning of names and display names to make sure that the object you are creating is unique, and is easy to find later.

6. In the Display Name field, enter `<YourName>'s Healthy Living Page`.

7. You can accept the defaults on the rest of the page, so click Next.

8. In the Layout Template list, choose Two Column Layout.

   The page layout determines how many rows and columns your page will have. These rows and columns form squares called regions, into which you will place content.

9. In the Style list, choose Healthy Living Page Style.

   The page style determines the colors and fonts that appear on your page.

10. Click Finish.

    You new page displays. You won't see the two columns specified by the layout until you add content to the page.

## 2.3 Adding a Portlet to a Page

Portlets represent and provide access to Web-based information sources: Web pages, applications, business intelligence reports, syndicated content feeds, or other resources can be accessed through a portlet. In addition, Oracle Portal provides Web publishing services to create and manage portlets for content managed by Oracle Portal.

### 2.3.1 Adding a folder portlet

Let's assume that the Healthy Living employee page needs to provide access to information about the company. An easy way to implement such a portlet is using Oracle Portal's content area publishing service. For this example, this portlet has already been created; you simply need to add it to the page you just created.

Note: For information about how to create such a content area, see Chapter 3, "Maintaining a Content Area".

1. At the top of your Healthy Living page, click Customize Page.

   Tip: To customize a page when you are not currently viewing it, locate the page in the Navigator and click Edit.

2. In the Customize for list, make sure Others is chosen.

   Choosing this option causes the changes you make to be visible to all users of the page, not just yourself.

3. In the left region, click .

4. In the View By list, make sure Provider is chosen.

5. Under the HLW provider, click next to the For Our Employees folder.

6. Click OK.

7. Click Close.

   A portlet containing the home page of the Healthy Living Wholesalers content area now displays on the page.

### 2.3.2 Adding an application component portlet

Let's also assume that Healthy Living Wholesaler employees need access to information about employees within the company and the departments in which they work. An easy way to implement such a portlet is using Oracle Portal's components publishing service. For this example, this portlet has already been created; you simply need to add it to the home page you created earlier.

Note: For information about how to create such a component, see Chapter 5, "Building Application Components".

1. At the top of your Healthy Living page, click Customize Page.

2. In the Customize for list, make sure Others is chosen.

3. In the right region, click .

4. Under the TUTORIAL30_APPLICATION provider, click next to the TUTORIAL_HRREPORT (View Employees by Department) report.

5. Click OK.

6. Click Close.

   A portlet containing the report now displays on the page.

### 2.3.3 Adding an Oracle Portal built-in portlet

Finally, let's also assume that Healthy Living Wholesaler employees need access to a list of their favorite Web sites and pages. An easy way to implement such a portlet is to use the built-in Favorites portlets that is provided with Oracle Portal.

1. At the top of your Healthy Living page, click Customize Page.

2. In the Customize for list, make sure Others is chosen.

3. In the left region, click .

4. You can preview what a portlet will look like in your page before you add it, by clicking the portlet name instead of .

   Under the Oracle Portal provider, click Favorites.

5. The portlet looks good, so click Add Portlet.

6. Click OK.

7. Click Close.

   The Favorites portlet is now included on your page. Now let's take a look at how the changes you have made have affected the page.

## 2.4 Providing Access to a Page

You can assign different users different levels of access to a page to control exactly what they can see and interact with. For example, you will want only Human Resources staff to see some of the more sensitive employee information, such as salary.

### 2.4.1 Giving access to everyone

You can provide the greatest level of access to the page by making it available to public users. This means that anyone who can connect to the machine where the page is stored can view the page without having to log on.

Since the portal is corporate-wide, you should make it available to all Healthy Living employees.

1. At the top of your Healthy Living page, click Customize Page.

2. Click the Access tab.

3. Make sure the Display Page To Public Users check box is selected.

   With this check box selected, all users with access to the Healthy Living Intranet can view the page.

### 2.4.2 Giving access to a specific user

If you want a specific user to be able to do more than simply view a page, you need to explicitly grant that user additional privileges.

Suppose you want certain users to be able to add new portlets to the Healthy Living page, or remove the existing portlets. In the following exercise you will grant the user HLW_USER Edit Portlets privileges on the page.

1. In the Grantee field, enter `HLW_EMPLOYEE`.

2. In the list next to the Grantee field, choose Edit Contents.

3. Click Add.

   Here, you can also remove users by clicking next to their names, or modify their privileges by choosing the privilege from the Privilege list and clicking Apply.

   Note: As its creator, you are automatically given full control privileges (the highest available) on the page.

### 2.4.3 Giving access to a group of users

You can grant privileges to multiple users in a single operation by using groups. When you grant privileges to a group, all the users who are members of that group are granted those privileges.

Suppose you want to allow many users to add other portlets to the page, but not delete the existing portlets. You can give a group of users the Customization (Add-only) privilege.

1. In the Grantee field, enter `HLW_HR`.

2. In the list next to the Grantee field, choose Customization (Add-only).

3. Click Add.

4. Click OK.

## 2.5 Lesson Summary

Congratulations! You have created a page, and given users access to it. You now know how to:

- Create a page

- Add portlets to a page

- Provide access to a page

For more advanced examples of what you can do with pages, see the Oracle Portal Building Advanced Portals manual.

For any other information about building pages, see the Oracle Portal online help.

| Copyright © 2000 Oracle Corporation. All Rights Reserved. |
Library | Service | Contents | Index