Getting started with Portal Interface  Starting and stopping the system

Chapter 3: Getting Started

Getting started with Web Studio

This section provides a quick tutorial for using the Web Studio. In this tutorial, create an interactive portlet using an existing Web portlet. For detailed information, see the Enterprise Portal – Information Edition Feature Guide and the Enterprise Portal Development Guide.

NoteYou must use Internet Explorer 5.5 or 6.0 to access Web Studio.

StepsLogging in to Web Studio

  1. Open a new browser window, and enter:

    http://HOSTNAME.PORTALDOMAIN:port/onepage/
    index.html
    

    where:

  2. In the User Name field, enter:

    opsuper
    
  3. In the Password field, enter:

    0psuper
    

    The first character is zero. The Web Studio window displays.

StepsCreating an interactive Web element (stock quote)

  1. Select Portlets in the left pane.

  2. Select New from the Portlet Manager toolbar, and click the New button to open Portlet Builder.

  3. Click the down arrow next to Add, and select Web Element from the drop-down list, or click Add, which opens the Web Element wizard.

  4. In the Location field, enter cbs.marketwatch.com, and click Find.

  5. If prompted, click the “Direct to cbs.marketwatch.com” link.

  6. In the Enter Symbols field in the left pane, enter SY, and click the Quote/News arrow.

    Click Next in the upper-right corner.

  7. After the preview refreshes, click the word “Last” in the quote table. The cursor flag provides instructions.

  8. After the preview refreshes, click Select next to the option that displays the entire quote table. You can scroll up and down to view other formats.

    Click Next in the upper-right corner.

  9. After the preview refreshes, click the Variable box, which is next to the “symb” parameter.

  10. In the Display Name field, enter Symbol, and in the Default Value field, enter SY.

    Click Next in the upper-right corner.

  11. After the preview refreshes, enter Quote in the Element Name field.

    Click Next.

  12. In the Continuous Capture window, click Finish to close the Portlet Builder wizard.

  13. Test the portlet by entering IBM in the Symbol field, and clicking Update.

StepsSaving the portlet

  1. Click Save in the upper-left corner.

  2. In the Finish window:

    Content tab Enter Stock Quote in the Name field, and click In Context.

    Roles tab Click Add All to select all roles.

    Administration tab From the Category and Subcategory drop-down lists, select Business and Investing.

  3. Click Finish in the upper-right corner.

  4. In the confirmation pop-up, click OK.

  5. Click Close in the upper-right corner to close the Portlet Builder.

StepsApproving the portlet

  1. Click Portlet in the left pane, and click New in Portlet Manager Status menu. The new portlet loads in the detail pane.

  2. Right-click the Stock Quote portlet in the detail pane, and select Approval Status | Approved.

  3. From the Approval Status submenu, and select Approved.

  4. In the confirmation pop-up, click OK. The portlet is now listed under the Approved Status menu.

StepsUpdating the portlet catalog

  1. In the left pane, click Catalogs.

  2. From the Catalog Manager menu, click the Approved branch in the Status tree.

  3. Double-click the Default Catalog with version 1.0.

  4. In the Catalog Builder window, select the Search branch.

    Click Add in the Catalog Builder toolbar.

  5. From the Find Portlet pop-up, click Search.

  6. From the Find Portlet result list, select the Stock Quote portlet, and click Add. The Find Portlet window closes.

  7. In the Catalog Builder toolbar, click Save.

  8. In the confirmation pop-up window, click OK.

  9. Click Close in the upper-right corner. The Catalog Builder closes.

StepsApproving the updated portlet catalog

  1. From the Catalog Manager, under the Status tree, click the New branch.

  2. In the Catalog Manager detail view, right-click Default Catalog version 1.1.

  3. Scroll down to the Approval Status selection. From the Approval Status submenu, select Approved.

  4. In the confirmation pop-up, click OK.

StepsMaking the updated portlet catalog active

  1. From the Catalog Manager menu, under the Status tree, click the Approved branch.

  2. In the Catalog Manager detail view, right-click the Default Catalog version 2.0.

  3. Scroll down to the Active selection, and from the Active submenu, select Yes.

  4. In the warning pop-up window, click OK.

  5. In the confirmation pop-up window, click OK.

StepsUpdating the Portal Interface

  1. Select Update from the Catalog Manager toolbar.

  2. Click OK in the confirmation pop-up.

StepsAdding the stock quote portlet to the demo page

  1. Log in to the Portal Interface using the same account you used in “Getting started with Portal Interface”.

  2. Select the myTest page.

  3. Click Add Portlet.

  4. Click the Search branch.

  5. Click the Stock Quote portlet.

  6. Click Done to close the Add Portlet pop-up.

  7. Use the vertical scroll bar to scroll down to view the Stock Quote portlet.

  8. In the Stock Quote portlet, enter IBM in the Symbol input field.

  9. Click OK to display IBM quote information.

For information about creating advanced interactive portlets from Web, XML, database, and JSP sources, see Chapter 2 of the Enterprise Portal Developer’s Guide.





Copyright © 2004. Sybase Inc. All rights reserved. Starting and stopping the system

View this book as PDF