bea.com | products | dev2dev | support | askBEA |
|
e-docs > WebLogic Platform > WebLogic Portal > Administration Guide > Tutorial - Creating a Group Portal |
Administration Guide |
Tutorial - Creating a Group Portal
A portal contains a potentially large number of pages and portlets. However, it may not be appropriate or useful for everyone who visits the portal to see all those pages and portlets.
With Group Portals you can create many different views of a portal for portal visitors. Each Group Portal can have its own look and feel, display specific pages and portlets, and have its own administrators, allowing different groups of visitors to see a customized portal that can be administered by a dedicated Group Portal administrator.
You can create a Group Portal in two ways:
This tutorial includes the following steps:
Step 1: Create a Group on Which to Base the Group Portal
To create a Group Portal in an existing portal, you must associate the Group Portal with an existing user group. Then, when a visitor belonging to that user group logs in, the visitor sees the appearance and content of the portal that is defined by the Group Portal view.
This step shows you how to create a new group (and add a user to it) so you can create a Group Portal based on that group.
Figure 5-1 Clicking the User Management Icon
Figure 5-2 User Management Home Page
Figure 5-3 Adding a Group
Figure 5-4 Creating the New Group
Figure 5-5 The New Group is Displayed
Figure 5-6 Creating a New User
Figure 5-7 Entering a Username and Password for the New User
Figure 5-8 Accessing Groups
Figure 5-9 Editing the New Group
Figure 5-10 Clicking the +/- icon
Figure 5-11 Adding the New User
Step 2: Create a Group Portal in an Existing Portal
Now that you have created a user group, you can create a Group Portal based on that group.
Figure 5-12 Clicking the Portal Management Icon
The Portal Management Home page (Figure 5-13) shows all Web applications (portals) that have been deployed. Under each Web application is a list of the Group Portals that have been defined for each. In this example, the mynewwebapp portal was created in the previous tutorial.
For this tutorial, however, you will add a Group Portal to the sampleportal portal.
Figure 5-13 Portal Management Home Page
Figure 5-14 Creating a New Group Portal
Figure 5-15 Associating a User Group with the Group Portal
Figure 5-16 Selecting a Group Portal Template
When a visitor belonging to MyNewGroup logs in, the visitor will see the view of the portal defined by My New Group Portal.
Step 3: Customize the Group Portal
In this step, you will modify My New Group Portal to define a different view of the portal. When a visitor belonging to the Group Portal logs in, the visitor will see this view of the portal.
Figure 5-19 Modifying the New Group Portal
Figure 5-20 Changing Skins for the Group Portal
Figure 5-21 Changing the Default Skin
Figure 5-22 Editing Portlets
Figure 5-23 Selecting All Portlets to Make Them Unavailable
Figure 5-24 Making Portlets Unavailable on the Home Page
Figure 5-26 Making Portlets Available in the Group Portal
Figure 5-27 Positioning Portlets on the Home Page
Figure 5-28 Viewing the Position of the Portlets
Now view your new Group Portal.
Step 4: View the Group Portal Site
Now that you have created and configured your new Group Portal, you can view the new Group Portal site. You will first access the default Group Portal by going to the portal's URL, then you will log in as the new user you created, which lets you view the Group Portal that the user can access.
http://localhost:7501/sampleportal
Notice the skin and the portlets on the home page. They are just as you configured them in this tutorial.
If you click the web tab, that page shows additional portlets. This is because you made portlet modifications to only the home page, not the web page. To make portlet modifications to the web page, follow Step 3: Customize the Group Portal and click Edit Portlets and Position Portlets in the Web row (see Figure 5-22).