45 Adding Announcements to a Portal

You can set up announcements in a portal for members. Announcements offer a quick, convenient way to create and broadcast messages instantly or at a specified future time. Portal managers provide portal participants with access to the Announcements task flows or page (console).

Permissions:

To perform the tasks in this chapter, you must be a portal manager or member with Manage Security and Configuration or Manage Configuration permission in the portal.

At the minimum, to work with announcements, you must have the following permissions:

  • Create, Edit, and Delete Announcements or Create and Edit Announcements

  • Edit Pages (to add the Announcements task flow to a page)

  • Edit Task Flows (to modify the task flow, if necessary)

See About Roles and Permissions for a Portal.

45.1 Prerequisites for Announcements

For announcements to work, the system administrator needs to perform the following task for WebCenter Portal:

  • Install and configure the Discussion Server and make sure that the connection between the two applications is active. Discussions and announcements require a single connection to WebCenter Portal's Discussion Server. For more information, see Managing Announcements and Discussions in Oracle Fusion Middleware Administering Oracle WebCenter Portal.

See Also:

Troubleshooting Issues with Announcements and Discussions in Oracle Fusion Middleware Administering Oracle WebCenter Portal

To make announcements available in a portal, the portal manager or anyone with Manage Security and Configuration or Manage Configuration permission must perform the following tasks:

Note:

For information about the announcements feature and how to use announcements, see Working with the Announcements Task Flow.

45.2 About Announcements

WebCenter Portal provides the ability to post announcements about important activities and events to all authenticated users. For example, a portal manager can announce the availability of a new feature or the plan to take a portal offline temporarily for maintenance or the system administrator can announce the plan to shut down portal for maintenance (Figure 45-1).

Figure 45-1 Sample Announcement in the Announcements - Quick View Task Flow

Description of Figure 45-1 follows
Description of "Figure 45-1 Sample Announcement in the Announcements - Quick View Task Flow"

Announcements are integrated with many other features, such as Activity Stream, RSS, and presence, and you can link announcements to other tools, such as events and discussions. For example, if your company is announcing a new product, you can link from the announcement directly to a discussion forum, where potential customers can ask other customers about the product, or link to an instant messenger where customers can chat with a customer service representative about the product. Announcement titles and text are searchable with Oracle Secure Enterprise Search.

Announcements are limited to the portal where you create them. In the Home Portal, announcements are for WebCenter Portal (or application-wide), and are available to all logged-in (authenticated) users.

The Announcements tool is enabled in portals created with certain templates. If the Announcements tool is not included in the portal template, then you need to enable it in the portal. For information about enabling announcements in a portal, see Enabling and Disabling Tools and Services Available to a Portal. The Announcements task flow must also be in your resource catalog. For information see Adding a Resource to a Resource Catalog.

As the portal manager, you will need to provide users access to the Announcements task flows in one or more of the following ways:

45.3 Modifying Announcement Forum Settings for a Portal

Both announcements and discussions use the discussions server to store data. By default, WebCenter Portal creates a single announcement forum for a new portal after announcements is enabled. For more information, see Enabling and Disabling Tools and Services Available to a Portal. After enabling announcements, you can optionally modify the default settings to allocate a different forum for the portal (described in this section).

For more information about configuring and managing announcements, see Managing Announcements and Discussions in Oracle Fusion Middleware Administering Oracle WebCenter Portal.

To modify the announcement forum settings for a portal:

  1. On the Tools and Services page (see Accessing Tools and Services Administration for a Portal), select Announcements (Figure 45-2).

    Note the default forum ID specified for the portal.

    Figure 45-2 Portal Announcement Forum Settings

    Description of Figure 45-2 follows
    Description of "Figure 45-2 Portal Announcement Forum Settings"
  2. Click Choose a forum for portal icon next to the Forum ID field if you want to change the default Forum ID.
  3. Select another forum and click Select, or click Create Forum to create a new forum.

    If you create a new forum, enter the Forum Name and click Create.

    The Forum ID field is updated to show the updated forum ID.

    • All announcement views in the portal will show data from the new forum.

    • All new announcements for this portal will now be stored under the new forum ID.

    • All existing announcements and edits to those announcements for this portal will still be stored under the old forum ID.

    • Existing permissions are not copied to the new forum ID, so you must provide members with the required permissions to work with announcements.

  4. Click Save.

45.4 Adding an Announcements Page to a Portal

To provide navigation to the Announcements page in a portal, you can add a page link to the portal navigation, as described in Adding an Existing Page to the Portal Navigation.

Note:

The Announcements page (or console) is not automatically exposed when the tool is enabled or when the portal is created. However, if the portal template exposes the Announcements page, the portal will also automatically expose this page.

45.5 Adding an Announcements Task Flow to a Page

For the steps to add an Announcements or Announcements - Quick View task flow to a page, see Adding a Component to a Page.

Note:

The presence or location of the Announcements task flow in the resource catalog depends on how the resource catalog is configured. For example, in the Default Portal Catalog, the Announcements task flow is included under the Alerts and Updates folder.

The Announcements - Quick View task flow is not available in the Default Portal Catalog provided with WebCenter Portal, so you will only see an entry for it if it has been added to a custom resource catalog that has been made available to the page.

For more information, see Adding a Resource from the Resource Registry (in the Add Resource Catalog Item dialog, select Task Flows, then Design Time, then Announcements - Quick View). To use the custom resource catalog for editing portal pages, make sure it is Available, and set for use by pages in the portal, as described in Changing the Resource Catalogs in a Portal.

Figure 45-3 shows the Announcements task flow on a page.

Figure 45-3 Announcements - Quick View Task Flow on a Page

Description of Figure 45-3 follows
Description of "Figure 45-3 Announcements - Quick View Task Flow on a Page"

Users with Edit privileges can set the task flow's region parameter to the ID of the forum under which announcements must be created and stored.

Note:

The Announcements - Quick View task flow opens in a portal, regardless of the forum ID specified.

For more information about setting task flow properties, see Working with Announcements Task Flow Properties.

45.6 Working with Announcements Task Flow Properties

Announcements task flows have associated properties, which users with sufficient privileges can access through the task flows' View Actions menu. For example, select Parameters to display the Parameters dialog (Figure 45-4).

Figure 45-4 Announcements Task Flow Component Properties

Description of Figure 45-4 follows
Description of "Figure 45-4 Announcements Task Flow Component Properties"

The following sections provide information about properties of Announcements task flows and describe the task flow parameters.

45.6.1 Setting Announcements Task Flow Properties

In the page editor, selecting any component exposes a View Actions menu (Figure 45-5), which provides access to the component’s properties: Parameters, Access, Display Options, Style, and Content Style.

Figure 45-5 View Actions Menu on an Announcements Task Flow

Announcements View Actions menu

To set Announcements task flow properties:

  1. Open the page that contains the task flow in the page editor (see Opening a Page in the Page Editor).
  2. Select the task flow, then click the View Actions menu and select the properties you want to set:
    • Parameters control the default task flow content. For descriptions of each parameter, see Announcements Task Flow Parameters. Parameters can be wired to events, and can be used facilitate the wiring of the task flow to page parameters and page definition variables. For more information, see Wiring Pages and Components.

    • Access settings show or hide the component to specific roles, users, or groups. For more information, see Setting Component Access.

    • The Display Options, Style, and Content Style properties affect the appearance and behavior of the task flow for all users. These properties are common to all task flows. For more information, see Modifying Component Properties.

    The Parameters and Display Options dialogs provide access to an Expression Language (EL) editor, which you can use to select or specify a variable value instead of a constant value. Click the Expression Editor icon icon next to a property, then select Expression Builder to open the editor.

    Note:

    When you enter EL in the Display Options dialog, the parser reports an error only if it detects invalid syntax, such as a missing closing bracket. Validation is performed only on syntax, not on the expression value. Generic Display Options are those cataloged in Table 10-1.

    EL validation is not performed on non-generic display options.

    If you need EL assistance, an application developer can provide an EL expression; see Expression Language Expressions in Oracle Fusion Middleware Developing WebCenter Portal Assets and Custom Components with Oracle JDeveloper.

  3. Save your changes.

45.6.2 Announcements Task Flow Parameters

Table 45-1 describes the parameters that are unique to the Announcements task flows.

Table 45-1 Announcements Task Flow Parameters

Parameter Description Task Flow

Expand All Announcements in Extended Mini View

Select to display details for all announcements in the extended quick view. The default value is deselected, in which case announcements display the announcement title only.

Announcements - Quick View

Number of Expanded Announcements

The number of announcements to display announcement details. Announcements exceeding this value display the announcement title only. Use only when Content View Only is deselected.

Express values using the following formats:

  • Constant—Express a constant value, such as 2 or 5.

  • Page parameter—Enter a page parameter to grab the value from the page on which the task flow is placed. For more information, see Wiring Pages and Components.

  • EL expression—The default. Enter an Expression Language (EL) expression.

Announcements - Quick View

Content View Only

Select to remove the announcement title and display just the announcement content. Leave unchecked to render the title.

When selected, the values for Announcement Length and Number of Expanded Announcements are ignored.

Announcements - Quick View

Hide Toolbar

Hides the Announcements toolbar.

Announcements - Quick View

Navigate to Announcement Viewer

Select to navigate to the announcement resource. Default behavior (deselected) is to launch in a popup window.

Announcements - Quick View

Number of Announcements on Extended Mini View

The number of announcements to show in a page on extended mini view.

Announcements - Quick View

Forum ID

The ID of the forum under which announcements are created in the back-end discussions server.

In WebCenter Portal, this property is blank by default. However, internally it maps to the forum ID associated with the current portal. For Home portals, global (system) announcements are returned. You can edit this property to specify a different forum ID.

Announcements - Quick View

Announcements

Announcement Length

The number of characters to show in announcement details. Use only when Content View Only is deselected.

If no value is specified, then WebCenter Portal displays 200 characters.

This parameter takes effect with Number of Expanded Announcements.

Express values using the following formats:

  • Constant—Express a constant value, such as 200 or 500.

  • Page parameter—Enter a page parameter to grab the value from the page on which the task flow is placed. For more information, see Wiring Pages and Components.

  • EL expression—The default. Enter an Expression Language (EL) expression.

The value you enter for Announcement Length is ignored if Content View Only is selected.

Announcements - Quick View

Number of Announcements to Show

The number of announcements to show on the quick view.

Announcements - Quick View

45.7 Working with the Announcements Task Flow

Both the Announcements and the Announcements - Quick View task flows display current announcements. The Announcements task flow additionally offers tools for managing announcements within the task flow. With the Announcements - Quick View task flow, you must click the Open Announcement Manager icon to manage announcements.

The Announcements - Quick View task flow includes numerous parameters to customize your view. For example, administrator can remove the link to the Announcement Manager. This lets you present announcements to end users where manage controls are not needed. The task flow lists 10 announcements by default, but you can change this number and change how much of the announcement is displayed. The More Announcements ... link opens a popup window containing the complete list of all announcements with pagination behavior. This is called the Extended Quick View (or Extended Mini View).

As the portal manager, you can perform all the tasks with announcements:

  • View announcements in the Announcements task flow—All members with View Announcements permissions in Home Portals and portal managers. For more information, see Viewing Announcements in the Announcements Task Flow and Viewing Announcements in the Quick View Task Flow.

  • Create announcements—All members with Create and Edit Announcements permissions. For more information, see Creating an Announcement in Oracle Fusion Middleware Using Oracle WebCenter Portal.

  • Edit announcements—Creator of the announcement, discussions server administrators in Home Portals and portal managers. For more information, see Editing Announcements in Oracle Fusion Middleware Using Oracle WebCenter Portal.

    Note:

    If members have Create, Edit, and Delete Announcements permissions, they can edit any announcement in the portals in which they have access. If they have Create and Edit Announcements permissions, they can edit only those announcements that they created.

  • Delete announcements—Discussions server system administrators in Home Portals and portal managers. For more information, see Deleting an Announcement in Oracle Fusion Middleware Using Oracle WebCenter Portal.

    Note:

    If members have Create, Edit, and Delete Announcements permissions, they can delete any announcement in the portals in which they have access. If they have Create and Edit Announcements permissions, they can delete only those announcements that they created.

  • Send mail—All members. For more information, see Sending Mail from an Announcement in Oracle Fusion Middleware Using Oracle WebCenter Portal.

  • Find or create links—All members. For more information, see Linking Announcements in Oracle Fusion Middleware Using Oracle WebCenter Portal.

This section includes the following topics:

45.7.1 Viewing Announcements in the Announcements Task Flow

The Announcements task flow not only provides the tools to create, edit, and delete announcements, it also provides controls for determining when an announcement is published and when it expires and is consequently removed from the task flow. It provides Show lists for personalizing your view of announcements. After you create an announcement, you are offered the option to mail or link the announcement.

Depending on the privileges you have on the page and whether the required services are configured in WebCenter Portal, you may see only a subset of these options in the Announcement Manager. For example, the Delete icon is displayed only to users with manage privilege.

Discussions server administrators in Home portals and portal managers can access the Announcements task flow.

To view announcements in the Announcements task flow, either select the Announcements task flow on a page, or select the Announcements page.

Figure 45-6 shows some announcements in the Announcements task flow.

Figure 45-6 Announcements in the Announcements Task Flow

Description of Figure 45-6 follows
Description of "Figure 45-6 Announcements in the Announcements Task Flow"

Tip:

The way you access this page depends on the page template in use. For example, in a side navigation template, you may access it through a Manage menu.

You can also navigate to this page using the direct URL provided in WebCenter Portal Pretty URLs.

45.7.2 Working with the Announcements - Quick View Task Flow

The Announcements - Quick View task flow is essentially a viewer for convenient access to current announcements. More robust features, for such actions as creating and editing announcements, are offered in the Announcements task flow.

By default, announcements in the Announcements - Quick View task flow show announcement titles as links. But you can configure the task flow to display only announcement titles, titles with some amount of content, or only content.

This section contains the following subsections:

45.7.2.1 Viewing Announcements in the Quick View Task Flow

The Announcements - Quick View task flow provides a read-only view of the announcement title.

To view announcements in an Announcements - Quick View task flow:

  1. In the Announcements - Quick View task flow, click the announcement you want to view (Figure 45-7).

    Figure 45-7 Announcements - Quick View Task Flow

    Description of Figure 45-7 follows
    Description of "Figure 45-7 Announcements - Quick View Task Flow"

    The announcement details display in the Announcement dialog (Figure 45-8). Similar to the announcement content displayed in the Announcements task flow, this dialog displays content with all the formatting that was applied to it.

    Figure 45-8 Announcement Accessed from Quick View Task Flow

    Description of Figure 45-8 follows
    Description of "Figure 45-8 Announcement Accessed from Quick View Task Flow"
  2. Click Close to exit the dialog.

45.7.2.2 Managing Announcements in the Quick View Task Flow

You can manage announcements in the Announcements - Quick View task flow with the Announcement Manager. The Announcement Manager provides the functionality to create an announcement or from existing announcements the ability to edit, delete (if users have the permission to do so), send mail, and create links in the Announcements task flow.

Administrators can remove the link to the Announcement Manager. If your administrator allows this functionality, then you see the Open Announcement Manager icon (Figure 45-9).

The Announcement Manager allows users to create new announcements, edit existing announcements, delete (if users have the permission to do so) announcements, send mail to portal members (showing the content and a link to the announcement), and link announcements with other assets.

Figure 45-9 Open Announcement Manager Icon

Description of Figure 45-9 follows
Description of "Figure 45-9 Open Announcement Manager Icon"