13 Working with the Announcements Service

This chapter describes how to use the features provided through the Announcements service. Announcements offer a quick, convenient way to create and distribute messages instantly or at a time you specify. You can use the Announcements service to view, create, and manage announcements.

This chapter includes the following sections:

Audience

This chapter is intended for WebCenter Spaces users interested in viewing, creating, and managing announcements. Much of this information also applies to custom WebCenter applications, though it is written with WebCenter Spaces users in mind. (For information about custom WebCenter applications, see "Integrating the Announcements Service" in Oracle Fusion Middleware Developer's Guide for Oracle WebCenter.)

Your application administrator has the authority to expose or hide task flows from a particular service. Tasks discussed in this chapter are not available to you if the relevant service is hidden.

13.1 What You Should Know About the Announcements Service

The Announcements service provides the ability to post announcements about important activities and events to all authenticated users. For example, an application administrator can use this service to announce the availability of a new feature or the need to shut down the application temporarily for maintenance.

The Announcements service is integrated with many WebCenter services, such as the RSS, Search (to search announcement text), Instant Messaging and Presence, and Recent Activities services. You can use the Links service to link announcements to other services, such as Events or Discussions. For example, suppose 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 to speak directly with a customer service representative to purchase the product.

In group spaces, announcements are scoped to the group space where you create them. In personal space pages, announcements are scoped application-wide, to all logged-in (authenticated) users.

The Announcements service offers two task flows:

13.1.1 Announcement Manager Task Flow

Use the Announcement Manager task flow to manage announcements. The Announcement Manager task flow (Figure 13-1) can be accessed only by users with manage privilege on the page. By default, this privilege is available to a group space moderator.

Figure 13-1 Announcement Manager Task Flow

Description of Figure 13-1 follows
Description of "Figure 13-1 Announcement Manager Task Flow"

Click the Open Announcement Manager icon in the Announcements task flow (Figure 13-2) to access the Announcement Manager.

Figure 13-2 Open Announcement Manager Icon in Announcement Task Flow

Description of Figure 13-2 follows
Description of "Figure 13-2 Open Announcement Manager Icon in Announcement Task Flow"

Adding the Announcement Manager Task Flow to a Page

The Announcement Manager is available as a task flow that qualified users can add to their group space pages. If you have the required privilege, the Announcement Manager task flow is displayed in the Oracle Composer Catalog (Figure 13-3).

Notes:

  • You cannot add an Announcement Manager task flow to your personal space page. The Announcement Manager task flow only displays in the component catalog if you have manage privilege and if you are adding content in a group space page. If you have the manage privilege, then you can access the Announcement Manager from the Announcements task flow from your personal space. For more information, see Section 13.1.2, "Announcements Task Flow."

  • All instances of the Announcement Manager task flow in an application run against the same server and therefore, it serves no purpose to add multiple Announcement Manager task flow instances.

Figure 13-3 Announcement Manager Task Flow in the Catalog

Description of Figure 13-3 follows
Description of "Figure 13-3 Announcement Manager Task Flow in the Catalog"

You can add this task flow to your page by clicking the Add link next to the task flow. For information about accessing the Oracle Composer Catalog and adding task flows to your page, see Section 7.1.4, "Adding Task Flows to a Page."

The Announcement Manager task flow is then displayed on your page as shown in Figure 13-4.

Figure 13-4 Announcement Manager Task Flow on a Page

Description of Figure 13-4 follows
Description of "Figure 13-4 Announcement Manager Task Flow on a Page"

The Announcement Manager provides options to create, edit, and delete announcements, send an e-mail regarding a selected announcement, and link another WebCenter object to a selected announcement (Figure 13-4). However, depending on the privileges you have on the page and whether the required WebCenter services are configured in your application, you may see only a subset of these options in the Announcement Manager. For example, the Mail icon displays only if the Mail service is configured in your application, and the Delete icon is displayed only to users with manage privilege.

The Announcement Manager task flow also provides the Show list, which you can use to personalize your view of announcements.

In group spaces, by default the Announcements page contains the Announcement Manager task flow (Figure 13-5). The Announcements page is available in every group space, provided the group space is configured to display announcements. For information about enabling services in a group space, see Section 11.3.1, "Enabling and Disabling Services Available to a Group Space."

Note:

In group spaces, you can also create a custom page and add the Announcement Manager task flow to that page.

Figure 13-5 The Announcements Page in a Group Space

Announcements page
Description of "Figure 13-5 The Announcements Page in a Group Space"

Users with Edit privileges can access the task flow's region parameter through the Component Properties dialog in Oracle Composer to specify the ID of the discussion forum under which announcements must be created. For information about accessing the Component Properties dialog and editing properties, see Section 7.5.2, "Setting Component Properties."

Note:

The Announcement Manager task flow opened from the sidebar opens in a group space, regardless of the discussion forum ID specified.

For more information about setting task flow properties, see Section 13.3, "Setting Announcements Service Task Flow Properties."

13.1.2 Announcements Task Flow

The Announcements task flow is a read-only view of the Announcements service that provides convenient access to current announcements (Figure 13-6). The amount of information displayed in an Announcements task flow depends on the property values provided for the task flow instance.

Figure 13-6 The Announcements Task Flow

Announcements Task Flow
Description of "Figure 13-6 The Announcements Task Flow"

But when you add an Announcements task flow to the page, by default the task flow displays only the titles of announcements as links. Clicking a link opens the complete announcement in a separate dialog (Figure 13-7). Unlike announcement content displayed in the Announcement Manager (as plain text), this dialog displays content with all the formatting that was applied to it.

Figure 13-7 An Announcement Accessed from an Announcement Link

Announcement accessed from Task Flow
Description of "Figure 13-7 An Announcement Accessed from an Announcement Link"

You can set the Announcements task flow's region parameters to show a limited number of characters below the announcement title. For more information, see Section 13.3, "Setting Announcements Service Task Flow Properties."

Adding the Announcement Task Flow to the Page

You can add an Announcements task flow to your page from the Oracle Composer Catalog (Figure 13-8). Next to the Announcement task flow, click the Add link to add it to the page. For more information about accessing the Catalog and adding task flows to a page, see Section 7.1.4, "Adding Task Flows to a Page."

Note:

All instances of the Announcements task flow in an application run against the same server and it serves no purpose to add multiple Announcements task flow instances. This is true for all service task flows that require connections to back-end servers, for example, task flows from Discussions, Mail, and IMP services.

Figure 13-8 Announcements Task Flow in the Catalog

Description of Figure 13-8 follows
Description of "Figure 13-8 Announcements Task Flow in the Catalog"

Like the Announcement Manager task flow, the Announcements task flow provides the Show list to personalize your view of announcements.

Users with Edit privilege can access the task flow's region parameters through the Component Properties dialog in Oracle Composer to specify how to display information and how much information to display in the task flow. For information about accessing the Component Properties dialog and editing properties, see Section 7.5.2, "Setting Component Properties."

For more information about task flow properties, see Section 13.3, "Setting Announcements Service Task Flow Properties."

13.2 Working with Announcements Service Task Flows

Both Announcement Manager and Announcements task flows display current announcements. The Announcement Manager additionally offers tools for managing announcements. This section provides information about using the Announcements service task flows.

Depending on the privileges you have on the page, you can perform some or all tasks described in this section:

  • View announcements in the Announcement Manager task flow—Discussions server administrators in personal spaces, and group space moderators in group spaces.

  • Create announcements—All participants in WebCenter Spaces.

  • Edit announcements—Creator of the announcement in WebCenter Spaces applications, Discussions server administrators in personal spaces, and group space moderators in group spaces.

  • Delete announcements—Discussions server system administrators in personal spaces, and group space moderators in group spaces

This section contains the following subsections:

13.2.1 Working with the Announcement Manager Task Flow

The Announcement Manager 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. Additionally, after you create an announcement, you are automatically offered the option to mail the announcement to whomever you choose.

This section provides information about viewing, creating, and managing announcements through the Announcement Manager task flow. Discussions server administrators in personal spaces and group space moderators in group spaces can access the Announcement Manager task flow. This section contains the following subsections:

13.2.1.1 Viewing Announcements in the Announcement Manager

The Announcement Manager task flow is available only to authorized users, typically group space moderators in WebCenter Spaces.

To view announcements in the Announcement Manager task flow:

  1. Log in to WebCenter, and click the Announcements tab to bring the Announcements page forward.

    If the Announcements tab is not available, then click the Settings tab, the Services tab, then select the Announcements page. When the Announcements tab displays on the Announcements page, select the Announcements tab to bring the page forward. For more information, see Section 2.4, "Hiding, Showing, Opening, and Closing Pages."

    Alternatively, click the Open Announcement Manager icon in the Announcements task flow (Figure 13-9) to view the Announcement Manager task flow.

    Note:

    The Open Announcement Manager icon does not display in the Announcements task flow if you do not have the required privileges.

    Figure 13-9 Open Announcement Manager Icon in Announcement Task Flow

    Description of Figure 13-9 follows
    Description of "Figure 13-9 Open Announcement Manager Icon in Announcement Task Flow"

    The Announcement Manager displays as follows:

13.2.1.2 Adjusting Your View of the Announcement Manager

You can personalize your own view of the Announcement Manager task flow, which does not affect other users' view of the announcement. All users who can view the Announcement Manager task flow can personalize it. A Show list provides options for displaying only those announcements that were created within a selected time range. Choose from displaying all announcements to displaying only those created today, since yesterday, and so on—up to 30 days. For example, you may select the option Today from the Show menu, and only those announcements posted today display in the task flow. For more information, see Section 13.2.1.2, "Adjusting Your View of the Announcement Manager."

Such adjustments affect only your view; all other users' views are not affected.

To adjust your view of the Announcement Manager:

  1. Go to the application page that contains the Announcement Manager task flow.

  2. In the task flow, expand the Show menu and select from the listed display options (Figure 13-12).

    Figure 13-12 Show Menu on Announcements Page in WebCenter Spaces

    Show drop-down menu on Announcements page
    Description of "Figure 13-12 Show Menu on Announcements Page in WebCenter Spaces"

    Choose:

    • All— To display all available announcements.

    • Today—To display only today's announcements.

    • Since Yesterday—To display today and yesterday's announcements.

    • Last 7 Days—To display all announcements made in the last seven days.

    • Last 30 Days—To display all announcements made in the last 30 days.

    The Announcement Manager task flow refreshes and displays the announcements that match your selection.

13.2.1.3 Creating an Announcement

Create an announcement to distribute information to all members of an application or a group space in one operation. For example, if you are an administrator and want to shut down the application for maintenance, you can create an announcement to inform all application users about the down time. On the publication date you specify while creating the announcement, the announcement appears in the Announcement Manager and Announcements task flows, and on the Recent Activity list.

In WebCenter Spaces, all participants can create announcements.

To create a new announcement:

  1. Access the Announcement Manager task flow. For more information, see Section 13.2.1.1, "Viewing Announcements in the Announcement Manager."

  2. In the Announcement Manager task flow, click the Create button (Figure 13-13).

    Figure 13-13 Create Button on an Announcements Page

    Create button on an Announcements page
    Description of "Figure 13-13 Create Button on an Announcements Page"

    The Create Announcement dialog opens (Figure 13-14).

    Figure 13-14 The Create Announcement Dialog

    Create Announcement dialog box
    Description of "Figure 13-14 The Create Announcement Dialog"

  3. In the Subject field, enter a heading for the announcement.

  4. In the message body text box, enter the text of the announcement.

    The message body is provided through the Rich Text Editor. You can style the announcement with colors, special fonts, and images. For information about Rich Text Editor controls, see Table 15-4.

    Styling information is applied when the announcement is configured with the Content View Only region parameter set to true. For more information, see Section 13.3, "Setting Announcements Service Task Flow Properties."

  5. Under Announcement Active Date, choose:

    • Make Active Now — To post the announcement immediately (the default option)

    • Make Active on Specific Date — To select a date and time to post the announcement

      Click the Select Date icon to the right of the text field to open the Select Date pop-up calendar (Figure 13-15).

      Figure 13-15 The Select Date Pop-Up Calendar

      Select Date pop-up calendar
      Description of "Figure 13-15 The Select Date Pop-Up Calendar"

      In the calendar, click a date to select it. The current date is marked by a solid box.

      Alternatively, use the controls at the top of the calendar to select a month and year for publication.

      After you select a date, the calendar closes.

  6. Under Announcement Expire Date, choose:

    • Never Expires — To post the announcement indefinitely (the default option)

    • Expire After Days — To specify the number of days the announcement is active

      Enter the number of days to display the announcement.

    • Expire on a Specific Date — To set the date and time to expire and remove the announcement

      Click the Select Date icon next to the text field to open the Select Date pop-up calendar (Figure 13-16).

      Figure 13-16 The Select Date and Time Icon

      Select Date and Time icon
      Description of "Figure 13-16 The Select Date and Time Icon"

      In the calendar, only those dates after the publication date are enabled for selection.

  7. Click the Create button to create the announcement.

    If you chose to post the announcement immediately, the new announcement appears in three locations: in any Announcements task flow included on a page, on the Recent Activity list, and at the top of the list of announcements in the Announcement Manager task flow.

13.2.1.4 Editing Announcements

Once you've created an announcement, you can easily modify it. For example, if the details of an announcement change, or you want to change the font or color of the announcement text, you can quickly make these changes using the Announcement Manager. You can change an announcement's title and content and, also its expiration date. However, you cannot change its publication date, which is the date on which the announcement is made active (Announcement Active Date).

Note:

To change an announcement's publication date, you must delete the announcement, and re-create it with the correct publication date. For information about deleting an announcement, see Section 13.2.1.5, "Deleting an Announcement." For information about creating an announcement, see Section 13.2.1.3, "Creating an Announcement."

You can edit an announcement only if you created that announcement or have been granted privileges to do so. Typically, group space moderators have privileges to edit all announcements in the Announcements task flow.

To edit an announcement:

  1. Open the Announcement Manager task flow. For information, see Section 13.2.1.1, "Viewing Announcements in the Announcement Manager."

  2. Click the Edit Announcement icon (Figure 13-17) on the announcement you want to edit.

    Figure 13-17 Edit Announcement Icon on an Announcement Toolbar

    Edit Announcement icon
    Description of "Figure 13-17 Edit Announcement Icon on an Announcement Toolbar"

    The Edit Announcement dialog opens (Figure 13-18).

    Figure 13-18 The Edit Announcement Dialog

    Edit Announcement dialog box
    Description of "Figure 13-18 The Edit Announcement Dialog"

  3. Make the changes you want to the announcement. For example, you can change the text of the announcement, or modify its look and feel.

    The Edit Announcement dialog provides Rich Text Editor controls for styling announcement text. For information on Rich Text Editor controls, see Table 15-4.

    You can change an announcement's title and content and, also its expiration date. However, you cannot change its publication date.

  4. Click the Save button to save your changes and close the dialog.

13.2.1.5 Deleting an Announcement

Once you've created an announcement, you can delete it if you are a group space moderator. Other users do not have privileges to delete announcements.

To delete an announcement:

  1. Open the Announcement Manager task flow. For information, see Section 13.2.1.1, "Viewing Announcements in the Announcement Manager."

  2. Click the Delete Announcement icon on the announcement you want to delete (Figure 13-19). This icon only displays if you have the appropriate privileges.

    Figure 13-19 The Delete Announcement Icon on an Announcement

    Delete Announcement icon
    Description of "Figure 13-19 The Delete Announcement Icon on an Announcement"

  3. In the Delete Announcement dialog (Figure 13-20), click the Delete button to delete the announcement and close the dialog.

    Figure 13-20 Delete Announcement Dialog

    Delete Announcement dialog box
    Description of "Figure 13-20 Delete Announcement Dialog "

    The selected announcement is removed from the Announcement Manager task flow, the Announcements task flow, and the Recent Activity list.

13.2.2 Working with the Announcements Task Flow

The Announcements 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 Announcement Manager task flow (see Section 13.2.1). The Announcements task flow offers a small subset of those features.

By default, announcements in the Announcements 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. For more information, see Section 13.3, "Setting Announcements Service Task Flow Properties."

This section contains the following subsections:

13.2.2.1 Viewing Announcements in the Announcements Task Flow

The Announcements task flow provides a read-only view of the announcements. Unlike the Announcement Manager task flow, you cannot create, edit, or delete announcements in this task flow.

To view announcements in an Announcements task flow:

  1. Log in to WebCenter, and go to the page that contains the Announcements task flow you want to view.

  2. In the Announcements task flow, click the announcement you want to view (Figure 13-21).

    Figure 13-21 The Announcements Task Flow

    Announcements Task Flow
    Description of "Figure 13-21 The Announcements Task Flow"

    The announcement details display in the Announcement dialog (Figure 13-22). Unlike announcement content displayed in the Announcement Manager (as plain text), this dialog displays content with all the formatting that was applied to it

    Figure 13-22 An Announcement Accessed from an Announcements Task Flow

    Announcement accessed from Task Flow
    Description of "Figure 13-22 An Announcement Accessed from an Announcements Task Flow"

  3. Click the Close button to exit the dialog.

13.2.2.2 Sending Mail from an Announcement

Each announcement in the Announcement Manager or Announcements task flow has an associated Send Mail icon in its toolbar (Figure 13-23). Click the Send Mail icon to initiate a mail message containing the announcement text, location, author, and date it was created. This feature makes it easy for you to communicate interesting announcements to others.

The Send Mail icon displays to all users accessing the Announcements task flow.

Figure 13-23 Send Mail Icons on Announcement Headers

Send mail icons on announcement toolbars
Description of "Figure 13-23 Send Mail Icons on Announcement Headers"

The WebCenter administrator determines the mail client to use with the Send Mail icon. If a local mail client was set, then a plain text message opens. If the WebCenter Mail service was set as the mail client, then the HTML Mail Compose dialog opens. With either mail client, you can add or edit the standard, prepopulated message before sending.

13.2.2.3 Linking a WebCenter Object to an Announcement

Each announcement in the Announcement Manager or Announcements task flow has an associated Links icon in its toolbar to link another WebCenter object to the announcement.

The Links icon displays to all users accessing the Announcements and Announcement Manager task flows, if the Links service is configured in the application.

Links icon on an announcement

For more information, see Chapter 18, "Working with the Links Service."

13.3 Setting Announcements Service Task Flow Properties

The Announcement Manager and Announcements task flows have associated properties, which users with sufficient privileges can access from the Component Properties dialog in Oracle Composer. The method for accessing task flow properties is the same from task flow to task flow. For more information, see Section 7.5, "Setting Properties on Page Content."

The task flow parameters listed on the Parameters tab control the default task flow content and facilitate the wiring of the task flow to page parameters and page definition variables. Parameters are unique to the task flow type. This section describes the parameters provided by the Announcements task flows.

Note:

For information about wiring pages and components, see Chapter 8, "Wiring Pages, Task Flows, Portlets, and UI Components."

Changes to the display- and style-related properties listed on the other tabs affect the appearance and behavior of the task flow instances for all users. These properties are common to all task flows. For more information, see Section 7.5, "Setting Properties on Page Content."

The contents of the Events tab depend on the events supported by the task flow. For more information, see Section 7.5.7, "Working with Component Contextual Events."

13.3.1 Region Parameters

The region parameters associated with Announcements service task flows vary from one task flow type to another. Table 13-1 lists and describes the region parameters associated with Announcements service task flows and indicates which task flow types use a particular parameter.

Table 13-1 Announcements Task Flow Region Parameters

Parameter Available To … Description

Content View Only

Announcements

A Boolean value representing whether to remove the announcement title and display just the announcement content. Enter true to remove the title and false to render the title.

When set to true, the values for Announcement Length and Number of Expanded Announcements are ignored.

Forum ID

Announcements

Announcement Manager

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

In WebCenter Spaces, this property is blank by default. However, internally it maps to the forum ID associated with the current group space. For personal spaces, global (system) announcements are returned. You can edit this property to specify a different forum ID.

Announcement Length

Announcements

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

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

This parameter takes effect with Number of Expanded Announcements.

Express values using the following formats:

The value you enter for Announcement Length is ignored if Content View Only is set to true.

Number of Expanded Announcements

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 set to false.

Express values using the following formats:


For additional information about region parameters, see Section 7.5.3, "Working with Component Parameters."