Change content spot rule mapping
Change the default rule mapping to the new binding rule that we created for different customer types who will use the Personalized Offers portlet. Test the portlet for use by all customer types. Verify that the portlet displays the personalized content specified by the business rule for each user profile.
Before beginning this procedure, ensure you have properly created additional advanced rules.
- In the Personalization Navigator, select the content spot Pzn_offersSpot, located in the Workspace Root.
- In the Personalization Editor portlet, click Edit.
- Change the default rule mapping to the new binding rule and click Save.
- Log in to the Portal as Scott, with password pzndemo, a Gold customer.
- Run the enhanced Personalized portlet
- Log out, then log in as Marge, with password pzndemo, a Platinum customer.
- Again, run the portlet. See the differences?
If we run the portlet as wpsadmin, it fails because wpsadmin does not exist in the user resource database, and the programmer who coded the JSP did not code the proper error handling.
Congratulations! You have finished building a Personalized portlet.
The next topic, Personalized list portlet, shows how to use this portlet instead of coding the Rational Application Developer portlet.
Parent: Develop a personalized portletPrevious topic: Create additional advanced rules
Next topic: Personalized List portlet