# How Do I: Add Portal Functionality to an Existing Page Flow Application?

Page flow applications can be created first, and then be "portal-ized" by using WebLogic Workshop to add the Portal Extensions components to the existing application.

To Add Portal Functionality to an Existing Page Flow Application

1. Open the application in WebLogic Workshop.
2. Right-click the Web application (Project) in the Application panel and select Install Portal.
3. Create a new Portal
4. Drag the Page Flow into a placeholder in the portal design view.
5. As you drag the Page Flow into the placeholder, You will be asked if you want to create a portlet from the .jpf. If you select Yes, the portlet wizard is launched.
6. If necessary, edit the page flow and JSPs, replacing direct navigational references to JSPs and HTML pages with page flow actions.
7. As you edit the page flow, verify the navigation by opening a viewer that will preview the pages without the portal. For example, point your browser to http://localhost:7001/YourWebApp/YourPageFlow/SimpleController.jpf.
8. When the navigation and interaction works within the page flow, preview the portlet by navigating to YourWebappp/portal.portal.
9. Verify that references to individual portlets are correct.

   NOTE: WebLogic Workshop forces each portlet instance name to be unique within a portal Web application.

10. Since the source files in the application have been placed in a new directory structure, verify links to resources such as cascading style sheets, JSP includes, and images.

Related Topics

What is a Portal?

Portal Key Concepts and Architecture

Developing Portal Applications

Building Portlets