7.8 Selecting Default Regions for Content Uploads

When users add items to a page by some means other than the Graphical or Layout view of the page—such as through List view, a WebDAV client, or through unzipping a Zip file in your portal—Oracle Portal must determine the region where the items should be placed.

For example, if a user adds an item to a page using a WebDAV client, that user has no way of specifying the region where the item should be placed. The same is true when a user adds content by unzipping a Zip file. To address this, Oracle Portal provides an option for specifying a page's default item region.

You can also specify a default portlet region. This is useful particularly with Portal Templates. When a user applies a Portal Template to a page that is already populated with content, users are presented with a region mapping interface where the default portlet region is offered as the first option for placement of any portlets on the source page.

For example, imagine that you are applying a Portal Template to a page that is already populated with content. The source page has two portlet regions. You apply a Portal Template to it. The Portal Template has three portlet regions. You are presented with a mapping interface where you can indicate which regions on the source should map to which regions on the template. The default portlet region is the first option presented for placement of the source portlets. You can make an alternate selection if you wish.

Note:

For more information about default item regions and WebDAV, see Chapter 18, "Using WebDAV Clients with Oracle Portal".

You can identify default item and portlet regions on pages or on Portal Templates for pages (for more information about templates, see Section 12.1.1, "What Are Portal Templates?"). Template default regions are enforced on the pages that use the template. Such pages cannot specify their own default regions.

If you do not explicitly select a default item or portlet region on a page or Portal Template, Oracle Portal selects its own defaults: the second item and portlet regions on the page. The second region is selected, rather than the first, to avoid placing content in regions intended for navigation elements. If the page does not have an eligible portlet or item region, an undefined region is used as the default region. If an item is added, the undefined region becomes an item region; if a portlet is added, the undefined region becomes a portlet region.

This section describes how to select default regions for pages and Portal Templates. It includes the following subsections:

7.8.1 Selecting Default Regions for a Page

To select default portlet and item regions for a page:

  1. Log in to Oracle Portal.

  2. Click the Build tab to bring it forward.

  3. From the Page Groups portlet Work In drop-down list, select the page group that owns the page for which to select a default region.

    By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

  4. Under the Pages heading in the Layout & Appearance section, click the link to the page.

    This opens the page in Edit mode.

  5. Click the Page: Properties link in the toolbar at the top of the page.

  6. On the resulting page, click the Items tab to bring it forward.

  7. In the Default Region section, select the region type to configure from the Default Region Type list.

    Choose from:

    • Default Portlet Region

    • Default Item Region

  8. Select the radio button in the region to identify as the page's default portlet or item region.

    Note:

    You can see radio buttons only in the regions of the type chosen in the Default Region Type list. That is, you can only select a portlet region as the default portlet region and an item region as the default item region.

    You cannot select an undefined region as a default region. You must edit the region to explicitly make it a portlet or item region first.

  9. Click OK to save your change and return to the page.

Whenever users upload content to this page using some means other than the portal itself, the content will be placed in the default region you have selected here.

7.8.2 Selecting a Default Region for a Portal Template

To select a default region for a Portal Template:

  1. Log in to Oracle Portal.

  2. Click the Build tab to bring it forward.

  3. From the Page Groups portlet Work In drop-down list, select the page group that owns the relevant page.

    By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

  4. Under the Portal Templates heading in the Layout & Appearance section, click the link to the relevant Portal Template.

    This opens the template in Edit mode.

  5. Click the Template: Properties link in the toolbar at the top of the template.

  6. On the resulting page, click the Items tab to bring it forward.

  7. In the Default Region section, select the region type to configure from the Default Region Type list.

    Choose from:

    • Default Portlet Region

    • Default Item Region

  8. Select the radio button in the region to identify as the template's default portlet or item region.

    Note:

    You can see radio buttons only in the regions of the type chosen in the Default Region Type list. That is, you can only select a portlet region as the default portlet region and an item region as the default item region.

    You cannot select an undefined region as a default region. You must edit the region to explicitly make it a portlet or item region first.

  9. Click OK to save your change and return to the template.

Whenever users upload content to a page that is based on the template using some means other than the portal itself, the content will be placed in the default region you have selected here.