# Tutorial: Showing Personalized Content in a Portlet

This tutorial has you develop personalization functionality and surface that functionality in a portlet. The tutorial takes about 30 minutes to complete.

## Tutorial Goals

At the end of this tutorial you will have created a portlet that displays different personalized content to different users.

## Tutorial Overview

The WebLogic Workshop Portal Extensions include a graphical Portal Designer that lets you create and surface application functionality easily and quickly in a sophisticated portal interface. In this tutorial you will use the WebLogic Workshop Portal Extensions and the WebLogic Administration Portal to create the users, properties, content, and code that results in a complete personalization solution. You will perform minimal JSP development using Portal JSP tags in an easy-to-use, integrated interface.

## Steps in This Tutorial

Step 1: Start WebLogic Workshop, Open an Application, and Start WebLogic Server — 5 minutes

In this step you start WebLogic Workshop, open the sample portal application, and start WebLogic Server.

Step 2: Create a User Profile Property Set — 5 minutes

In this step you will create the user properties that uniquely identify authenticated users and determine what the users see.

Step 3: Create Two Users — 5 minutes

In this step you will create two test users and assign property values to them.

Step 4: Load Content— 5 minutes

In this step you will load content into the BEA Virtual Content Repository.

Step 5: Create Two Content Selectors — 5 minutes

In this step you will create two content selectors, each of which will provide personalized content to different types of users.

Step 6: Create a Portlet — 3 minutes

In this step you will create a portlet and a JSP by simply dragging and dropping a content selector into a portal.

Step 7: Modify the JSP — 3 minutes

In this step you will open the new JSP, view the automatically generated code, and add the second content selector code to the JSP.

Step 8: Test the Personalized Portlet — 5 minutes

In this step you will log in as both users to see the personalized portlet in action.

Click the following arrow to navigate through the tutorial: