18.13 Example: Using Dreamweaver to Edit Portal Page Content

Dreamweaver supports the WebDAV LOCK and UNLOCK methods. This means you can use Dreamweaver to check items in and out of Oracle Portal while you are working on them.

In this example, a user called Scott uses Dreamweaver to view and edit a document in a page in the My Portal page group. The example uses Dreamweaver MX.

Figure 18-7 Dreamweaver MX Example

Description of Figure 18-7 follows
Description of "Figure 18-7 Dreamweaver MX Example"

To use Dreamweaver MX to edit the content of a page:

  1. Open Dreamweaver.

  2. Choose Site then New Site from the menu to set up a new site for the portal.

  3. Click the Advanced tab and, from the Category list, choose Local Info.

  4. Enter the Site Name, for example, My Portal.

  5. Enter the Local Root Folder in which to store portal files while working on them, for example, D:\My Work\My Portal.

  6. From the Category list, choose Remote Info.

  7. For Access, choose WebDAV.

  8. Click Settings.

  9. Enter the WebDAV URL for the portal and your portal user name and password.

    If you want to make use of the check-in and -out functionality, you must also provide your e-mail address.

  10. Click OK to return to the Site Definition dialog box.

  11. Clear the Check Out Files when Opening check box to be able to view files without checking them out first.

  12. Click OK to create the new site.

  13. In the Site window, click the Connect icon to connect to the portal.

    You can now see a folder for each of the page groups in the portal. The top-level folders represent the root pages of the page groups.

  14. Double-click a page group name to drill down and see a folder for each of the pages.

  15. Double-click a page to drill down further and view items.

    For example, within the mypage folder Scott can see the files associated with items in the page, such as an HTML document (MYDOCUMENT.HTM). See Figure 18-7.

  16. Right-click a file, then choose Check Out.

    A copy of the file is placed in the local folder you identified earlier.

  17. In the portal, display the page and note that there is no Edit icon next to the item associated with the file.

    The file cannot be edited because it is locked by a WebDAV client.

  18. Click the Actions icon and note that actions on the item are not available because it is checked out.

  19. In Dreamweaver, double-click the file to open it for editing.

  20. Edit the file, then save and close it.

  21. Right-click the file and then choose Check In.

  22. In the portal, refresh the page.

    Other users can now view and edit the updated version of this item.


You can use Dreamweaver's Synchronize feature to keep the files you store on your local file system synchronized with the content in the portal.