Publishing a Discussion Forum as a Pagelet

This section discusses how to:

  • Publish a pagelet from a discussion forum.

  • Publish a discussion forum from Pagelet Wizard.

  • Edit a published pagelet.

  • Publish a pagelet to multiple portals.

Use the Pagelet Wizard - Pagelet Creation Confirmed page (PTPPB_WIZ_FINISH) to confirm that the creation of the pagelet is complete.

Navigation:

Click the Finish button on the Pagelet Wizard - Specify Publishing Options page.

Use the Publish to Multiple Portals page (PTPP_PMPUBPRTL) to publish the pagelet definition to additional portals and sites.

Navigation:

  • Click the Publish Pagelet in Other Sites link on the Manage Forum - Publish Pagelet Wizard Definition page.

  • Portal Administration, Pagelets, Publish Pagelets

  • PeopleTools, Portal, Portal Utilities, Publish Pagelets

Use the Publish Multiple Pagelets page (PTPP_PMPUBPGLT) to publish multiple pagelet definitions to another portal or site.

Navigation:

  • On the Publish to Multiple Portals page, select Publish Multiple Pagelets.

  • Portal Administration, Pagelets, Publish Pagelets, Publish Multiple Pagelets

  • PeopleTools, Portal, Portal Utilities, Publish Pagelets, Publish Multiple Pagelets

Page Name

Definition Name

Usage

Manage Forum - Publish Pagelet Wizard Definition Page

EPPPB_PGLT_PUB

Create a pagelet definition for a discussion forum.

Pagelet Wizard - Specify Pagelet Information Page

PTPPB_WIZ_INFO

Provide information to identify and categorize a pagelet.

See step 1 of Publishing a Discussion Forum from Pagelet Wizard.

Pagelet Wizard - Select Data Source Page

PTPPB_WIZ_DATASRC

Select the type of data source for the pagelet.

See step 2 of Publishing a Discussion Forum from Pagelet Wizard.

Pagelet Wizard - Specify Data Source Parameters Page

PTPPB_WIZ_DATAPRMS

Configure the data source parameters that are required for data to be displayed in the pagelet.

This page is accessible only when you are building a pagelet with a data source that allows modification of associated parameters.

See step 3 of Publishing a Discussion Forum from Pagelet Wizard.

Pagelet Wizard - Specify Data Source Parameter Values Page

PTPPB_WIZ_PRMVALS

Specify prompt values for the end user to select from when personalizing the pagelet.

Click the Values link on the Pagelet Wizard - Specify Data Source Parameters page.

This page is accessible only for data source parameters for which you have selected the User Specified or Admin Specified usage types.

See step 3 of Publishing a Discussion Forum from Pagelet Wizard.

Pagelet Wizard - Select Display Format Page

PTPPB_WIZ_DISPFRMT

Specify the data transformation method and display format for the pagelet.

See step 4 of Publishing a Discussion Forum from Pagelet Wizard.

Pagelet Wizard - Specify Display Options Page

PTPPB_WIZ_DISP_CUS

Enter the custom formatting details for the pagelet as well as header and footer options. Preview the pagelet.

See step 5 of Publishing a Discussion Forum from Pagelet Wizard.

Pagelet Wizard - Specify Publishing Options Page

PTPPB_WIZ_PUBOPT

Specify the manner in which the pagelet is published. Provide registration, caching, and security details, and register the pagelet.

See step 6 of Publishing a Discussion Forum from Pagelet Wizard.

Pagelet Wizard - Pagelet Creation Confirmed Page

PTPPB_WIZ_FINISH

Confirm that the creation of the pagelet is complete.

Click the Finish button on the Pagelet Wizard - Specify Publishing Options page.

See step 6 of Publishing a Discussion Forum from Pagelet Wizard.

Manage Forum - Publish as Pagelet Page

EPPPB_PGLT_LST

Administer pagelet definitions for a discussion forum.

Publish to Multiple Portals Page

PTPP_PMPUBPRTL

Publish the pagelet definition to additional portals and sites.

Publish Multiple Pagelets Page

PTPP_PMPUBPGLT

Publish multiple pagelet definitions to another portal or site.

See Publish to Multiple Portals Page.

Use the Manage Forum - Publish Pagelet Wizard Definition page (EPPPB_PGLT_PUB) to create a pagelet definition for a discussion forum.

Navigation:

  • My Content, My Discussion Forums

    Click the link for the discussion forum on the My Discussion Forums page.

    Click the Manage Forum button on the discussion forum homepage.

    Click the Publish as Pagelet link on the Manage Forum page.

  • Click the Add Pagelet button or the Edit button on the Manage Forum - Publish as Pagelet page.

This example illustrates the fields and controls on the Manage Forum - Publish Pagelet Wizard Definition Page. You can find definitions for the fields and controls later on this page.

Manage Forum - Publish Pagelet Wizard Definition page

Use the Manage Forum - Publish Pagelet Wizard Definition page to create a pagelet definition for a discussion forum.

Pagelet

The pagelet title and description from the Manage Forum page appear in the Pagelet group box. You can edit these two fields, if necessary.

Field or Control

Description

Pagelet Title

Displays the title for the discussion forum, which can be edited as the title for the pagelet.

Description

Displays the description for the discussion forum, which can be edited as the description for the pagelet.

Pagelet Folder

Select a folder to publish to. Only folders from the current site are available to select.

Pagelet Security

Select the security options for viewing the pagelet. Available options are:

Publish as Public, which enables all users to view the pagelet.

Publish with Security Roles, which uses the roles defined on the Forum Privileges page when publishing the pagelet.

Note: If there are no roles defined on the Forum Privileges page, the system automatically selects to publish the pagelet as public.

Homepage Tabs

Use this group box to define the homepage tab labels and behavior for the pagelet.

Field or Control

Description

Homepage Tab

Select the tabs that will display the pagelet.

Pagelet Behavior

Select the behavior options for the pagelet.

Optional. The pagelet will not automatically appear on the homepage. However, it is available for selection when users personalize their homepages. This setting should not be used for guest homepage pagelets because guest users do not have personalization privileges.

Optional-Default. The pagelet will appear on all user homepages if they have access to the pagelet. The pagelet can be removed when users personalize their homepages. This setting should not be used for guest homepage pagelets because guest users do not have personalization privileges.

Required-Fixed. The pagelet will appear on all user homepages if they have access to the pagelet. The placement of the pagelet cannot be changed and the pagelet cannot be removed from the homepage.

Required. The pagelet will appear on all user homepages if they have access to the pagelet. The placement of the pagelet can be changed, but it cannot be removed from the homepage.

Publish

Click the Publish button to publish this pagelet and display the Manage Forum - Publish as Pagelet page, on which you can review or edit the pagelet definition

Pagelets for discussion forums can be created and published using Pagelet Wizard and then managed from the Manage Forum page. This section provides an overview of how to use Pagelet Wizard to complete the following six steps:

  • Step 1: Entering Pagelet Identifying Information.

  • Step 2: Selecting a Pagelet Data Source.

  • Step 3: Specifying Data Source Parameters.

    Step 3 also includes “Specifying Prompt Values for Data Source Parameters.”

  • Step 4: Selecting a Pagelet Display Format.

  • Step 5: Specifying Pagelet Display Options.

  • Step 6: Specifying Pagelet Publication Options.

Note: If you access Pagelet Wizard from the Go to Pagelet Wizard link, you will be modifying an existing pagelet definition. If you want to create a new pagelet definition, start from the Portal Administration or PeopleTools navigation path.

Where appropriate, this section provides details specific to using Pagelet Wizard to publish a discussion forum as a pagelet. The PeopleTools 8.50 PeopleBooks provide detailed information on using Pagelet Wizard.

See the product documentation for PeopleTools: Portal Technology, “Using Pagelet Wizard to Create and Manage Pagelets.”

Step 1: Entering Pagelet Identifying Information

Access the Pagelet Wizard - Specify Pagelet Information page (click the Go to Pagelet Wizard link on the Manage Forum - Publish Pagelet Wizard Definition page; or Portal Administration, Pagelets, Pagelet Wizard, Pagelet Wizard).

Use the Pagelet Wizard - Specify Pagelet Information page to identify and categorize a pagelet.

See the product documentation for PeopleTools: Portal Technology, “Using Pagelet Wizard to Create and Manage Pagelets,” Step 1: Entering Pagelet Identifying Information.

Step 2: Selecting a Pagelet Data Source

Access the Pagelet Wizard - Select Data Source page (click the Next button on the Pagelet Wizard - Specify Pagelet Information page).

This example illustrates the fields and controls on the Pagelet Wizard - Select Data Source page (discussions data type).

Pagelet Wizard - Select Data Source page (discussions data type)

Use the Pagelet Wizard - Select Data Source page to select the Pagelet Wizard data source type.

Field or Control

Description

Data Type

For discussion forums, select Discussions.

Forum

Select the discussion forum to display in the pagelet.

Inputs

Displays the data source parameters that are used to retrieve data for the pagelet.

Outputs

Displays the data source parameter fields that are displayed as output in the pagelet.

Step 3: Specifying Data Source Parameters

Access the Pagelet Wizard - Specify Data Source Parameters page (select Discussions as the data type on the Pagelet Wizard - Select Data Source page, then click the Next button).

This example illustrates the fields and controls on the Pagelet Wizard - Specify Data Source Parameters page (discussions data source). You can find definitions for the fields and controls later on this page.

Pagelet Wizard - Specify Data Source Parameters page (discussions data source)

Use the Pagelet Wizard - Specify Data Source Parameters page to configure the data source parameters that are required for data to be displayed in the pagelet.

Note: This page is accessible only when you are building a pagelet with a data source that allows modification of associated parameters.

Field or Control

Description

Field Name

Displays the name of the data source parameter.

For discussion forums, the following data source parameters can be defined:

MAXROWS — Limits the number of entries displayed in the pagelet

Description

Displays a description of the data source parameter.

Usage Type

Select the type of accessibility that you want to grant for the data source parameter when it appears in the pagelet. Options are:

  • Admin Specified: Select to enable those users with administrative privileges to specify variables for this field, as well as access the Configure link on the published pagelet and select from those parameters for users.

  • Context Sensitive: Select to enable Context Manager to specify a data source parameter value for this field.

  • Fixed: Select to enter a fixed value for the data source parameter that the end user cannot modify.

  • System Variable: Select to assign a system variable as the data source parameter value. The value of the system variable is automatically inserted into the parameter when the pagelet appears. When you select this option, the pagelet end user cannot modify the data source parameter.

    For example, suppose that you specify %UserId as the system variable for a parameter name User. When the pagelet appears on a user’s homepage, the User field is populated by the %UserId system variable, which is the user ID used to access the pagelet.

  • User Specified: Select to enable end users to specify a data source parameter value for this field. When a pagelet contains a user-specified parameter, the Customize button appears on the pagelet title bar.

    End users can click this button to access a personalization page, on which they can select a data source parameter value that they want to use for the pagelet. Users can select a value from a prompt, or they can manually enter their own value if no prompt values are available.

    If you change the usage type from or to User Specified for a data source parameter on a published homepage pagelet, you must unpublish and then republish the pagelet.

Required

This check box is selected and disabled for parameters specified as administrator-specified, context-sensitive, fixed, and system variable; otherwise, it is selected but enabled for user-specified parameters.

Default Value

You can enter a value that includes the % and * wildcards at the beginning or end of a value in the Default Value field.

Note the following about default values:

  • If you select User Specified as the usage type and the data source parameter is a required value, you must enter the default value that should appear before a user enters a value. If the data source parameter is not a required value, you do not have to enter a default value.

    If you select a default value when defining prompt values on the Pagelet Wizard - Specify Data Source Parameter Values page, that default value populates this field.

    If you select User Specified as the usage type, you can also enter a system variable as the default value. For example, to make the current date the default value for a user-specified parameter, enter a default value of %Date.

  • If you select System Variable as the usage type, you must enter a system variable to use as the data source parameter value. You can use the Look up Value button to access a list of valid system variables.

    See the product documentation for PeopleTools: Portal Technology, "Using Pagelet Wizard to Create and Manage Pagelets," Step 3: Specifying Pagelet Data Source Parameters, Understanding System Variables Supported as Data Source Parameters.

  • If you select Fixed as the usage type, you must enter the fixed value.

Values

If you select User Specified or Admin Specified as the usage type, click Values to access the Pagelet Wizard - Specify Data Source Parameter Values page.

Text

Use the Personalization Instructions group box to enter custom personalization instructions for the pagelet. These personalization instructions appear on the personalization page of the pagelet.

Note: Personalization instructions must be translatable.

Specifying Prompt Values for Data Source Parameters

This example illustrates the fields and controls on the Pagelet Wizard - Specify Data Source Parameter Values page (discussions data source). You can find definitions for the fields and controls later on this page.

Pagelet Wizard - Specify Data Source Parameter Values page (discussions data source)

Use the Pagelet Wizard - Specify Data Source Parameter Values page to specify the prompt values, which are displayed to users when they personalize the pagelet. In addition, specify the default value for the parameter.

Field or Control

Description

Parameter Value

Specify the parameter value.

Field or Control

Description

Description

Provide an optional description of the parameter value.

Field or Control

Description

Default

Select one value as the default value. If the parameter is required, then a default value is required; otherwise, it is optional.

Step 4: Selecting a Pagelet Display Format

Access the Pagelet Wizard - Select Display Format page (click the Next button on the Pagelet Wizard - Specify Data Source Parameters page).

Use the Pagelet Wizard - Select Display Format page to specify the data transformation method and display format for the pagelet.

See the product documentation for PeopleTools: Portal Technology, “Using Pagelet Wizard to Create and Manage Pagelets,” Step 4: Selecting a Pagelet Display Format.

Step 5: Specifying Pagelet Display Options

Access the Pagelet Wizard - Specify Display Options page (select Custom as the display format and click the Next button on the Pagelet Wizard - Select Display Format page}.

Use the Pagelet Wizard - Specify Display Options page to enter the custom formatting details for the pagelet as well as header and footer options, and to preview the pagelet.

Note: If you are modifying an existing pagelet definition or if you modify data source parameter definitions, you might need to reselect the XSL template, regenerate the XSL, or both to have the modified pagelet display actual data.

See the product documentation for PeopleTools: Portal Technology, “Using Pagelet Wizard to Create and Manage Pagelets,” Step 5: Specifying Pagelet Display Options.

Step 6: Specifying Pagelet Publication Options

Access the Pagelet Wizard - Specify Publishing Options page (click the Next button on the Pagelet Wizard - Specify Display Options page).

Use the Pagelet Wizard - Specify Publishing Options page to specify the type of pagelet that you want to publish. In addition, provide registration, caching, and security details, and register the pagelet.

See the product documentation for PeopleTools: Portal Technology, “Using Pagelet Wizard to Create and Manage Pagelets,” Step 6: Specifying Pagelet Publication Options.

Use the Manage Forum - Publish as Pagelet page (EPPPB_PGLT_LST) to administer pagelet definitions for a discussion forum.

Navigation:

  • Click the Publish button on the Manage Forum - Publish Pagelet Wizard Definition page.

  • If this discussion forum has already been published as a pagelet, click the Publish as Pagelet link on the Manage Forum page.

This example illustrates the fields and controls on the Manage Forum - Publish as Pagelet Page. You can find definitions for the fields and controls later on this page.

Manage Forum - Publish as Pagelet page

Use the Manage Forum - Publish as Pagelet page to review, edit, or add Pagelet Wizard pagelet definitions for this discussion forum. To edit a pagelet definition, it must be marked as published and have a content reference in the current site.

Note: Pagelets for this discussion forum published directly from Pagelet Wizard also appear in this list.

Field or Control

Description

Edit

Displays the Manage Forum - Publish Pagelet Wizard Definition page on which you can make changes to the pagelet definition.

Delete

Deletes this pagelet definition and the published pagelet content references in all sites.

Add Pagelet

Adds a new pagelet definition based on the current discussion forum.

Use the Publish Multiple Pagelets page (PTPP_PMPUBPGLT) to publish multiple pagelet definitions to another portal or site.

Navigation:

  • On the Publish to Multiple Portals page, select Publish Multiple Pagelets.

  • Portal Administration, Pagelets, Publish Pagelets, Publish Multiple Pagelets

  • PeopleTools, Portal, Portal Utilities, Publish Pagelets, Publish Multiple Pagelets

Two pages are available for you to publish pagelets to multiple portals:

  • Use the Publish to Multiple Portals page to publish the pagelet definition to additional portals and sites.

  • Use the Publish Multiple Pagelets page to publish multiple pagelet definitions to another portal or site.

See the product documentation for PeopleTools: Portal Technology, “Working With Navigation Pages,” Publishing Pagelets.