Skip to content

Developing a personalized portlet using IBM Rational Application Developer

This section aims to help developers use the Personalization API to fully personalize the experience of DX users with a personalization portlet. It supplements the PZNDemo with an additional JSP portlet that will be developed in IBM Rational Application Developer to show personalized offerings to users based on defined rules and content spots.

  1. Prerequisites for the Personalization portlet exercise
    Learn which prerequistes are needed to develop java portlets with the personalization API.
  2. Installing the PZNDemo resources
    Learn how to install the Portal Personalization sample and configure your database.
  3. Creating a JSR 268-based JSP portlet
    Learn how to create a JSR 268-based JSP portlet using IBM Rational Application Developer.
  4. Creating the Personalization content resource classes and content spot
    Learn how to create personalized content resource classes and content spot using the IBM Rational Application Developer.
  5. Creating the Personalization user resource classes and content spot
    Learn how to create personalized user resource classes and content spot using the IBM Rational Application Developer.
  6. Coding the JSP portlet
    Learn how to code a JSP portlet using the IBM Rational Application Developer.
  7. Exporting and installing the personalized portlet
    Learn how to export a java portlet into a WAR-file and to install it on HCL Digital Experience.
  8. Importing Personalization Workspace resource collections
    Learn how to import personalized workspace resource collections into HCL Digital Experience.
  9. Creating a simple content rule
    Learn how to create a simple content rule in HCL Digital Experience.
  10. Creating a content spot
    Learn how to create a content spot in HCL Digital Experience.
  11. Enhancing the Personalized portlet
    Learn how to enhance the current sample portlet with additional rules.
  12. Inserting the dynamic table HTML/JSP code
    Learn how to create dynamic table content in the JSP code.
  13. Modifying resource collection properties
    Learn how to modify resource collection properties in HCL Digital Experience.
  14. Creating the user profiler rule
    Learn how to create user profile rules in HCL Digital Experience.
  15. Creating additional advanced rules
    Learn how to create advanced rules in HCL Digital Experience.
  16. Changing content spot rule mapping
    Learn how content spot rule mappings work and how to change them.
  17. Using a Personalized List portlet
    Learn how to use the Personalized List portlet to simplify personalization.
  18. Uninstalling the Personalization samples and database
    Learn how to uninstall the Personalization sample and database.

Downloading the sample WAR-file and source-code

Downloading the sample Pzn_Offers rule mappings

Downloading all the rules used in this demo

Additional resources