Content Management Guide

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Using WebDAV with Your BEA Repository

WebDAV is a protocol that allows you to communicate with a web server via Internet Explorer and other applications. When you configure WebDAV for your BEA repository, content contributors can save files directly to the BEA repository from Windows Explorer and other Microsoft applications.

Note: For more information about WebDAV, see the WebDAV website.

This chapter includes the following sections:

 


WebDAV Overview

Adding WebDAV support to your BEA repository effectively adds a new suite of applications to access, create and update content. Content contributors can add files to a BEA repository using Windows Explorer or from Microsoft Office applications.

Before adding WebDAV support to your repository, please review the following guidelines and requirements.

WebDAV Guidelines

In summary, the WebDAV service requires certain directory structures to be in place and content names must match the associated binary file.

When adding content to your repository using WebDAV, use the following guidelines:

Supported Versions of Microsoft Office

WebLogic Portal's implementation of WebDAV requires Microsoft Office 2000, SP3 or greater, with MSDAIPP.dll version 8.103.3521.0. For additional details about Microsoft's support for WebDAV, see http://www.greenbytes.de/tech/webdav/webfolder-client-list.html.

 


Enabling WebDAV for Your BEA Repository

Before you can use WebDAV with your BEA repository, you must prepare your repository. You need to create a default content type for applications to use when you save content directly to your repository. For example, you can enable all WebDAV content to use the press release content type. For more information about content types, see Content Types Overview.

You also enable your repository to recognize WebDAV content by defining a WebDAV property for your repository. For more information about repository properties, see Modifying a BEA Repository.

This section discusses the following topics:

Using Content Types with WebDAV

When users add content to your repository using WebDAV (Internet Explorer, Microsoft Word, and so on), the content they add is associated with a content type. It will either be associated with the default content type you configure, or use a content type that has been associated with the folder to which they add the content. For more information about content types and folders, see Using Content Folders in Your BEA Repository.

Note: If you are using a filesystem repository, you cannot associate content types with folders. Therefore, when using a filesystem repository with WebDAV, all content added to the repository uses the default content type.

You can either use an existing content type as your default WebDAV type or create a new one.

WebDAV can use an existing type as long as the content type has at least one binary property. When a user adds content to your repository using WebDAV, the only property within the content type that is assigned a value is the binary property, unless default values are set for properties within the content type.

If you want to add a new content type to use for your default WebDAV type, see Understanding Content Type Properties.

How WebDAV Determines Which Content Type to Use

When a user adds a file to your repository using WebDAV, WebDAV associates the content either with the content type you have configured for your repository or the content type associated with the folder within the repository where the content is saved. WebDAV automatically fills in system properties for the content type, but users need to log in to the Portal Administration Console to complete administrator-defined properties.

If no content type is associated with the immediate folder, WebDAV iterates up the repository tree until it finds the first content type associated with a folder. If no content type is associated with any content folder WebDAV finds, it uses the content type associated with the repository. In the example shown in Figure 7-1, if no content type is associated with the Biographies folder, content added to that folder would use the content type associated with the Books folder.

Figure 7-1 Using Content Types with Folders for WebDAV Content

Using Content Types with Folders for WebDAV Content

For more information about associating a content type with a folder, see Creating a Folder.

Enabling WebDAV for Your Repository

To enable a repository within the Virtual Content Repository to use WebDAV, you need to modify the repository properties. This includes adding a WebDAV property so the repository recognizes the integration. You also need to specify the content type that will be associated with content added through WebDAV.

You can only use WebDAV with one repository at a time. You cannot use WebDAV with multiple repositories within the Virtual Content Repository.

To enable WebDAV for a BEA repository within your Virtual Content Repository:

  1. Select Manage | Repository to list the available repositories.
  2. In the Manage | Repositories tree, click the respective BEA repository to view the Repository Summary.
  3. In the Properties section, click Add Property.
    1. In the Name field, enter WEBDAV_ENABLED.
    2. In the Value field, enter true.
    3. Click Save.
  4. In the Properties section, click Add Property.
    1. In the Name field, enter WEBDAV_TYPE.
    2. In the Value field, enter the name of the new content type you defined in Using Content Types with WebDAV
    3. Click Save.

Disabling WebDAV

If you want to disable WebDAV for a BEA repository, do the following:

  1. In the Manage | Repositories tree, click the respective BEA repository to view the Repository Summary.
  2. Click Repository Details.
  3. For the WEBDAV_ENABLED property, enter a value of false.
  4. Click Save.

 


Using WebDAV with Your BEA Repository

Content contributors must configure their individual environments to take advantage of WebDAV features. Supported applications include Windows Explorer and Microsoft Office programs. The following procedure enables all WebDAV capabilities that are supported by WebLogic Portal.

This section includes the following topics:

Enabling WebDAV for an Environment

In order to use WebDAV from their local machine, content contributors must enable their environments to recognize the repository as a web location to which to save files.

To enable WebDAV for an individual environment,

  1. Open Internet Explorer.
  2. Choose File > Open to view the Open dialog.
  3. In the Open dialog, enter the URL where WebDAV is running. For example, http://<host_machine>:<port>/<portalEARName>Webdav.
  4. Mark the Open as Web Folder check box.
  5. Click OK.
  6. You are asked to login to the BEA repository, enter your login name and password.

The BEA Repository is listed as a folder within Windows Explorer. You can use Windows Explorer to browse the content in BEA repository like you would any other folder.

Adding a Microsoft Word Document to a BEA Repository

If you have configured your local environment to use WebDav, you can save files directly to your repository from Microsoft Office programs. This example explains how to add a a Microsoft Word document to a BEA repository.

Note: When adding content to a BEA repository, you need to follow the WebDAV guidelines, see WebDAV Guidelines.
  1. Within Microsoft Word, choose File > Save As.
  2. Within the Save As dialog, navigate to the location of your BEA repository.
  3. Click Save.
  4. If you have not already logged into the BEA repository, you are prompted to log in.

The file is added to the repository using the default content type and automatically fills in default values and system properties such as the version number, the date and so on, see Disabling WebDAV for more information.

After adding a file to the repository, log in to the Portal Administration Console and use the Virtual Content Repository to associate additional content properties with the file you just added. For more information about adding content properties, see Adding Content.

Using Windows Explorer Add a File to the BEA Repository

You can add files to your BEA repository using Windows Explorer. You can drag-and-drop files to folders within your repository.

Note: When adding content to a BEA repository, you need to follow the WebDAV guidelines, see WebDAV Guidelines.

  Back to Top       Previous  Next