Sun Java System Portal Server 7.1 Administration Guide

Chapter 9 Managing Portal Server Subscriptions

This chapter describes the Sun JavaTM System Portal Server subscriptions component and how to manage it. The chapter contains following topics:

Understanding Portal Server Subscriptions

Subscriptions enable end users to create a profile covering many sources of information, including categories, discussions, and searchable documents. The profile is updated with the latest information each time the end user accesses the Subscriptions channel. The Subscriptions channel summarizes the number of items of relevant information that match each profile entry that the end user defines for categorized document or discussions.

You can match the following types of content using the search server:

The result is displayed as a link that shows the number of matching information to the profile entry. This link redirects the end user to a more detailed view of the match itself.

In case of a category subscription, the link redirects the end user to the search channel, which summarizes the specific documents of interest in a standard category search result format. The Subscriptions channel acts as the doorway to a more detailed view for the end user.

The Profiler function provides email notifications when the content of specified interests has changed. The Profiler obtains subscription details for end users from the Access Manager, fetches the results from the Search server, and sends email notifications to end users. You can schedule the Profiler to run at a specific time at the organization level.

Setting Up Subscriptions

You can enable or disable subscriptions. Subscriptions can be set up at the:

ProcedureTo Set Up Subscriptions

  1. Log in to the Portal Server management console.

  2. Select the Portals tab.

  3. Select a portal server under Portals.

  4. Click the Subscriptions tab.

  5. Set the subscriptions level by choosing one of the following, and set the default values:

    • From the Select DN drop-down menu, choose TopLevel [Global].


      Note –

      Administering subscriptions at the TopLevel sets the system-wide default maximum number of subscriptions for each type, or for categories, discussions, and saved searches.


      Maximum number of Categories subscriptions

      Specifies the maximum number of categories that a user can subscribe to.

      Maximum number of Discussion subscriptions

      Specifies the maximum number of discussions that a user can subscribe to.

      Maximum number of Saved searches

      Specifies the maximum number of searches that can be saved.

    • From the Select DN drop-down menu, choose any Organization.


      Note –

      Administering Subscriptions at the Organization level overwrites the system-wide default maximum number of subscription per type (that is, for categories, discussions, and for saved searches).


      Profiler SMTP

      The host system that serves as the SMTP server to route Email notifications to the end users.

      Profiler Email

      Subscription profiler email address from which the user receives email notification. Email should be in the form ID@domain.

      Profiler Provider

      The URL of the Profiler channel that is used to render the content of the Email notification to the user. It should be in the form of http://HOST:PORT/portal/dt?

      provider=profiler&desktop.suid=UID_OF_AUTHLESSANONYMOUS_USER

      Profiler Default Search

      The URL of the default search server. Profiler Default Search is only used for backward compatibility with user profiles created with Portal Server 6.3.x. It should be in the format http://HOST:PORT/search1/search

      Profiler Max Hits

      The maximum number of result hits that any given end user subscriptions in the organization will see in email notification sent to a user. For example, if the value is 5, a saved search with a large scope like “*” is limited with five most relevant results.

      Maximum Category subscriptions

      The maximum number of categories that a user can subscribe to.

      Maximum Discussion subscriptions

      The maximum number of discussions that a user can subscribe to.

      Maximum Saved Searches

      The maximum number of searches the end user can save.

    • From the Select DN drop-down menu, choose any User.


      Note –

      Administering Subscriptions at the Organization User level edits user’s Subscriptions settings. The administrator can maintain the user’s service data.


      • Update user subscriptions

      • Delete user subscriptions

      Profiler Enabled

      Allows users to receive email notifications by selecting Enabled.

      For each type of subscription, add or remove subscriptions. The format of:

      Category subscription

      label | target category | scope | lapsed time | rating | server | database | status

      where

      label

      Refers to a logical reference given to the edited subscription and it must be a string. This is a required field.

      target category

      Must be of the string format ABC:DEF:GHI

      scope

      Refers to a search query and it must be of a string format that is a valid search string, including search operators.

      lapsed time

      Must be one of the following numbers:

      • 0 = forever

      • 1 = since yesterday

      • 7 = since last week

      • 30 = since last month

      • 180 = since last 6 months

      • 365 = since last year

      rating

      This is the minimum rating that a matching document should be to be selected as a match for the subscription.

      Values are number

      • –1 = irrelevant

      • 0 = routine

      • 1 = interesting

      • 2 = important

      • 3 = must read

      server

      This is the URL of the search server that will be queried to find content matching subscription's criteria.

      database

      Target search server database where subscription searches for potential matches. This is a single value database.

      status

      Boolean value that marks whether the subscriptions is active or inactive.

      • Active means the subscriptions is to be evaluated.

      • Inactive means the subscriptions is dormant.

      Discussions subscriptions

      label | target discussion | scope | lapsed time | rating | server | database | status

      where:

      label

      Refers to a logical reference given to the edited subscription and it must be a string. This is a required field.

      target discussion

      Parent node of the discussion thread from which subscriptions will try to find matching content for other defined criteria.

      scope

      Refers to a search query. scope must be a string format that is a valid search string, including search operators.

      lapsed time

      Must be one of the following numbers:

      • 0 = forever

      • 7 = since last week

      • 30 = since last month

      • 180 = since last 6 months

      • 365 = since last year

      rating

      This is the minimum rating that a matching document should be to be selected as a match for the subscription.

      Values are number

      • –1 = irrelevant

      • 0 = routine

      • 1 = interesting

      • 2 = important

      • 3 = must read

      server

      This is the URL of the search server that will be queried to find content matching subscription's criteria.

      database

      Target search server database where subscription searches for potential matches. This is a single value database.

      status

      Boolean value that marks whether the subscriptions is active or inactive.

      • Active means the subscriptions is to be evaluated.

      • Inactive means the subscriptions is dormant.

      Saved searches

      label | scope | lapsed time | rating | server | database | status

      where

      label

      Refers to a logical reference given to the edited subscription and it must be a string. This is a required field.

      scope

      Refers to a search query and if must be of a string format that is a valid search string, including search operators.

      lapsed time

      Must be one of the following numbers:

      • 0 = forever

      • 1 = since yesterday

      • 7 = since last week

      • 30 = since last month

      • 180 = since last 6 months

      • 365 = since last year

      rating

      This is the minimum rating that a matching document should be to be selected as a match for the subscription.

      Values are number

      • –1 = irrelevant

      • 0 = routine

      • 1 = interesting

      • 2 = important

      • 3 = must read

      server

      This is the URL of the search server that will be queried to find content matching subscription's criteria.

      database

      Target search server database where subscription searches for potential matches. This is a single value database.

      status

      Boolean value that marks whether the subscriptions is active or inactive.

      • Active means the subscriptions is to be evaluated.

      • Inactive means the subscriptions is dormant.

  6. Click Save.

Equivalent psadmin Command

psadmin set-attribute

Administering Portal Server Discussions

This section describes the discussions channel and how to manage it.

This section contains the following:

Understanding DiscussionProvider

The Discussions channel is based on the DiscussionProvider, similar to the search channel’s JavaServer PagesTM (JSPTM) files. The discussion channel has a query portion and a display portion, and uses Desktop themes.

The DiscussionProvider:

Discussions and comments are stored as different Resource Descriptors (RDs) in the discussion database. The DiscussionProvider supports:

Administering the DiscussionProvider

You can create a DiscussionProvider channel and manage it from the portal server management console:

End users can configure the discussion channel using the channel edit page.

ProcedureTo Create a Channel from DiscussionProvider

  1. Log in to the Portal Server management console.

  2. Select the Portals tab.

  3. Select a portal server under Portals.

  4. From the Select DN drop-down menu, select any DN.

  5. Select the container where you want to create the channel.

    The container Task and Properties are displays on the right panel.

  6. Under Tasks, click New Channel or Container to launch the wizard.

    1. From the Select Portal drop-down menu, select a portal server.

    2. From the Select DN drop-down menu, select any DN.

    3. Under Type, select channel, and click Next.

    4. Under Channel Type, select Provider Channel, and click Next.

    5. From the Provider drop-down menu, select DiscussionProvider, and click Next.

    6. Type a name for the channel in the text box, and click Next.

    7. Review the channel information, and click Finish.

    8. Click Close.

    The channel based on DiscussionProvider is created.

ProcedureTo Delete a DiscussionProvider Channel

  1. Log in to the Portal Server management console.

  2. Select the Portals tab.

  3. Select a portal server under Portals.

  4. From the Select DN drop-down menu, choose the DN where the DiscussionProvider channel resides.


    Tip –

    Select DP XML Tree as the View Type from the drop-down menu for a listing of all the channels and containers under DP_ROOT.


  5. Select the container where the channel resides.

    The container Tasks and Properties page displays.

  6. Click Select Channel or Container to delete.

  7. Select the DiscussionProvider channel.

  8. Click Delete.

ProcedureTo Configure a DiscussionProvider Channel

  1. Log in to the Portal Server management console.

  2. Select the Portals tab.

  3. Select a portal server under Portals.

  4. Choose DN organization where the DiscussionProvider channel resides from Select DN drop-down menu.


    Tip –

    Select DP XML Tree as the View Type from the drop-down menu for a listing of all the channels and containers under DP_ROOT.


  5. Select the DiscussionProvider channel you want to configure.

    For more information about the attributes, see Sun Java System Portal Server 7.1 Technical Reference.

DiscussionLite Channel

The DiscussionLite channel displays the top 20 recent discussion titles and the date. Discussions are sorted by creation date (last modified), and the newest discussion is displayed first. Titles can be reconfigured.

The DiscussionLite channel view has links for:

By default, the channel is displayed in a single container, and all links are brought up in a JSPDynamicSingleContainer.

Properties can be configured from the management console. By default, the end user cannot edit properties of this channel.