The WebLogic Portal Administration Console is the tool that portal administrators use to not only control the behavior, content, and appearance of portals, but to perform many traditional system administration activities such as user management and security management as well. This tutorial focuses on basic tasks that assemble portals into desktops.
The WebLogic Portal Administration Console is organized according to the following categories of tasks:
Portal Management – Portals, desktops, books, pages, portlets, and other portal resources.
Before you can begin using the WebLogic Portal Administration Console, the server must be running. Depending on the state of your Workshop for WebLogic workbench, you might need to start the server before opening the Administration Console.
Start Workshop for WebLogic and return to the workspace that you used for the previous tutorials:
In the Servers view, click the server to select it.
Click Start in the Servers view toolbar.
Wait while Workshop for WebLogic starts the server. This process might take some time, depending on the speed of your system.When the process completes, the Status column in the Servers view displays Started and the square Stop the Server button becomes active.
Click myPortal.portal in the Package Explorer view to select it.
From the main menu, select Run > Open Portal Administration Console, as shown in the example in Figure 4-1.
Figure 4-1 Menu Selection for Run > Open Portal Administration Console
The Administration Console login dialog appears.
Log in to the Administration Console
The Administration Console login dialog requires a WebLogic Server system administrator or a WebLogic Portal administrator user name and password. WebLogic Server system administrators have full security privileges for the entire domain and can log in to and use the WebLogic Server Administration Console tools. WebLogic Portal administrators have full security privileges for a Portal Web Project, which can include multiple portals.
Table 4-1 shows the default system administrator user names and passwords:
Table 4-1 Default User Names and Passwords for the WebLogic Portal Administration Console
Administrator for the portal domain
WebLogic Server system administrator with full privileges in the domain
For purposes of this tutorial, you will use the default WebLogic Server login so that you have full privileges.
To log in to the WebLogic Portal Administration Console, follow these steps:
Type the user name weblogic and password weblogic into the dialog and click Sign In.
The main menu of the Administration Console displays.
Figure 4-2 Administration Console Main Page
Create a Portal and Desktop
To create a desktop, you first create a portal to contain it.
To create a portal and desktop, follow these steps:
Click the Portal Management menu shortcut on the Administration Console home page.
The Portal Management page displays; the Portal Resources tree displays in the left pane of the page, as shown in Figure 4-3.
Figure 4-3 Portal Resources Tree in the Administration Console
The Portals page displays, with the Browse Portals tab active. Because no portals exist yet, the table containing portals is empty.
Click Create New Portal.
The Create a New Portal dialog displays, as shown in Figure 4-4.
Figure 4-4 Create a New Portal Dialog in Administration Console
Enter values for the portal, using Table 4-2 as a guide:
Table 4-2 Create a New Portal Dialog Field Descriptions
URI (default resource)
Click Create New Portal.
When the Portals page displays again, the Browse Portals table includes the portal you created, and the Portal Resources tree includes the new portal.
Click myPortal in the Browse Portals table to view the details for this portal.
The Portals page displays, with the Browse Desktops tab active. Because no desktops exist yet, the table containing desktops is empty.
Click Create New Desktop.
The Create Desktop wizard displays, as shown in Figure 4-5.
Figure 4-5 Create Desktop Wizard in Administration Console
Enter values for the desktop in the appropriate wizard pages, using Table 4-3 as your guide:
Table 4-3 Create Desktop Wizard Field Descriptions
Field or Selection
Step 1: Select how you want to create a desktop...
Select a .portal file radio button.
Step 2: Select a .portal file
Click Show All.
The portal you created using Workshop for WebLogic displays in the list.
Click to select myPortal.portal.
Step 3: Enter desktop properties...
Title – myDesktop
Description – general desktop
Partial URL – myDesktop
Default Shell – (leave as is)
Look and Feel – (leave as is)
Click Review Properties to review the desktop properties, and Create Desktop again to create the desktop.
A confirmation dialog confirms that the desktop has been created and displays related information.
Click Finish to return to the main Administration Console page.
The Browse Desktops table includes the desktop you created, and the Portal Resources tree includes the new desktop, as shown in Figure 4-6, which shows the expanded tree.
Figure 4-6 New Desktop in Portal Resources Tree
Notice that the portlets that you created for this portal (which was used as the template for this desktop) appear automatically in the new desktop.
Update the Desktop Page Contents to Rearrange Portlets
In this task you view the portlets for a desktop page—the portlets that you created using Workshop for WebLogic—and rearrange them on the page. Then you will view your work.
To update your desktop page, follow these steps:
In the Portal Resources tree for myPortalWebProject, expand the tree to display the pages for the desktop, as shown in Figure 4-7.
Figure 4-7 Expanded Portal Resources Tree Showing Desktop Pages
Click Page 1 to select it.
The Page 1 details display in the right pane of the Administration Console.
Select the Edit Contents tab; it appears, as shown in Figure 4-8.
Figure 4-8 Page 1 Edit Contents Tab
Drag the Browser Portlet into the same placeholder as the Simple JSP Portlet, as shown in Figure 4-9.
Figure 4-9 Moving the Browser Portlet by Dragging
When you release the portlet, it displays above the Simple JSP Portlet, as shown in Figure 4-10.
Click Save Changes.
Figure 4-10 Result After Moving the Browser Portlet in the Administration Console
In the Portal Resources tree, click myDesktop to display the Details page.
Click View Desktop.
The desktop displays in a browser, with the portlets in their new positions, as shown in Figure 4-11.
Figure 4-11 Desktop in Browser Showing Moved Portlets
Create a New Page on the Desktop
In this task, you will create a new page for your desktop. Follow these steps:
In the Portal Resources tree for myPortalWebProject, expand the Library node in the tree to display the pages, as shown in Figure 4-12.
Figure 4-12 Expanded Portal Resources Tree Showing Desktop Pages
Click Pages to display the Browse Pages tab, as shown in Figure 4-13.
Figure 4-13 Browse Pages Tab
Click Create New Page.
The Create New Page dialog displays, as shown in Figure 4-14.
Figure 4-14 Create New Page Dialog in Administration Console
Enter values for the new page, using Table 4-4 as a guide:
Table 4-4 Create New Page – Field Descriptions
new page for tutorial
Three Column Layout
(leave as is - None)
(leave as is - unchecked)
The new page is added, and is displayed in the Details page for the desktop; the Portal Resources tree updates to include the new page, as shown in Figure 4-15.
Figure 4-15 New Page Added to the Portal Resources Tree
With the completion of this tutorial, you have created a basic desktop and performed some additional tasks to become familiar with the staging environment and the WebLogic Portal Administration Console.
To get started with actual portal development and desktop staging, refer to WebLogic Portal document library on e-docs.