Personalization Component Examples

 

+
Search Tips   |   Advanced Search

 

Overview

The layout and design of a Personalization Component is created in a similar way to a Menu Component, with a header design, footer design, and a design to be repeated for each result.

A maximum of 100 items can be displayed in a single Personalization Component.

 

Displaying personalized IWWCM content

To display personalized IWWCM content, first configure IWWCM to integrate with Portal Personalization, and then create an IWWCM Content Spot or Personalization Rule.

 

Create a Personalized Menu

To create a Personalized Menu, :

  1. Create a Content Spot or Personalization Rule in Portal Personalization based on some IWWCM Content.

  2. Create a Personalization Component in IWWCM.

    • Click the Search button and select the Content Spot or Personalization Rule you created before. Click OK.

    • Create a Component Design to display the results of the Content Spot or Personalization Rule. This is similar to designing a Menu Component or Navigator. E.g. - Enter the following in the "Component Design for each matching Content" section:

      <placeholder tag="namelink" /> 
      <br>

  3. Save the Personalization Component.

  4. Reference the Personalization Component in a Presentation Template.

 

Displaying Personalized Content

To display a single piece of Personalized IWWCM content for different users, :

  1. Create an Authoring Template that includes a Component. E.g. - a Text Component called "body".

  2. Create a set of Content items based on this Authoring Template.

  3. Create a Content Spot or Personalization Rule in Portal Personalization based on the Authoring Template and Content created above. The Content Spot or Personalization Rule should only return a single piece of IWWCM Content for each user.

  4. Create a Personalization Component in IWWCM.

    • Click the Search button and select the Content Spot or Personalization Rule you created before. Click OK.

    • Create a Component Design to display the results of the Content Spot or Personalization Rule. E.g. - Enter the following in the "Component Design for each matching Content" section:

      <AptrixCmpnt type="Content" context="autofill" key="Body"/>
      This will display the content of the Text Component called "Body" from the Web Content Management content returned by the Content Spot or Personalization Rule.

  5. Save the Personalization Component.

  6. Reference the Personalization Component in a Presentation Template.

 

Displaying personalized Document Manager content

Document Manager content can also be referenced within Content Spots and Personalization Rule. To display personalized Document Manager content in a Personalization Component:

  1. Create a Content Spot or Personalization Rule in Portal Personalization using Document Manager Content.

  2. Create a Personalization Component in IWWCM.

    • Click the Search button and select the Content Spot or Personalization Rule you created before. Click OK.

    • Create a Component Design to display the results of the Content Spot or Personalization Rule. E.g. - Enter the following in the "Component Design" section:

      • Header:

        <table>

      • Component Design for each matching Content:

        To display the content of the Document, use a Document Manager Component tag.

        <tr>
        <td><DocumentManagerCmpnt type="personalization" context="autofill" scope="document" /></td>
        
        </tr>

      • Depending on the content type being returned, you may also need to convert the content to HTML. In this case you would use the following tag:

        <tr>
        <td><DocumentManagerCmpnt type="personalization" context="autofill" scope="document" convertTo="text/html" /></td>
        
        </tr>

      • Footer:

        </table>

    • Save the Personalization Component.

    • Reference the Personalization Component in a Presentation Template.

 

Displaying attributes of Personalized Content

The attributes of personalized content can also be displayed using a Personalization Component:

  1. Create a Content Spot or Personalization Rule in Portal Personalization.

  2. Create a Personalization Component in IWWCM.

    • Click the Search button and select the Content Spot or Personalization Rule you created before. Click OK.

    • Create a Component Design to display the results of the Content Spot or Personalization Rule. E.g. - Enter the following in the "Component Design" section:

      Header:

      <table>

      Component Design for each matching Content:

      use a Personalization Component Tag for each attribute you wish to display.

      <tr>
      <td><personalizationCmpnt attributeName="ibmcm:name" /></td>
      <td><personalizationCmpnt attributeName="ibmcm:date" format="dd/MM/yyyy" /></td>
      <td><personalizationCmpnt attributeName="ibmcm:information" /></td>
      
      </tr>

      Footer:

      </table>

  3. Save the Personalization Component.

  4. Reference the Personalization Component in a Presentation Template.

 

Attribute Names

The following attribute names can be used:

  • ibmcm:title
  • ibmcm:description
  • ibmcm:modifiedDate
  • ibmcm:expirationDate
  • ibmcm:effectiveDate
  • ibmcm:wcmType

 

Displaying Keywords and Categories

To retrieve a list of Categories or Keywords, Use the ProfileCmpnt tag. See the Profile Component Tag topic for further information.

Displaying Authors and Owners

To retrieve a list of Authors or Owners, Use the IDCmpnt tag. See the ID Component Tag topic for further information.

 

Displaying the Site Path

To display the Site Path to a personalized IWWCM component, use a Placeholder tag. See the Placeholder Tag topic for further information.

Parent topic: Personalization Component.


IBM Workplace Web Content Management - V5.1.0.1 -

 

Workplace Web Content Management is a trademark of the IBM Corporation in the United States, other countries, or both.

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.