Personalization element examples

 

+

Search Tips   |   Advanced Search

 

The layout and design of a personalization element is created in a similar way to a menu element, with a header design, footer design, and a design to be repeated for each result.

 

Display personalized IWWCM content.

Create a Personalized menu

  1. Create a content spot or personalization rule in Portal Personalization based on some Web Content Management content.

  2. Create a personalization element in Web Content Management.

    • Click the Search button and select the content spot or personalization rule you created before. Click OK.

    • Create an element design to display the results of the content spot or personalization rule. This is similar to designing a Menu element or Navigator. For example, Enter the following in the "Design for each menu search result" section:

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

  3. Save the personalization element.

  4. Reference the personalization element in a presentation template.

 

Display personalized content

To display a single piece of personalized Web Content Management content for different users:

  1. Create an authoring template that includes an element. For example, a text element 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 Web Content Management Content for each user.

  4. Create a personalization element in Web Content Management.

    • Click the Search button and select the content spot or personalization rule you created before. Click OK.

    • Create an element design to display the results of the content spot or personalization rule. For example, Enter the following in the "Design for each menu search result" section:

          <element type="Content" context="autofill" key="Body"/>
      

      This will display the content of the text element called "Body" from the content item returned by the content spot or personalization rule.

  5. Save the personalization element.

  6. Reference the personalization element in a presentation template.

 

Display 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 element:

  1. Create a content spot or personalization rule in Portal Personalization using Document Manager Content.

  2. Create a personalization element in Web Content Management.

    • Click the Search button and select the content spot or personalization rule you created before. Click OK.

    • Create an element design to display the results of the Content Spot or personalization rule. For example, Enter the following in the "element design" section:

      Header:

          <table>
      

      Design for each menu search result:

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

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

      You may need to convert some content-types to HTML. In this case you would use the following tag:

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

      Footer:

      </table>

  3. Save the personalization element.

  4. Reference the personalization element in a presentation template.

 

Display attributes of Personalized content

The attributes of personalized content can also be displayed using a personalization element:

  1. Create a content spot or personalization rule in Portal Personalization .

  2. Create a personalization element in Web Content Management.

    • Click the Search button and select the content spot or personalization rule you created before. Click OK.

    • Create an element design to display the results of the content spot or personalization rule. For example, Enter the following in the "element design" section:

      Header:

      <table>
      

      Design for each menu search result:

      Use a personalization element tag for each attribute you wish to display.

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

      Footer:

      </table>
      

  3. Save the personalization element.

  4. Reference the personalization element in a presentation template.

 

Attribute names:

Use the following attribute names:

 

Display keywords and categories

To retrieve a list of categories or keywords, use the ProfileCmpnt tag.

 

Display authors and owners

To retrieve a list of authors or owners, use the IDCmpnt tag.

 

Display the Site Path

To display the site path to a personalized Web Content Management element, use a placeholder tag.

 

Parent Topic

Personalization element